| Moto 1.0 | Index |
Introduction
The Moto 1.0 Application is useful for learning more about the BrainStem® Moto 1.0 Module. The Moto 1.0 Application is also useful as utility once you understand the module as it can be used to adjust settings, modify PID parameters, view inputs, and affect outputs without having to write code or type packets into the Console Application.
The Acroname website has a Getting Started Guide for the Moto board and Moto application.
Configuration File
The Moto 1.0 Application defaults to settings that work for most people's computer configurations. If needed, you can plant a file in the aBinary directory under the main brainstem distribution to change these settings. This can be done using a simple text editor (TeachText, Notepad, or the Memo Pad). The basic file format is lines of "setting = value". Below are the default settings and setting names for the Moto 1.0 application:
| Setting Name | Description | MacOS default | Win32 default | PalmOS default | Linux default | WinCE default |
|---|---|---|---|---|---|---|
| portname | Serial port name | printer | COM1 | serial | ttyS1 | COM1: |
| baudrate | Serial port data rate | 9600 | 9600 | 9600 | 9600 | 9600 |
| module | Target module | 4 | 4 | 4 | 4 | 4 |
| poll-interval | Time interval (ms) between numeric display updates | 250 | 250 | 250 | 250 | 250 |
| ticks-per-revolution | Encoder count (CPR) value | 16 | 16 | 16 | 16 | 16 |
| a2d-vel-min | Minimum slider value in A2DVEL mode | -350 | -350 | -350 | -350 | -350 |
| a2d-vel-max | Maximum slider value in A2DVEL mode | 350 | 350 | 350 | 350 | 350 |
| enc-vel-min | Minimum slider value in ENCVEL mode | -200 | -200 | -200 | -200 | -200 |
| enc-vel-max | Maximum slider value in ENCVEL mode | 200 | 200 | 200 | 200 | 200 |
This file should be saved into the aBinary folder with the name "moto.config". Capitalization matters for both the file name and the contents of the file.
The module setting may be changed in order to address a Moto board whose address has been changed or to address a Moto board in a network of other Stems.
An example file that changes the port to the modem serial port and the baud rate to 4800 for the MacOS would look like: