| BrainStem Moto 1.0 - Getting Started |
Last Modified: 2008-01-29
Before You Begin
This getting started guide uses the Moto 1.0 Application to control the Moto and introduce its various modes of use.
To use the Moto application with your BrainStem module, you need the interface cable appropriate for your host computer platform. More information about specific interface cables are available through the Related Products links, left.
To use the Moto application with your BrainStem module, you need the interface cable appropriate for your host computer platform.
The best way to familiarize yourself with the module is to set it up and run it through its paces. To do this, we suggest having the following available as you go through this guide:
Working with the BrainStem Moto 1.0 board.
About the BrainStem Moto 1.0 Module Application
The Moto application is a useful tool for setting and saving motion control parameters as well as controlling the motors directly.
The Moto module operates in many different modes, all of which require some custom settings and configuration depending on your motors and the physical properties of what they are connected to.
Downloading and Installing the Application
Log in to the Acroname Download Center . Select the Moto 1.0 program for your operating system platform, then select download. Depending on your platform, the software archive may automatically decompress. If not, download the software into a temporary location and extract the files. If you have other BrainStem software already in place, put the Moto application and support files in the same location.
Launch the Moto application. The Moto application (moto.exe) is located in the aBinary subdirectory under the main brainstem directory.
If your host computer has more than one serial / USB port, determine which port you are using. If you are not using a default port then you will need to adjust the configuration file "moto.config". Check the BrainStem GP Application starting guide for more detailed instructions on how to do this.
Connecting with the BrainStem Moto Module
These steps vary, depending on the H-Bridge option and type of motor you are using.
Plug your H-Bridge into the Moto module. Refer to the diagram for correct placement of the bridge on the Moto board.
Line up the H-Bridge pins so they all plug into the moto board.
Plug the host side of the interface cable into your host computer. If your host computer has more than one serial port, determine which serial port you are using. To use a serial to USB adapter for MacOS X, you need to create a small config file that tells the application which USB hub you are plugged into. To do this, read over our MacOS USB tips. On the PC, the COM1 port is the default. If you are not using a default port then you need to add a configuration file. See the BrainStem GP Application starting guide for more information.
Plug the stem side of the interface cable into the BrainStem Moto board. Take care to observe the correct orientation when connecting the serial cable to the module. The serial port on the BrainStem is a single row of 4 conductors.
Serial connection to Moto board
Plug in the motor power. This is the input power for the H-Bridge you are using. Refer to the manufacturer's instructions for your specific configuration.
Finally, plug in the motor. Refer to the manufacturer's instructions for the motor you are using.
Close up of connections for example configuration
Running the Moto Application
Launch the Moto application that you downloaded. The user interfaces for each platform are very similar so the descriptions of use below are the same, regardless of platform. When launched, the Moto application starts out with the Channel 0 motion control pane selected. A small status message indicating that the Moto board has not been found may display; this is normal.
Power up the module. Refer to the Moto module description in the BrainStem Reference Guide for power supply requirements and considerations. Take care to get the orientation right when plugging in the power to the module; the voltage regulator has reverse polarity protection, but other devices connected to the module may not and could be damaged.
Several things should occur:
Motion Control Options
The Moto board supports eight modes, seven of which are available for its initial release. Before you begin exploring the different modes, set the mode to Off to clean up any previous condition.
To shut down, first close the Moto Application by clicking the close window box in the title bar of the window. You can then power down the Moto module by unplugging the power to the module and motors.
The Moto 1.0 Application is written in C and uses the aIO and aStem shared libraries for communication with the BrainStem Moto 1.0 module. The source for the application is available as a download from the Acroname site. You can use these libraries as a starting point for your own BrainStem application software.
Check out the Getting Started section for a complete list of resources to guide you through the BrainStem architecture. Click 'Starting' on the BrainStem Resources menu at the top of this page.
To learn more about the BrainStem Moto 1.0 pins and hardware, check out the BrainStem Reference .
| voice: 720-564-0373, email: firstname.lastname@example.org, address: 4822 Sterling Dr., Boulder CO, 80301-2350, privacy |
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.