LED Blinking
LED Blinking
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.
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
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.)