The robot consists of the following parts:
- BeagleBone
- Magician Chassis
- Serial Controlled Motor Driver
- Logic Level Converter
- 7905 5v regulator, 0.33pf and 0.1pf capacitors
- 6 AA batteries in a battery holder
- breadboard
- lots of wire
The assembly is relatively straightforward, although getting the level converter and serial port working took a bit of research. Thankfully these subjects are thoroughly covered on GigaMegaBlog.
Here is a wiring diagram. (Fritzing didn't have the serial motor controller, but the part I substituted has a similar layout):
You can download my Fritzing file from here if you want to take a closer look.
Once the robot is assembled and wired, we can power it up and begin testing. One important point covered on GigaMegaBlog is that the default software configuration for the serial pins will need to be changed. You can do this by running the following commands as root:
Another important point is that serial port 1 is located at /dev/ttyO1 (that's capital 'O', not zero). For testing, I fired up minicom for the first time in at least 10 years, and configured it to use the correct tty without hardware flow control. Now you can simply enter the motor controller commands listed in here, i.e.
and press enter. You should now have motor one spinning in the forward direction at half throttle... somewhat like this (please pardon the ethernet tether):
Here is a wiring diagram. (Fritzing didn't have the serial motor controller, but the part I substituted has a similar layout):
You can download my Fritzing file from here if you want to take a closer look.
Once the robot is assembled and wired, we can power it up and begin testing. One important point covered on GigaMegaBlog is that the default software configuration for the serial pins will need to be changed. You can do this by running the following commands as root:
echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd echo 0 > /sys/kernel/debug/omap_mux/uart1_txd
Another important point is that serial port 1 is located at /dev/ttyO1 (that's capital 'O', not zero). For testing, I fired up minicom for the first time in at least 10 years, and configured it to use the correct tty without hardware flow control. Now you can simply enter the motor controller commands listed in here, i.e.
1f5
and press enter. You should now have motor one spinning in the forward direction at half throttle... somewhat like this (please pardon the ethernet tether):