Blink LED using Arduino


Hi guys….

Today we see how to make the led to blink with MCU (Arduino UNO)

Here I explain how to blink the led with MCU. In this project I’m using Arduino to produce the clock signal. 

This is very easy and basic method to blink the LED


Components required

1. Arduino UNO

2. USB cable to connect Arduino to Laptop

3. Laptop with Arduino IDE


Note : Before you have to start this project, You have to install the Arduino IDE in your laptop/PC. If you didn't install the Arduino IDE in your laptop means, Kindly refer here.


Connect the circuit as shown in below figure



Open the arduino IDE software in laptop/PC

Coding....

void setup() {

    pinMode(LED_BUILTIN, OUTPUT);

}

void loop() {

    digitalWrite(LED_BUILTIN, HIGH);

    delay(1000);

    digitalWrite(LED_BUILTIN, LOW);

    delay(1000);

}


Select the COM port and Device, Then upload the Code


Now you can see the your led is blinking...