@@Science_4U_ I did that and still got the error. Again the LED "(led0)" didn't work I noticed the code for it wasn't included and when I tried to write the code "blink_0();" . . . to include it. It didn't work.
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
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 :)
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..
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.
@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.
@@Science_4U_You are smart and that would require increasing the voltage of the battery with higher current right? Do you think 💭 it works that way to if I want to sort out the lower brightness?
@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.
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 You can download the circuit diagram from the following link.. drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
Bonjour, superbe programme pour le modélisme, merci beaucoup. Est il possible de remplacer par SMD type 0623 ? si oui en 5v besoin de résistance ? Et quel Arduino utiliser pour transfert avant l'installation d'un manège 1/87 Merci beaucoup
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..
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.
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.
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.
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
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..
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..
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?
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.
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..
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..
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.
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
@@Science_4U_ I use to think 💭 you are not meant to connect to pin 0 and pin 1 cos they are transmission & receiver signal pin reserves for special purpose. Does it mean 😭 there’s no harm in connecting to them? Plus you didn’t inform us the effect of having your battery powered on while also loading your code inside the uno board. Thanks brilliant video & circuitry
@@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.
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
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
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 🙂
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.
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
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..
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 🙏🙏😭😔😪😪
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?
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.
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
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
Hi , i made this for my school project .
My family and friends loved it so much.
Tysm for making this video❤❤❤
@@humaira3125 I am so glad to hear that dear friend. Wishing you all the very best🙂❤️🥰
@@Science_4U_ u want to be gaey with humaira right?
ur gaey
This is good project for me
Iam a student i won 1st prize for this project
Wow!! That is great friend. I am very very glad that this project got first prize. Thank you dear friend..🙂🥰❤️
Your welcome sir❤😊😊
Very thanks 🎉🎉🎉❤❤❤ I got the 1st prize in my school🎉🎉🎉❤❤
@@scratch3.0-ei4hi okay friend. I feel sooo happy to know that.❤️🥰🥰🙂
This is INSANE. WOOW
Thank you friend..🙂🥰
@Science4u. That was a great project. I made it too but I am getting errors that blink 1, 2 , 3 . . . all of them are not declare in this scope
Hi friend. Can you download the code once again and try uploading?
Usually this error occurs when there are some changes done in the code. So downloading code once again and uploading may solve the problem.
@@Science_4U_ I did that and still got the error. Again the LED "(led0)" didn't work I noticed the code for it wasn't included and when I tried to write the code "blink_0();" . . . to include it. It didn't work.
what i do if i dont have Rocker Switch ? i can use Button? or can i use something else? thank you so much
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
Hi friend. There is no need to join ground on both sides of the arduino board. They are internally connected.
@@Science_4U_ tysm❤
hey, i have a breadboard smaller than that can i make one?
Yes friend. I think you can. Just reduce the spacing between the bulbs so that you can accomodate the same number of bulbs in the smaller bteadboard.
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 :)
❤❤❤Love for this project ❤
Thank you so much dear friend..❤️🥰
@@Science_4U_ We are waiting for watching new updates from you Hope soon you will update.
@nargissultana5366 Yes..sure friend. I will try to regularly update channel with new interesting videos..🥰❤️🙂
Is it necessary to add the 220 ohm resistor?
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..
@@Science_4U_ Thank you so much💜
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
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.
Ok sir
Which cable did you used for connecting the arduino to your laptop?!
Hi friend. It is called a USB A B cable..or USB A to USB B cable
USB 2.0 Cable - A-Male to B-Male for Personal Computer, Printer - 16 Feet amzn.in/d/0pW14LR
Okay, thankyou so much !
am going to do this for my project
Good video! Just wondering how you were able to add only one resistor in the circuit instead of having one resistor per LED?
@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.
@@Science_4U_ Thank you! I just bought some starting Arduino components and excited to try out your code!
@Jenkinsoup Okay friend. Sure!!!. Whish you an interesting experience trying out these projects..
@@Science_4U_You are smart and that would require increasing the voltage of the battery with higher current right? Do you think 💭 it works that way to if I want to sort out the lower brightness?
Is it possible to select just one pattern, so every time the circuit is switched on, it only produces that pattern?
maybe you can use break function
@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.
i dont have the little conecture what i do
Hi friend, which connector are you talking about?. Is it the breadboard where are the LED bulbs are inserted?
dude how to get the setch
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
You can download the circuit diagram from the following link..
drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
Bonjour, superbe programme pour le modélisme, merci beaucoup.
Est il possible de remplacer par SMD type 0623 ? si oui en 5v besoin de résistance ? Et quel Arduino utiliser pour transfert avant l'installation d'un manège 1/87
Merci beaucoup
bro can you tell me the coding pls
Hi friend. The code can be downloaded from the link given in the description box.
If i use only 10 led it will work or not need any changes in code please reply sir🙏
No need to change the code friend. It will definitely work..👍
can i use more led in this?
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..
Is the process of using the Arduino mega the same as this? @@Science_4U_
@@Science_4U_
can i use shift register for more led's as same coding or need modification.
Let me know what kind of modification
Will it work if I just connect the LEDs in series? @@Science_4U_
Yes friend. Arduino mega has more number of output pins.So you can connect more number of LED to it..
What if I have more than 13 leds, for example, 20 or 25?
How can I run them
you need arduino mega or gpio i2c expander
Can i change this code to binary?
Do I need to do any changes in code if I replace blue leds with white ? If yes please explain the changes in detail
Hi friend..There is absolutely no change required in the code. You can use it as such..
Thank you 🙂
How long the life of bulb or how many hours the life of bulb?
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.
Where the battery negative is connected?
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.
Is i use this program on my Arduino nano?pls reply.
Yes friend. Surely it will work..👍
Can you do it with the speed button and pattern change button manually?
Super😊👌👌
Thank you.🥰☺️
Se puede hacer con cualquier tipo de LEDs? Soy estudiante
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.
What are the things used in this
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
Yes..you are absolutely correct. I have done this for simplicity only.
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..
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..
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?
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.
Mantap bro 👍
where is the code
Code can be downloaded from link given in desctiption box..
hey can i put the led + to anything of digital inputs?
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..
@@Science_4U_Okey I asked because I have a funduino mega with a lot of dig. Ins
what library should i use in this?
Hi friend..There is no need to install any library for this code to work.
Can you send me the code please.
Code can be downloaded from link given in desctiption box..
thanks.❤
Is this circuit harm to the UNO board ?
No friend. The LED bulbs consume very less current only and all bulbs lighting together will not damage the UNO..
❤️❤️❤️❤️
How to get schematic diagram of this
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..
up for schematic diagram
Code please
Code bro
Hi friend. Code can be downloaded from the links given in the description box.🙂
@VigneshMakam code can be downloaded from the links given in the description box, below the video.
no se necesitan resistencias?
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.
Can i have the circuit diagram for School purposes only??
Yes friend. Sure..I will have to make it. I will make and give..🙂
Thankyou
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
@@Science_4U_ I use to think 💭 you are not meant to connect to pin 0 and pin 1 cos they are transmission & receiver signal pin reserves for special purpose. Does it mean 😭 there’s no harm in connecting to them? Plus you didn’t inform us the effect of having your battery powered on while also loading your code inside the uno board. Thanks brilliant video & circuitry
Os this 5mm led ?
Yes friend. I have used 5 mm led bulbs only..
@@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.
@@Science_4U_ i was not use any resistor in my circuit.
@@goodentrainment918 hitting or heating friend?
@@Science_4U_ hitting
Where is the link
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
You can download the circuit diagram from the following link..
drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing
CAN WE SEE THE CODE?
Code can be downloaded from the links given in the description box below the video.
th-cam.com/users/shortsUPY7q43d2rk?si=aTMYDeRRVnMpkoTT
th-cam.com/users/shortsUPY7q43d2rk?si=aTMYDeRRVnMpkoTT
BUT THE CODE IS PASSWORD PROTECTED
No friend. The code is not password protected.
mine dint work iam trying again
Ooh..it should have worked friend. It is a very simple project only. Was the code uploaded properly without any error?
Also check polarity of the LED bulb. The longer leg should be connected to +ve numbered pin from arduino.
Can i pls get the circuit diagram
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
How use speed control (preset) ?
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 🙂
can someone please copy the code and paste it here because i cant open both linkss
by the wayyy this is niceee
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.
pragramada nimani bosdingizlar
code please i cannot download
Can you try downloading the code from the following link?
www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file
Insane 🔥
Thanks a lot dear friend...💓🙂
please send me it's project code
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
dancing is far behind the fact that our lights with this circuit is not working
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..
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 🙏🙏😭😔😪😪
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?
cool.thank you
Okay friend. Glad that you liked the video...🥰🥰😔❤️
Thank you
You are most welcome friend..❤️🙂
hiii sir can you send this codee...
Hi dear friend..The code can be downloaded from the google drive link given in the description box below the video.
.
all void loop was error
There is no error in the code friend. You can try compiling code in a different PC..
bakwas bkwas bkwas .......................................................... bilkul bhi nahi hai
Hmm..yeh bakwas bilkul nahi hai..🥰
The code is incomplete. there are only 15 patters in the code that is available to download. Please put up the entire code.
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.
The code isn't opening in mediafire
Hi friend. Have you tried the google drive link also?. Are both links not opening?
@@Science_4U_Put the code in the comments
No both links are not opening
s5n7i7@@Science_4U_
Coding error avese
This ia a tested and working code only..
Code pls
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
send code pls link not working
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