Dancing lights || LED chaser circuit with 32 cool effects || Arduino Project
Hey friends,
Today I am going to show you how to make an LED chaser circuit. This circuit creates a dancing light effect by making 14 Nos. of LED bulbs glow in different patterns. There is a total of 32 cool patterns programmed in this code. This circuit is done using Arduino UNO board.
Components used & purchase links:
1. Arduino Uno Board : amzn.to/3RPzXw8
2. 9V battery with connector : amzn.to/3L8Opfe
3. Rocker Switch : amzn.to/4eOuCiO
4. Red, Green & Blue LED Lights: amzn.to/3RPv7iA
5. 220 ohm resistor
6. Male to male jumper wires : amzn.to/3xG4FB0
Link to download Arduino code:
drive.google.c...
OR
www.mediafire....
You can download the circuit diagram from the following link..
drive.google.c...
Please do watch the video .Thank you...
Please share the video if you like it.
❤❤❤~~PLEASE SUBSCRIBE TO THE CHANNEL TO SEE MORE SUCH INTERESTING VIDEOS & MAKE LEARING SCIENCE FUN~~❤❤❤
#arduino #ledchaser #dancinglights #diy #scienceproject #diyforkids #electronics #arduinoproject #projectforkids
Пікірлер: 141
Hi , i made this for my school project . My family and friends loved it so much. Tysm for making this video❤❤❤
@Science_4U_
6 күн бұрын
@@humaira3125 I am so glad to hear that dear friend. Wishing you all the very best🙂❤️🥰
This is good project for me Iam a student i won 1st prize for this project
@Science_4U_
2 ай бұрын
Wow!! That is great friend. I am very very glad that this project got first prize. Thank you dear friend..🙂🥰❤️
@VidyaSagar_VSIASsagar
2 ай бұрын
Your welcome sir❤😊😊
I used arduino uno r3 board. While uploading the code it is showing error. And is it necessary to join a wire to ground on both the sides of the arduino uno. My battery connection is directly with the circular port on the board. Is it fine or there has to be a wire connected to gnd on both sides of arduino uno
@Science_4U_
8 күн бұрын
Hi friend. There is no need to join ground on both sides of the arduino board. They are internally connected.
@humaira3125
8 күн бұрын
@@Science_4U_ tysm❤
❤❤❤Love for this project ❤
@Science_4U_
2 ай бұрын
Thank you so much dear friend..❤️🥰
@nargissultana5366
2 ай бұрын
@@Science_4U_ We are waiting for watching new updates from you Hope soon you will update.
@Science_4U_
2 ай бұрын
@nargissultana5366 Yes..sure friend. I will try to regularly update channel with new interesting videos..🥰❤️🙂
This is INSANE. WOOW
@Science_4U_
Жыл бұрын
Thank you friend..🙂🥰
Good video! Just wondering how you were able to add only one resistor in the circuit instead of having one resistor per LED?
@Science_4U_
23 күн бұрын
@Jenkinsoup Hi friend. Thank you!!!. Having a single resistor for all LED bulbs is the proper way to do. That ensures same current through all LED bulbs irrespective of the number of LED bulbs lit up together at an instant, and so same brightness. But, the way I did is an easier way to do. But the drawback is that the total current remain same in the circuit. So if more number of led bulbs lit up together, the current passing throufh individual LEDs will be lower and hence their individual brightness will be lower. This is the difference.
@Jenkinsoup
23 күн бұрын
@@Science_4U_ Thank you! I just bought some starting Arduino components and excited to try out your code!
@Science_4U_
23 күн бұрын
@Jenkinsoup Okay friend. Sure!!!. Whish you an interesting experience trying out these projects..
Can you please adjust the code and add a switch to start the whole process when it is pressed and a buzzer for a Christmas song to sing alongside the LEDs please :)
i dont have the little conecture what i do
@Science_4U_
2 ай бұрын
Hi friend, which connector are you talking about?. Is it the breadboard where are the LED bulbs are inserted?
Can i have the circuit diagram for School purposes only??
@Science_4U_
3 ай бұрын
Yes friend. Sure..I will have to make it. I will make and give..🙂
@GinoongJam
3 ай бұрын
Thankyou
@Science_4U_
3 ай бұрын
Hi friend. I have made the circuit diagram and uploaded in google drive. You can download the circuit diagram from the following link.. drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
Sir my LED are working but it is very very low voltage didn't see at cleared in the code need to give little more voltage what can i do
@Science_4U_
2 ай бұрын
I think you used a higher value of resistor. You have to use 220 ohm resistor only. Otherwise you can remove the resistor also and work for short amount of time. This gives maximum brightness, but can damage the LED bulb if used for a long time.
@HaroonSidheeqpp
2 ай бұрын
Ok sir
Super😊👌👌
@Science_4U_
Жыл бұрын
Thank you.🥰☺️
Where the battery negative is connected?
@Science_4U_
3 ай бұрын
Hi friend. We are powering all the LED bulbs from the Arduino Uno. Hence, only the arduino needs to be powered by battery. The +ve terminal of battery is connected to Vin pin of Arduino and -ve terminal of battery is connected to GND pin of Arduino, which is next to the Vin pin.
cool.thank you
@Science_4U_
Ай бұрын
Okay friend. Glad that you liked the video...🥰🥰😔❤️
Thank you
@Science_4U_
2 ай бұрын
You are most welcome friend..❤️🙂
Is it necessary to add the 220 ohm resistor?
@Science_4U_
14 күн бұрын
220 ohm resistor is connected to limit the current through the LED bulbs so thst it will not burn out. However, Without 220 ohm resistor also it will work since many LED bulbs are simultaneously lighting up. This limits the current through the LED bulbs. Also the bulbs are just flashing. So bulb will not get enough time to burn out. So directly connecting without 220 ohm resistor also will work. But it is not a recommended practice..
@humaira3125
9 күн бұрын
@@Science_4U_ Thank you so much💜
Can you do it with the speed button and pattern change button manually?
If i use only 10 led it will work or not need any changes in code please reply sir🙏
@Science_4U_
2 ай бұрын
No need to change the code friend. It will definitely work..👍
Which cable did you used for connecting the arduino to your laptop?!
@Science_4U_
3 ай бұрын
Hi friend. It is called a USB A B cable..or USB A to USB B cable
@Science_4U_
3 ай бұрын
USB 2.0 Cable - A-Male to B-Male for Personal Computer, Printer - 16 Feet amzn.in/d/0pW14LR
@AasthaShah18
3 ай бұрын
Okay, thankyou so much !
Is i use this program on my Arduino nano?pls reply.
@Science_4U_
11 ай бұрын
Yes friend. Surely it will work..👍
Is it possible to select just one pattern, so every time the circuit is switched on, it only produces that pattern?
@Sujal_davda
Ай бұрын
maybe you can use break function
@Science_4U_
Ай бұрын
@Sujal_davda yes..that is correct friend. You can use a break function inside each for loop..use a push button switch and if the output of switch is high, it should break and exit to the next loop for next pattern.
can someone please copy the code and paste it here because i cant open both linkss by the wayyy this is niceee
@Science_4U_
Ай бұрын
Hi friend. I am glad that you liked the video!!! I am not sure why you are not able to open both the links. It is a lengthy code. I tried pasting it here. But only a portion of the code is getting pasted here due to character limitation. Can you give your email id? . I will send the code directly.
Se puede hacer con cualquier tipo de LEDs? Soy estudiante
@Science_4U_
11 ай бұрын
Si amigo, claro. Se puede utilizar cualquier tipo de LED y funcionará. Pero no se puede utilizar un LED grande que consuma más de 40 miliamperios porque arduino sólo puede proporcionar esa cantidad de corriente.
Do I need to do any changes in code if I replace blue leds with white ? If yes please explain the changes in detail
@Science_4U_
9 ай бұрын
Hi friend..There is absolutely no change required in the code. You can use it as such..
@user-jj4bj5xp7z
9 ай бұрын
Thank you 🙂
How long the life of bulb or how many hours the life of bulb?
@Science_4U_
3 ай бұрын
The bulb will last for many hours friend. I have not tested. I think it will definitely last for more than 1000 hours. You have to use the resistor correctly to limit the current through the led bul. Without resistor, the life of led bulb will come down due to overcurrent through the led bulb.
You do a video that how to make a obstacle avoiding robot i try to make it my father spend lot of money for it but myrobot didn't work i become very sad my father also that money was waste what can i do. Please please help me sir 🙏🙏😭😔😪😪
@Science_4U_
2 ай бұрын
Hi friend. Dont worry at all. I will help you to make it work. If the sensor is faulty, I cannot solve it. If it is not working due to some other reason, I can help you to make it work. What is the problem?
Insane 🔥
@Science_4U_
10 ай бұрын
Thanks a lot dear friend...💓🙂
no se necesitan resistencias?
@Science_4U_
8 ай бұрын
Hola amigo. He conectado una única resistencia común de 220 ohmios a todos los terminales negativos de la bombilla LED. En realidad, es mejor tener una resistencia separada de 220 ohmios conectada al terminal positivo de todas las bombillas LED. Pero también funcionará una resistencia común conectada a todos los terminales negativos de las bombillas LED, como he hecho yo en este vídeo.
What are the things used in this
@Science_4U_
6 ай бұрын
Hi friend. the following is the list of things used in this project. Components used: 1. Arduino Uno Board 2. 9V battery 3. Rocker Switch 4. Red, Green & Blue LED Lights 5. 220 ohm resistor 6. Male to male jumper wires
You need a separate 220 ohm resistor for every led. This is poor circuit design and can damage your Uno
@Science_4U_
Жыл бұрын
Yes..you are absolutely correct. I have done this for simplicity only.
@Science_4U_
Жыл бұрын
If we have a separate 220 ohm resistor, equal current will flow through each LED irrespective of the number of LEDs lit up during each cycle, leading to uniform brightness accross all bulbs..
@Science_4U_
Жыл бұрын
In my circuit, the total current will be same in each cycle as it is a commom resistor for all LEDs and hence if two LEDs light up together, the current through each LED will be half and hence the brightness keeps on varying depending on the number of LED bulbs lit up simultaneously..
@Science_4U_
Жыл бұрын
This is the difference I can see. But I can't figure out why it can damage the UNO board. Is it because the current through each digital pin dynamically varies during each cycle depending on the number of LEDs lit up together? Can you please explain?
@Abyssalism
11 ай бұрын
I think no damage , each pin can support arround 40mA current, near the limit when only one is connected. You used 9V external battery so current is (9/220) A. 41mA without leakage account.
what library should i use in this?
@Science_4U_
9 ай бұрын
Hi friend..There is no need to install any library for this code to work.
How use speed control (preset) ?
@Science_4U_
10 ай бұрын
Hi friend. You can control the speed of the lights blinking ON and OFF by modifying the code. In the code you can see that under each pattern there is a constant called "int t=80". This constant 't' gives the milliseconds time delay between bulb switching ON and OFF. You can increase or decrease this value for changing the speed 🙂
all void loop was error
@Science_4U_
8 ай бұрын
There is no error in the code friend. You can try compiling code in a different PC..
Can i pls get the circuit diagram
@Science_4U_
3 ай бұрын
Hi friend. I have made the circuit diagram and uploaded in google drive. You can download the circuit diagram from the following link.. drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
mine dint work iam trying again
@Science_4U_
10 ай бұрын
Ooh..it should have worked friend. It is a very simple project only. Was the code uploaded properly without any error?
@Science_4U_
10 ай бұрын
Also check polarity of the LED bulb. The longer leg should be connected to +ve numbered pin from arduino.
Coding error avese
@Science_4U_
15 күн бұрын
This ia a tested and working code only..
hey can i put the led + to anything of digital inputs?
@Science_4U_
10 ай бұрын
Hi friend. Sure..you can put the LED + to any of the digital inputs. There are a total of 14 digital input pins ( number 0 to 13 ) which serve as digital output pins also. You can connect led + to any of these pins. Only thing to note is that pin no. 13 has a built in resistor, so you can connect any led to this pin directly without any resistor in series. But for all other pins 0 to 12, you NEED to connect around 220 ohm resistor to the led in series, otherwise the led bulb will get burnt out due to over current..
@Stagmike
10 ай бұрын
@@Science_4U_Okey I asked because I have a funduino mega with a lot of dig. Ins
How to get schematic diagram of this
@Science_4U_
8 ай бұрын
Hi friend. I will have to make the schematic diagram..I will make and give. Meanwhile you can try making this by watching the video. I am showing step by step in the video..
@ashlygalang274
5 ай бұрын
up for schematic diagram
Where is the link
@Science_4U_
2 ай бұрын
Link to download Arduino code: drive.google.com/file/d/1vWGvjQk_IybSjnmG_Pz_0kc6FJelecik/view?usp=share_link OR www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file
@Science_4U_
2 ай бұрын
You can download the circuit diagram from the following link.. drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
dancing is far behind the fact that our lights with this circuit is not working
@Science_4U_
6 ай бұрын
Hi friend. What is the problem that you are facing. All these are tested and working projects. There could be some problem in the connection or uploading the code..
can i use more led in this?
@Science_4U_
5 ай бұрын
Hi friend. It is difficult to use more number of LEDs since I have already used all the pins in the arduin uno by connecting LED bulbs. However, if you want to use more number of LEDs, you can use arduino mega, which has more number of pins than arduino uno..
@TempleGuitars
5 ай бұрын
Is the process of using the Arduino mega the same as this? @@Science_4U_
@samiqra1538
5 ай бұрын
@@Science_4U_ can i use shift register for more led's as same coding or need modification. Let me know what kind of modification
@ashlygalang274
5 ай бұрын
Will it work if I just connect the LEDs in series? @@Science_4U_
@Science_4U_
5 ай бұрын
Yes friend. Arduino mega has more number of output pins.So you can connect more number of LED to it..
please send me it's project code
@Science_4U_
3 ай бұрын
Hi friend. The code can be downloaded from the following links. drive.google.com/file/d/1vWGvjQk_IybSjnmG_Pz_0kc6FJelecik/view?usp=share_link OR www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file
code please i cannot download
@Science_4U_
11 ай бұрын
Can you try downloading the code from the following link? www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file
hiii sir can you send this codee...
@Science_4U_
8 ай бұрын
Hi dear friend..The code can be downloaded from the google drive link given in the description box below the video. .
Code pls
@Science_4U_
Жыл бұрын
Hi friend, the google drive link to download the code is given in the description. I will post the link here also. drive.google.com/file/d/1vWGvjQk_IybSjnmG_Pz_0kc6FJelecik/view?usp=share_link
The code is incomplete. there are only 15 patters in the code that is available to download. Please put up the entire code.
@Science_4U_
Жыл бұрын
Hi friend. What you told is correct. In the code only 16 numbered patters are there. But inside each pattern also, there are multiples patterns. If you see, in pattern 1 all LEDs ON can considered as one pattern and all LEDs OFF can be considered as another pattern. Thus, there are more than 16 patterns in the code.
Os this 5mm led ?
@Science_4U_
11 ай бұрын
Yes friend. I have used 5 mm led bulbs only..
@goodentrainment918
11 ай бұрын
@@Science_4U_ brother i have a problem with Arduino nano the microcontroller start hitting when i start my circuit.pls tell me how i solve the hiting issu.
@goodentrainment918
11 ай бұрын
@@Science_4U_ i was not use any resistor in my circuit.
@Science_4U_
11 ай бұрын
@@goodentrainment918 hitting or heating friend?
@goodentrainment918
11 ай бұрын
@@Science_4U_ hitting
The code isn't opening in mediafire
@Science_4U_
9 ай бұрын
Hi friend. Have you tried the google drive link also?. Are both links not opening?
@ckaashlesh9768
9 ай бұрын
@@Science_4U_Put the code in the comments
@narayankatore526
7 ай бұрын
No both links are not opening
@random_stuff32564
5 ай бұрын
s5n7i7@@Science_4U_
send code pls link not working
@Science_4U_
10 ай бұрын
Hi friend. Are both the google drive and mediafire links given in the description box, for downloading the code, not working? Please try downloading the code from the following links.. drive.google.com/file/d/1vWGvjQk_IybSjnmG_Pz_0kc6FJelecik/view?usp=sharing OR www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file
bakwas bkwas bkwas .......................................................... bilkul bhi nahi hai
@Science_4U_
2 ай бұрын
Hmm..yeh bakwas bilkul nahi hai..🥰