Step 2Prototype!
2. connect wires to the breadboard- one wire into the blue rail for ground, and one into the red rail for power. attach the power wire to the 5V input on the Diecimila Arduino and the ground wire to the Gnd input on the Diecimila Arduino.
2. connect a 10Kohm resistor from the ground rail to the center of your breadboard on the same line. then connect a wire in the hole next to it to the analog pin 0 on your Arduino.
3. connect a wire from the power rail to the center of the breadboard.
4. solder the photoresistor's leads to longer wires to connect to the breadboard (about 4-5 inches).
5. connect the photoresistor to ground in the breadboard by putting one wire next to the wire going to analog pin 0. then connect the other wire to power by putting it in the hole next to the power wire you connected in step 3.
5. connect a wire from the breadboard to digital pin 9 on the Arduino.
6. then connect a 1N4004 diode in the hole next to it, and put it so that the ground side (the side with the grey stripe) is facing away from that wire.
7. solder your vibrating motor's leads to longer wires for prototyping.
8. connect one of the vibrating motor's wires to the hole next to the diode. connect the other vibrating motor lead to the ground rail.
9. attach Arduino to computer via USB cable to power it.
10. write the code in the following slide into the Arduino 0012 programming environment.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|






























































