How to blink a LED light 2

In my last post, I showed you about how to blink a LED light on Arduino but in this tutorial, I am going to show you the another simple way of blinking a LED light for Arduino.

◯What you need

  1. An Arduino Uno

S__34267138

2. A USB cable (Type A to B)

S__34267145

3. A Breadboard

S__34267139

4. A LED (5mm)

S__34267140

5. A Resistor (220ohm)

S__34267141

6. Two Jumper Wires

S__34267142

◯What you code

I code same as my previous tutorial.

If you want to know the meaning of each line of the code, please check my previous tutorial out.

◯What you set up for the circuit

  1. You connect PIN 13 from Arduino to the longer leg of LED light (+) on the breadboard by using a wire.
  2. You connect the either side of the resistor on the breadboard to the shorter leg of LED light ( − ).  In addition, the another side of the resistor should be inserted in minus sign (ground column) on the breadboard.
  3. You connect the GND from the Arduino to the ground column by using a wire.

◯The Circuit Schematic

This is the circuit schematic of our project. Like you see, the LED light is being connected to PIN 13. Also, the GND on the Arduino and the resistor is being connected each other through the breadboard.

01 Blinky_schem

◯The Result

By going through these things, you may be able to see the result like these pictures.

・When the LED light is turning off in 1000 milliseconds.

S__34267143

・When the LED light is turning on in 1000 milliseconds.

S__34267144

Well done! My programming and setting up could be working well! Could your LED light blink well?

Please let me know if you have any question about my simple tutorial!

Related Post

Leave a Reply

Your email address will not be published.

CAPTCHA