Views
Many of us have seen the famous David Hasselhoff's TV series of the 80's decade Where he was seen driving an artificial intelligent car. There was a LED bar in the front of the car performing flashy lighting effects.
1. Arduino Uno R3
2. 220Ω Resistor
3. Red Led
OR,
10-Segment Led Bar (You can also use this)
4. Mini Breadboard with jumper wire
Get The Code
(Don't Compare this screenshot code with this Given code. I gave it to understand the process how to upload the code)
Many of us have seen the famous David Hasselhoff's TV series of the 80's decade Where he was seen driving an artificial intelligent car. There was a LED bar in the front of the car performing flashy lighting effects.
In this post i will show you how to create knight rider LEDs flash effect manually using Arduino
Parts List:
1. Arduino Uno R3
2. 220Ω Resistor
3. Red Led
OR,
10-Segment Led Bar (You can also use this)
4. Mini Breadboard with jumper wire
Circuit Diagram:
Connection Procedure:
At first place the LEDs on the breadboard. now connect LEDs to arduino pin no (1-6) using 220 Ω resistors. Resistor must be connect on the positive (anode) side of led.Arduino Code:
Open this code with Arduino ide Software. Upload it to Arduino.Get The Code
(Don't Compare this screenshot code with this Given code. I gave it to understand the process how to upload the code)