Figure 1: The completed Mantis robot.
A Raspberry Pi is at the heart of this robot and is used to take input for external hardware and send control commands to the RoboClaw motor controller. The power hungry Pi is powered from the battery eliminator circuit (BEC) on the RoboClaw, which on the model used is able to supply up to 3 amps at 5 volts. Communication between the Raspberry Pi and the RoboClaw is carried out over USB which is one of many schemes that can be used for control of the motor controller. The robot’s builder wrote a custom library in C++ to send commands to the RoboClaw and used the Boost library’s serial port functionality to communicate over USB.
Several different devices were used to drive the robot around including a bluetooth keyboard and a PS3 controller. The builder also discusses the possibility of using an RC transmitter. In the case of the keyboard and PS3 controller the devices were paired with a USB bluetooth adapter connected to the Raspberry Pi. Once again custom software was written, this time to translate the input from the controllers to something that could be sent to the RoboClaw.
We thank the author of the writeup for using our RoboClaw controller in their off-road robotics project and for taking the time to document it well.