Instructables

Step 2: Step 2 - Wiring and Mounting Arduino to Platform

Picture of Step 2 - Wiring and Mounting Arduino to Platform
jbotrobot-fig5.jpg
jbotrobot-fig6.jpg
jbotrobot-fig8.jpg
jbotrobot-fig10.jpg
jbotrobot-fig12.jpg

http://www.youtube.com/embed/P4xuYb412G4 This video shows how to wire a battery back.

To mount the Arduino to the platform, I first put the standoffs on the Arduino to see where I could mount it. I decided to mount the Arduino on the bottom plate because it would require less drilling. I drilled one hole on the platfom so I could get all four standoffs connected to the platform.

Pull all the wires out from beneath the platform. There should be five cables, four for the motors and one positive battery cable from the switch and the negative cable from the battery pack.

Next we will build the Adafruit motor control shield to control the motors on the platform. This website walks you through the simple build. http://ladyada.net/make/mshield/solder.html

The kit includes some headers so you can solder them onto the motor control shield to make it easier to connect the different sensors. The headers that are provided are 8-position. You will need to cut in the middle of the seventh pin so it will fit onto the motorshield. If you decide not to use the headers, you can solder jumper wires to the board. In this build we will be using pin A0, one grd (ground), and one +5V pin.

Take both sets of wires from the left side (front left and back left) and test them with an AA battery (not included) to make sure they are wired correctly. Both of the wheels should go the same direction. We are wiring the motors in series. Do the same with the right side.

After making sure that the motors are wired correctly, put the left side to the terminal labeled M1. Put the right side to terminal M2.

You will need to solder the plug and the battery holder together as shown below. This will provide power to the Arduino UNO
 
Remove these adsRemove these ads by Signing Up