LED Chaser Circuit Using Arduino
by Creative creator in Circuits > Arduino
649 Views, 4 Favorites, 0 Comments
LED Chaser Circuit Using Arduino
![LED Chaser Circuit with Different Modes](/proxy/?url=https://content.instructables.com/F3J/QX2A/K8CG204Y/F3JQX2AK8CG204Y.jpg&filename=LED Chaser Circuit with Different Modes)
LED Chaser Circuit using Arduino UNO Atmega328P Microcontroller:
When it Comes to LED Chaser the sole one IC came to our mind is a CD4017 Decade counter. But today during this article we are employing a microcontroller for chasing the LEDs.
The CD4017 has only 10 outputs except for the microcontroller Chaser, we've 12 LEDs for running. And if you recognize a touch bit about Arduino programming then you'll also modify the project with new modes. you'll customize as you would like.
I wanted to form the LED chaser circuit more professional so here is our sponsor JLC PCB. JLC PCB is that the world's No1 PCB manufacturers in China. you'll order 2 layers, 3 layers 6 layers, PCBs from their site. the worth is 2$ for two layers, 10 PCBs. Here we are using the Atmega328p microcontroller.
it's many GPIO pins in between all pins for LED chaser work. On behalf of that, we are using 12 pins for the 12 LEDs. The codes which are utilized in Arduino are basically c+ program.
Advantages of the circuit:
12 LEDs for LED Chaser
FTDI Breakout Point.
The program is often updated and more new modes are often added.
Push-button feature:
You'll change between different modes through pressing the pushbutton. Wide voltage range operations: 9 to 35V power supply.
Disadvantages:
No Reverse polarity protection.
No Under voltage protection.
No Over Voltage protection.
But you would not need these features if you recognize what you're doing.
Supplies
Components Lists From Utsource:
Arduino UNO: https://www.utsource.net/itm/p/8647184.html
FTDI Board: https://www.utsource.net/itm/p/7958953.html
7805 Voltage Regulator: https://www.utsource.net/itm/p/1867804.html
PCB Board: https://www.utsource.net/itm/p/9267612.html
9v Battery: https://www.utsource.net/itm/p/9764845.html
Female Header: https://www.utsource.net/itm/p/8297352.html
Heat Shrink Tube: https://www.utsource.net/itm/p/8407893.html
LED: https://www.utsource.net/itm/p/1886498.html
Push Button: https://www.utsource.net/itm/p/8406560.html
Different Values of Resistor: https://www.utsource.net/itm/p/10209977.html
Screw Terminal Block: https://www.utsource.net/itm/p/612970.html
16MHZ Crystal: https://www.utsource.net/itm/p/8299958.html
22PF, 100nF Capacitor: https://www.utsource.net/itm/p/1872752.html
Tools Needed:
Soldering Iron: https://www.utsource.net/itm/p/8423764.html
Iron Stand: https://www.utsource.net/itm/p/7722853.html
Nose Pliers: https://www.utsource.net/itm/p/7671655.html
![led chaser 1.png](/proxy/?url=https://content.instructables.com/F8W/XQD4/K8CG2031/F8WXQD4K8CG2031.png&filename=led chaser 1.png)
![led chaser 2.png](/proxy/?url=https://content.instructables.com/FGF/CJSP/K8CG2035/FGFCJSPK8CG2035.png&filename=led chaser 2.png)
![led chaser 3.png](/proxy/?url=https://content.instructables.com/FH9/97YK/K8CG203A/FH997YKK8CG203A.png&filename=led chaser 3.png)
Circuit Schematics:
![Screenshot 2020-03-29 at 11.54.36 PM.png](/proxy/?url=https://content.instructables.com/FL6/Q3D1/K8CG2020/FL6Q3D1K8CG2020.png&filename=Screenshot 2020-03-29 at 11.54.36 PM.png)
How to program Atmega328P?
There are 2 methods available for this case Just remove your Arduino IC insert a replacement IC into the IC socket and just program it. this is often the laziest way of updating the method.
Just take an FTDI breakout board and use the board pins to program the Arduino. I have used the first process I removed the IC and inserted a replacement IC for programming the IC. How to make it? First I made the circuit diagram in EasyEDA software. Then I designed the PCB from convert to PCB option. I generated Garber for the PCB.
Opened the JLC PCB website and uploaded the Garber file. And ordered 10 pieces of PCB just for 2$. After 5 days I even have received my PCB. The PCB quality is simply great. For this, I even have to thank the JLC PCB website.
For the components section, I have gone with UTSOURCE. They are one of the largest component suppliers in China. They offer different types of components such as Resistors, Capacitors, ICs and many other things. You will get exclusive discounts If you order from them. So, why you are waiting for? Place your first order from UTSOURCE.
Then I gathered all the components. Used a hand tool for soldering all the components. I am employing a fine bit hand tool for all this project. After a half-hour of soldering the project is finally Cane to an end. I programmed the Arduino atmega338p through Uno Board. Then removed the IC from the socket and connected on the PCB socket. Connected 9V Battery 🔋 within the screw terminal.
The LEDs became started chasing as I even have coded before into the atmega328P. Download Links for LED Chaser Circuit using Arduino: