Dancing lights || LED chaser circuit with 32 cool effects || Arduino Project

Поділитися
Вставка
  • Опубліковано 9 гру 2022
  • 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.com/file/d/1vWGv...
    OR
    www.mediafire.com/file/x2cp3w...
    You can download the circuit diagram from the following link..
    drive.google.com/file/d/1c7us...
    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
  • Наука та технологія

КОМЕНТАРІ • 125

  • @TempleGuitars
    @TempleGuitars 4 місяці тому +1

    Is it possible to select just one pattern, so every time the circuit is switched on, it only produces that pattern?

  • @tsotne.gvajaia
    @tsotne.gvajaia 10 місяців тому +2

    This is INSANE. WOOW

    • @Science_4U_
      @Science_4U_  10 місяців тому +1

      Thank you friend..🙂🥰

  • @rengganisotofashionpekanba4933
    @rengganisotofashionpekanba4933 8 місяців тому +1

    Can you do it with the speed button and pattern change button manually?

  • @henriebillz785
    @henriebillz785 3 місяці тому +1

    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 :)

  • @VinKrishSolutions
    @VinKrishSolutions Рік тому +3

    Super😊👌👌

  • @VidyaSagar_VSIASsagar
    @VidyaSagar_VSIASsagar Місяць тому +2

    This is good project for me
    Iam a student i won 1st prize for this project

    • @Science_4U_
      @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
      @VidyaSagar_VSIASsagar Місяць тому +2

      Your welcome sir❤😊😊

  • @nargissultana5366
    @nargissultana5366 Місяць тому +1

    ❤❤❤Love for this project ❤

    • @Science_4U_
      @Science_4U_  Місяць тому +2

      Thank you so much dear friend..❤️🥰

    • @nargissultana5366
      @nargissultana5366 Місяць тому +1

      @@Science_4U_ We are waiting for watching new updates from you Hope soon you will update.

    • @Science_4U_
      @Science_4U_  Місяць тому

      @nargissultana5366 Yes..sure friend. I will try to regularly update channel with new interesting videos..🥰❤️🙂

  • @anjalikaranathunga
    @anjalikaranathunga 19 днів тому +1

    cool.thank you

    • @Science_4U_
      @Science_4U_  19 днів тому +1

      Okay friend. Glad that you liked the video...🥰🥰😔❤️

  • @user-jj4bj5xp7z
    @user-jj4bj5xp7z 8 місяців тому +1

    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_
      @Science_4U_  8 місяців тому +1

      Hi friend..There is absolutely no change required in the code. You can use it as such..

    • @user-jj4bj5xp7z
      @user-jj4bj5xp7z 8 місяців тому

      Thank you 🙂

  • @sharifulislam6387
    @sharifulislam6387 10 місяців тому +2

    Is i use this program on my Arduino nano?pls reply.

    • @Science_4U_
      @Science_4U_  10 місяців тому +1

      Yes friend. Surely it will work..👍

  • @AasthaShah18
    @AasthaShah18 Місяць тому +1

    Which cable did you used for connecting the arduino to your laptop?!

    • @Science_4U_
      @Science_4U_  Місяць тому +2

      Hi friend. It is called a USB A B cable..or USB A to USB B cable

    • @Science_4U_
      @Science_4U_  Місяць тому +3

      USB 2.0 Cable - A-Male to B-Male for Personal Computer, Printer - 16 Feet amzn.in/d/0pW14LR

    • @AasthaShah18
      @AasthaShah18 Місяць тому +1

      Okay, thankyou so much !

  • @Euclid75039
    @Euclid75039 8 місяців тому +1

    Insane 🔥

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      Thanks a lot dear friend...💓🙂

  • @williamkakooza4603
    @williamkakooza4603 Місяць тому +1

    Thank you

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      You are most welcome friend..❤️🙂

  • @Producciones_Y_Sonido_Rojas
    @Producciones_Y_Sonido_Rojas 10 місяців тому +2

    Se puede hacer con cualquier tipo de LEDs? Soy estudiante

    • @Science_4U_
      @Science_4U_  10 місяців тому +1

      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.

  • @ashrefashref-pu3wj
    @ashrefashref-pu3wj Місяць тому +2

    i dont have the little conecture what i do

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      Hi friend, which connector are you talking about?. Is it the breadboard where are the LED bulbs are inserted?

  • @naseemaharoon165
    @naseemaharoon165 Місяць тому +1

    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_
      @Science_4U_  Місяць тому +1

      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
      @HaroonSidheeqpp Місяць тому +1

      Ok sir

  • @user-du4eu2by5i
    @user-du4eu2by5i 8 місяців тому +1

    what library should i use in this?

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      Hi friend..There is no need to install any library for this code to work.

  • @user-eq7ld5ep5f
    @user-eq7ld5ep5f Місяць тому +1

    If i use only 10 led it will work or not need any changes in code please reply sir🙏

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      No need to change the code friend. It will definitely work..👍

  • @user-jd2vn9jh8e
    @user-jd2vn9jh8e 2 місяці тому +1

    Where the battery negative is connected?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      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.

  • @robitasalingay3851
    @robitasalingay3851 2 місяці тому +1

    How long the life of bulb or how many hours the life of bulb?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      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.

  • @teclem8156
    @teclem8156 7 місяців тому +1

    no se necesitan resistencias?

    • @Science_4U_
      @Science_4U_  7 місяців тому +1

      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.

  • @harsharupasinghe2808
    @harsharupasinghe2808 9 місяців тому +1

    How use speed control (preset) ?

    • @Science_4U_
      @Science_4U_  9 місяців тому +1

      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 🙂

  • @ammukutty311
    @ammukutty311 5 місяців тому +1

    What are the things used in this

    • @Science_4U_
      @Science_4U_  5 місяців тому +1

      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

  • @evpa71
    @evpa71 9 місяців тому +1

    hey can i put the led + to anything of digital inputs?

    • @Science_4U_
      @Science_4U_  9 місяців тому +2

      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
      @Stagmike 9 місяців тому

      ​@@Science_4U_Okey I asked because I have a funduino mega with a lot of dig. Ins

  • @CharlieLines-vg6lg
    @CharlieLines-vg6lg 4 дні тому +1

    can someone please copy the code and paste it here because i cant open both linkss
    by the wayyy this is niceee

    • @Science_4U_
      @Science_4U_  4 дні тому +1

      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.

  • @GinoongJam
    @GinoongJam Місяць тому +2

    Can i have the circuit diagram for School purposes only??

    • @Science_4U_
      @Science_4U_  Місяць тому +2

      Yes friend. Sure..I will have to make it. I will make and give..🙂

    • @GinoongJam
      @GinoongJam Місяць тому +1

      Thankyou

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      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

  • @arfeensayed5360
    @arfeensayed5360 5 місяців тому +1

    Can i pls get the circuit diagram

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      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

  • @bhavanas4451
    @bhavanas4451 6 місяців тому +1

    How to get schematic diagram of this

    • @Science_4U_
      @Science_4U_  6 місяців тому +2

      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
      @ashlygalang274 4 місяці тому

      up for schematic diagram

  • @kentmodanza535
    @kentmodanza535 9 місяців тому +1

    code please i cannot download

    • @Science_4U_
      @Science_4U_  9 місяців тому +1

      Can you try downloading the code from the following link?
      www.mediafire.com/file/x2cp3wutuq6tk2b/led_design.ino/file

  • @Suchu5677
    @Suchu5677 9 місяців тому +2

    mine dint work iam trying again

    • @Science_4U_
      @Science_4U_  9 місяців тому +1

      Ooh..it should have worked friend. It is a very simple project only. Was the code uploaded properly without any error?

    • @Science_4U_
      @Science_4U_  9 місяців тому +1

      Also check polarity of the LED bulb. The longer leg should be connected to +ve numbered pin from arduino.

  • @humairashahzad9948
    @humairashahzad9948 5 місяців тому +2

    dancing is far behind the fact that our lights with this circuit is not working

    • @Science_4U_
      @Science_4U_  5 місяців тому +1

      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..

  • @user-eq7ld5ep5f
    @user-eq7ld5ep5f Місяць тому +1

    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_
      @Science_4U_  Місяць тому +1

      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?

  • @realkkram
    @realkkram 6 місяців тому +2

    all void loop was error

    • @Science_4U_
      @Science_4U_  6 місяців тому +1

      There is no error in the code friend. You can try compiling code in a different PC..

  • @ashlygalang274
    @ashlygalang274 4 місяці тому +1

    can i use more led in this?

    • @Science_4U_
      @Science_4U_  4 місяці тому +2

      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
      @TempleGuitars 4 місяці тому +1

      Is the process of using the Arduino mega the same as this? @@Science_4U_

    • @samiqra1538
      @samiqra1538 4 місяці тому +1

      ​@@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
      @ashlygalang274 4 місяці тому +1

      Will it work if I just connect the LEDs in series? @@Science_4U_

    • @Science_4U_
      @Science_4U_  4 місяці тому +1

      Yes friend. Arduino mega has more number of output pins.So you can connect more number of LED to it..

  • @TurakaLakshman-yo1it
    @TurakaLakshman-yo1it 7 місяців тому +1

    hiii sir can you send this codee...

    • @Science_4U_
      @Science_4U_  7 місяців тому +1

      Hi dear friend..The code can be downloaded from the google drive link given in the description box below the video.
      .

  • @MANTRA-ph9vb
    @MANTRA-ph9vb Місяць тому +1

    please send me it's project code

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      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

  • @jayashriingle50
    @jayashriingle50 Місяць тому +1

    Where is the link

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      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_
      @Science_4U_  Місяць тому

      You can download the circuit diagram from the following link..
      drive.google.com/file/d/1c7uszyi6nFekKmwLrnPhwfEXu0zOIZkk/view?usp=sharing

  • @miya_asil
    @miya_asil Рік тому +3

    Code pls

    • @Science_4U_
      @Science_4U_  Рік тому +1

      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

  • @ModelSceneryTutorials
    @ModelSceneryTutorials 10 місяців тому +1

    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_
      @Science_4U_  10 місяців тому

      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.

  • @goodentrainment918
    @goodentrainment918 10 місяців тому +1

    Os this 5mm led ?

    • @Science_4U_
      @Science_4U_  10 місяців тому +1

      Yes friend. I have used 5 mm led bulbs only..

    • @goodentrainment918
      @goodentrainment918 10 місяців тому +1

      @@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
      @goodentrainment918 10 місяців тому +1

      @@Science_4U_ i was not use any resistor in my circuit.

    • @Science_4U_
      @Science_4U_  10 місяців тому +1

      @@goodentrainment918 hitting or heating friend?

    • @goodentrainment918
      @goodentrainment918 10 місяців тому +1

      @@Science_4U_ hitting

  • @sarahellsworth7196
    @sarahellsworth7196 Рік тому +10

    You need a separate 220 ohm resistor for every led. This is poor circuit design and can damage your Uno

    • @Science_4U_
      @Science_4U_  Рік тому +4

      Yes..you are absolutely correct. I have done this for simplicity only.

    • @Science_4U_
      @Science_4U_  Рік тому +2

      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_
      @Science_4U_  Рік тому +1

      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_
      @Science_4U_  Рік тому +2

      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
      @Abyssalism 10 місяців тому +2

      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.

  • @chittibabudhara3835
    @chittibabudhara3835 8 місяців тому +2

    The code isn't opening in mediafire

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      Hi friend. Have you tried the google drive link also?. Are both links not opening?

    • @ckaashlesh9768
      @ckaashlesh9768 8 місяців тому +1

      ​@@Science_4U_Put the code in the comments

    • @narayankatore526
      @narayankatore526 5 місяців тому

      No both links are not opening

    • @random_stuff32564
      @random_stuff32564 4 місяці тому

      s5n7i7@@Science_4U_

  • @brentsuico5301
    @brentsuico5301 9 місяців тому +1

    send code pls link not working

    • @Science_4U_
      @Science_4U_  9 місяців тому +1

      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

  • @AaryanKhan-mb6cz
    @AaryanKhan-mb6cz Місяць тому +2

    bakwas bkwas bkwas .......................................................... bilkul bhi nahi hai

    • @Science_4U_
      @Science_4U_  Місяць тому +1

      Hmm..yeh bakwas bilkul nahi hai..🥰