I thought with this post I would share with everyone how to build a sub A6 robot for the Micro Hi Noon contest, I running at the 4th Raspberry Pi weekend and will be bring along the arena to Makerfaires and Raspberry Pi jams this year . I have based the robot on the very good value robotics kit from The Cambridge Raspberry Pi Jam. The kit is available from The Pi Hut and costs £19 including post and packaging at the time of writing. A6 paper is 105 x 148 mm (10 x 15 cm), a quick way is find the correct size is to fold a piece of A4 paper in half twice. You will need the sheet of paper to check that the footprint of robot fits inside the sheet of paper.
you will need the following to build the robot.
CamJam Ed Kit #3 – Robotics
4 x AA batteries
USB power bank
Afterdark Wireless PS3 Joypad, you can get one from Curry’s web site
Raspberry Pi plus SD card any model.
Raspberry Pi case, look for one with a flat base, I used the official case form the foundation.
- Put the wheels on the motors, the wires must be on the opposite side of the wheels
- Cut the sticky pads to fit and stick to the none lid side of the box
- stick the the motors on the pads
- cut the lolly sticks to length, about 80 mm
- cut one of the sticky pads to the width of the lolly stick, and stick to the bottom of the motor as in the picture above
- stick the second lolly stick to the bottom of the second motor, and last of the sticky pads to the where the two sticks met stick the ball bearing jockey wheel with the pad
- mount the USB power bank above the jockey wheel, I used an elastic band to hold it in position
- install the batteries in the battery compartment and place your Raspberry Pi in it’s case. Fix the case on the battery compartment lid.
- install the motor control broad and wire the battery and motors to the board
- power the Raspberry Pi via the USB power bank
For next steps, you will need to connect you Raspberry Pi to a screen, or access it headless to install the control scrips.
you can down load the code from my github account with the following commands
git clone github.com/Corteil/CamJam-Robotic_kit.git
and to run the code
sudo python EdJoy.py
The code I wrote is based/uses code form Pimoroni.com and PiBrog.org I like to thank them for their hard working in writing the code and making it available.
I hope this helps you in building a robot, it would be great to see it at the Raspberry Pi Birthday Party, a Makerfaire or a Raspberry Pi Jam and have a go at Micro Pi Noon.