Introduction: LED Sequential Light With 7 Different Cool Effects!
This project includes 7 different effects of sequential lights which will be covered later. It is inspired by one of the creators I saw on Youtube a few days ago, and I find it really cool so I would like to share this with you guys and make a full step by step tutorial. It is extremely simple and can be done within an hour. I would say this is a really fun and easy project for beginners, and you can definitely impress some of your friends by showing them this. As long as you follow along the step, it should be fairly simple to recreate it, or even improve it.
Step 1: The Full Circuit+Materials+The Code
If you are familiar with Arduino and don't need a step by step tutorial, this is the full circuit which you will only need.
Here are the materials:
1 × Arduino board (I will be using Leonardo in the demonstration. )
1 × Breadboard
12 × 5mm Led (I would suggest to have all the same color or make a pattern with different colors)
12 × Resistor (220Ω)
12 × Jumper wires (M)
Here is the code:
Step 2: LED Lights
Put the led lights as the photo above shown. Connect the negative side (the short one) to the positive line and the connect positive side (the long one) one row above where you connect the negative side of the LED. Try to make the gaps between led lights equal. I'm doing my best here. I would suggest connecting the leftmost led light to row number 55 and the rightmost to row number 11 so that all the gaps between led lights would be 3 holes. You can copy what I did in my own circuit. Also, you probably want to use all the same colors of LED lights (I'm using all yellow) to create the effect. Or you can use different colors to create patterns.
Step 3: Connecting the Resistors
As shown above, all you have to do with the resistors is to connect the from the end of LED lights to another side of the breadboard for later wiring. There shouldn't be a big problem here.
Step 4: Connect Wires to Each of the LED Lights
If you are taking my suggestion of connecting the leftmost LED light to row number 55 and connecting the rightmost LED light to row number 11, good for you, you can copy the circuit that I built on my breadboard and connect each wite by the following:
D13 to row number 55
D12 to row number 51
D11 to row number 47
D10 to row number 43
D9 to row number 39
D8 to row number 35
D7 to row number 31
D6 to row number 27
D5 to row number 23
D4 to row number 19
D3 to row number 15
D2 to row number 11
Now you should be seeing you have a very organized circuit, unlike the circuit for the demonstration which all the wires are intersecting each other.
Step 5: Connect GND to the The Positive Row LED Lights
I'm connecting GND to the rightmost hole of the positive row to clear our more space for the LED lights. And that is it for the circuit, now we will hop into the coding part.
Step 6: The Code
Here is the full code of this project. I have added description for almost every part which is confusing as well as separating each of the effects. This will make improving on this project easier for you guys.
Step 7: Done!
You are now done with the project, have fun with it. You could also add decoration to it to make it look pretty. I did a really sloppy job by just cutting an old shoebox in a line for lights to be visible and cover it with a paper. I believe you guys can do better than me.
Step 8: Improvement Suggestions
There is always something to be improved in an Arduino project. Maybe you guys can improve it for me while you recreating this project. Here are some of my ideas:
- Add more effects
- Create patterns with different colors of lights
- Add more led lights
- Do a better decoration (Put it on your bike, car, restroom, or anything you can think of)
- Connect wires to led light to pull them out so you don't see the breadboard