Introduction: LED Blinking Using Arduino

Hardware Required:

1) Arduino Uno


3)4.7k Resistor

4) Connecting wires

5) Bread Board

Please connect the led to arduino as shown above .

Arduino 3rd pin is connect to +ve pin of LED and -ve end of LED is connect to ground through 4.7k.

Step 1: Program for LED Blinking

void setup() {

// initialize digital pin 03 as an output. //

pinMode(3, OUTPUT);


// the loop function runs over and over again forever

void loop()


digitalWrite(3, HIGH); // turn the LED on (HIGH is the voltage level)

delay(1000); // wait for a second

digitalWrite(3, LOW); // turn the LED off by making the voltage LOW

delay(1000); // wait for a second


Copy and paste the below code in Arduino ide and upload to Arduino UNO.