Introduction: Analog Digital Output - LED Blinking

This tutorial explains how to take digital output from Arduino.
One of the basic tutorials for Arduino. The output is taken on a LED that blinks for an interval of 1 second.

Step 1: Introduction:

A step by step illustrated very basic tutorial for Arduino. Here we are
taking digital output on a LED. This LED remains ON for one second and OFF for another, this loop runs for an infinite time.

LED Pins:

LED has two pin interface. Both of these pins are to be given input
supply to the LED. Long legs is for positive supply the smaller one is for negative supply. following image depicts it clearly.

Digital means either 0/1, in other words HIGH/LOW or ON/OFF. So in the
form of digital output we shall get either +5V or 0V on digital pin of Arduino. How does it happen that is illustrated ahead.

Step 2: Hardware Requirements:

1 Arduino UNO 1

2 Breadboard 1

3 LED 1

4 Resistor 1k 1

5 Jumper 4

Users can buy the Arduino Starter Kit online from Robo India Shop: https://roboindia.com/store/arduino-starter-kit-low-cost

Step 3: Building Diagrams:

Here is the schematic diagram:

Step 4: Circuit Layout:

Step 5: Programming

Once we are done with circuit part, here is our programme to this circuit. You can download the sketch from here.

Step 6: Output

After uploading the code successfully, LED will start blinking with an interval of one second.

Step 7: Troubleshooting:

LED is not glowing: Try changing polarity of LED.

Code uploading Error: The code will only be uploaded if there is no error in the code. try removing error, if any.