Part3
Wiring the Power
-
1Flip the robot on its side so that you can see the batteries in the pack. Orient it so that the battery pack cable is coming out to the left at the bottom.
-
2Connect a red wire to the second spring from the left on the bottom. Make absolutely sure that the battery pack is oriented correctly.
-
3Connect a black wire to the last spring on the bottom-right. These two cables will help provide the correct voltage to the Arduino.
-
4Connect the red and black wires to the far-right red and blue pins on back of the breadboard. The black cable should be plugged into the blue rail pin at pin 30. The red cable should be plugged into the red rail pin at pin 30.
-
5Connect a black wire from the GND pin on the Arduino to the back blue rail.Connect it at pin 28 on the blue rail.
-
6Connect a black wire from the back blue rail to the front blue rail at pin 29 for each. Do not connect the red rails, as you will likely damage the Arduino.
-
7Connect a red wire from the front red rail at pin 30 to the 5V pin on the Arduino.This will provide the power to the Arduino.
-
8Insert the push button switch in the gap between rows on pins 24-26. This switch will allow you to turn off the robot without having to unplug the power.
-
9Connect a red wire from H24 to the red rail in the next available pin to the right of the sensor. This will power the button.
-
10Use the resistor to connect H26 to the blue rail. Connect it to the pin directly next to the black wire that you connected a few steps ago.
-
11Connect a white wire from G26 to pin 2 on the Arduino. This will allow the Arduino to register the push button.
No comments:
Post a Comment