Bill of Materials:
- Arduino UNO board
- USB Cable
- 3 LED’s (2 red, 1 green)
- 4 Resistors (3 220 ohm resistor and 1 10 kilohm resistor)
- 7 Jumper Wires ( 1 black, 1 red, 3 yellow, 1 orange, 1 green)
- Computer w/ Arduino program
First, I connected all the LED’s with the shorter side of the pins connected to 6E, 10E, and 14E respectfully, Those points are the the ground connections. The long end of the LED is connected to 7E, 11E, and 15E.
Then I connected the button to points 22E, 24E, 24E, and 24F.
Next I connected the red and black jumper wires, i connected the red wire to 5v part of the arduino board and to the + part of the breadboard. Then the black wire to the GRD part of the arduino and the – part of the bread board.
Then I put all the resistors in the breadboard, one side of the resistor had to be on the (-) side of the bread board, and the other side lined up with the longer side of the LED.
Then I put the yellow and green jumper wires into the breadboard and the arduino, one side had to be connected to pins 5, 4, and 3 (yellow wires) respectfully while the other side had to be connected to the (a) column of the breadboard just above the resistor. the green resistor had to be connected to pin 2 and the other side right next to the resistor at point 24C.
Then I uploaded the code to the arduino board. I typed the code exactly how the book had it (lol, i didn’t)………..I looked for the project code in the example part of the arduino application, when I found it I uploaded it to the board and then the green LED lit up.
Then when you press the button you get this…..