0% found this document useful (0 votes)
27 views2 pages

LED Blinking

EXPERIMENT FOR LED BLINKING

Uploaded by

ayushkumar32388
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

LED Blinking

EXPERIMENT FOR LED BLINKING

Uploaded by

ayushkumar32388
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DEPARTMENT OF COMPUTER SCIENCE & ENGG.

BHILAI INSTITUTE OF TECHNOLOGY, DURG (C.G.)


DIGITAL ELECTRONICS LAB MANNUAL
EXPERIMENT 10

Aim: To program blinking of 5 LED using Arduino.

Objective: To learn the basic concepts of digital electronics using Arduino.

Component Required:
1. Arduino
2. bread board
3. resistor 220 ohm x 5
4. Led x 5
5. Connecting wire
Procedure:
Step 1. Connect the Arduino to raspberry pi using USB port.
Step 2. Connect key board and mouse to raspberry pi.
Step 3. Connect monitor to raspberry pi using HDMI cable.
Step 4. Connect five resistors using wire in bread board to pin 9,10,11,12 and 13 of Arduino.
Step 5. Connect other end of each resistor with anode (long leg) of each Led in bread board.
Step 6. Connect the cathode of each Led using wire in bread board with GND pin of Arduino.

Circuit Snap shot


Theory
To build this circuit, where you connect one end of the resistor to the digital pin correspondent to the
pin 9. Connect the long leg of the LED (the positive leg, called the anode) to the other end of the
resistor. Connect the short leg of the LED (the negative leg, called the cathode) to the GND.

Similarly for do for pin 10,11,12 and 13.

The value of the resistor in series with the LED is 220 ohms;

Shiv Dutta Mishra, Assistant Professor (C.S.E.). Bhilai Institute of Technology, Durg (C.G.)
DEPARTMENT OF COMPUTER SCIENCE & ENGG.
BHILAI INSTITUTE OF TECHNOLOGY, DURG (C.G.)
DIGITAL ELECTRONICS LAB MANNUAL
EXPERIMENT 10

Write hand written code

Result: As all the 5 LEDs are blinking , hence the code/program written is correct

Precautions:
1. Prepare the circuit before switching on the power supply.
2. Circuit to be checked before switching on the power supply.

Shiv Dutta Mishra, Assistant Professor (C.S.E.). Bhilai Institute of Technology, Durg (C.G.)

You might also like