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


2. A USB cable (Type A to B)


3. A Breadboard


4. A LED (5mm)


5. A Resistor (220ohm)


6. Two Jumper Wires


◯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.


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


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!

How to blink a LED light on Arduino

I started leaning Arduino these days and I am totally into it! The hardware stuffs have so much fun! I want to share what I learned a little bit about Arduino which is about how to blink a LED light on Arduino. So here is the easiest project that you can do.

◯What you need

  1. Arduino Uno


    2. USB cable (Type A to B)


◯What you code

In my tutorial, I will try to blink for each two second.

◯Explanation of each line of code

・#define LED_PIN 13

// This is able to define LED_PIN 13 as a constant value. (By you just change the code you define when you want to change, you can replace all the programming you code. Which means you do not have to change every single line of code.)

・void setup() {

 pinMode (LED_PIN, OUTPUT);


// It initializes the digital pin which is 13 from #define LED_PIN 13.

・void loop()

// The loop function is the function that runs repeatedly.

・digitalWrite (LED_PIN, HIGH);

// This turns on the LED light.

・delay (2000);

// Milliseconds. In this case, 2000 means 2 seconds.

・digitalWrite (LED_PIN, LOW);

// This turns off the LED light.