LED Blinking using Arduino Code with Connection Diagram

LED Blink

Objective:

         To activate the in-built LED available in the Arduino Uno Board

Components Required

  • Arduino Uno
  • LED
  • Resistance (100 Ohm)

Connection Diagram

Procedure

  • Give the Connection as per the Connection Diagram
  • Connect the Arduino with the PC / Laptop
  • Go to the “Tools” and click “Port” tab and Click the COM port for Enable the “Tick” mark
  • Upload the Program corresponds to the Lesson / Project

Program

int LEDpin=2;

void setup()

{

pinMode(LEDpin, OUTPUT);

}

void loop()

{

digitalWrite(LEDpin, HIGH);

delay(1000);

digitalWrite(LEDpin, LOW);

delay(1000);

}

Working

         The Program Activates the LED to ON by supplying HIGH voltage to it and making it OFF by supplying LOW voltage to it. This process repeatedly happens to make the LED blink continuously

Output

The LED near Pin 13 starts Blinking continuously

Applications of LED

Traffic Light

LED Displays

LED Televisions

Exercise

Increasing / Decreasing the Blink Period

Repeat the same using Different Digital Pins

Repeat the same using Different Resistance Values

Buzzer Siren using Arduino Uno Program with Connection Diagram

Leave a Reply

Your email address will not be published. Required fields are marked *

Navigation

My Cart

Close
Viewed

Recently Viewed

Close

Great to see you here !

Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy.

Already got an account?

Quickview

Close

Categories