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

Поделиться
HTML-код
  • Опубликовано: 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

  • @tsotne.gvajaia
    @tsotne.gvajaia 10 месяцев назад +2

    This is INSANE. WOOW

    • @Science_4U_
      @Science_4U_  10 месяцев назад +1

      Thank you friend..🙂🥰

  • @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?

  • @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..🥰❤️🙂

  • @VinKrishSolutions
    @VinKrishSolutions Год назад +3

    Super😊👌👌

  • @rengganisotofashionpekanba4933
    @rengganisotofashionpekanba4933 8 месяцев назад +1

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

  • @anjalikaranathunga
    @anjalikaranathunga 20 дней назад +1

    cool.thank you

    • @Science_4U_
      @Science_4U_  20 дней назад +1

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

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

  • @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❤😊😊

  • @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..❤️🙂

  • @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..👍

  • @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

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

  • @CharlieLines-vg6lg
    @CharlieLines-vg6lg 5 дней назад +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_  5 дней назад +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.

  • @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?

  • @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?

  • @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 !

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

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

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

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

  • @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

  • @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 🙂

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

  • @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

  • @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

  • @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

  • @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 10 месяцев назад +1

    code please i cannot download

    • @Science_4U_
      @Science_4U_  10 месяцев назад +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.

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

  • @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

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

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

  • @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

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

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

  • @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

  • @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

  • @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..🥰