loading

Today, we will be illustrating how to make a single LED blink using an Arduino Uno board. By following each step, you will accomplish this goal.

You will need the following:

  • An Arduino Board
  • Bread board
  • Usb connector cable
  • A LED
  • 3 Jumper Wires
  • Arduino Software (needed to program the board)

Step 1: Step 1: Grounding Wires

Connect GND wire to the negative side (-) of the breadboard.

Step 2: Step 2: Finishing Wiring

Connect your second wire to digital pin 13 to one of the rows on the breadboard. Use the image shown above to assist you when completing this step.

Step 3: Step 3: Connecting the LED

Connect the longer leg of the LED directly in front of the wire that is connected to digital pin 13. Next, you connect the shorter leg directly beside the longer leg.

Step 4: Step 4: Completing Wiring Schematic

Connect your last available wire to the breadboard directly behind the shorter leg of the LED. Use the image above as a reference.

Step 5: Step 5: Programming the Arduino

Start up the Arduino software and upload the following sketch:

// the setup function runs once when you press reset or power the board
void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); }

// the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

Your Arduino should blink like the image above.

<p>So simple! Thanks for sharing!</p>
<p>your welcome :) Glad to be able to help </p>

About This Instructable

1,918views

31favorites

License:

More by IdralienW:How to Make a Single LED Blink Using an Arduino Uno Board 
Add instructable to: