Arduino Tutorials – Lesson 1 – Single LED Blink Using Arduino UNO

Creating single LED blink program using Arduino UNO

Required Components

  1. Led – 1 no
  2. Resister 220Ω – 1 no
  3. Arduino UNO board – 1 no
  4. Connecting wires – 1 no

Circuit

Steps

  1. Make sure the components are working properly.
  2. Connect 220 Ω Resistor to the LED Anode (+) pin and cathode (-) pin to Gnd.
  3. Connect Arduino pin13 to the 220 Ω Resistor .
  4. Check the Arduino program.
  5. Check the circuit connections.
  6. Run the Arduino program.

Arduino Program

int led1 = 13;

void setup ( )
{
  pinMode (led1, OUTPUT);
}

void loop ( )
{
  digitalWrite (led1, HIGH);
  delay (3000);
  digitalWrite (led1, LOW);
  delay (1000);
}

Usage

  1. TV backlighting.
  2. Smartphone lights.
  3. Automotive lights.
  4. LED Display.

Leave a Reply

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