Ardunio UNO- Blinking an LED
by Aya Pfeufer in Circuits > Arduino
315 Views, 0 Favorites, 0 Comments
Ardunio UNO- Blinking an LED
For this project you'll need the following electronic supplies:
-An Ardunio UNO board.
-Two male jumper wires.
-A 9V battery and a battery holder with a barrel jack connector.
-One LED, (or three).
-One resistor.
-The Ardunio Software and the cable.
The Code
Upload this code to your Ardunio UNO board.
https://github.com/hoilett/Arduino-Blink-YouTube-Tutorial/blob/master/Arduino_Blink.ino
Build the Circuit As Show in the Image
Insert the pin of the male jumper wire into pin 13 and connect the other side into hole a11 of the breadboard. Afterwards, take the other male jumper wire and insert it into power GND, and insert the other end into hole a16. Connect the LED's in series with the resistor, to control the current flow and prevent excess current which could break the circuit.
Final Step
Insert the barrel jack into the Ardunio, as the power source for the circuit.