How to make Chase Lights with a Decade Counter - The Learning Circuit

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • Karen is making a robot with lots of flashing lights. But the Arduino she’s using to control the circuit has limited I/O. After learning about 555 timers and decade counters, Karen discovered that she can combine them to animate the lights in her robot reducing the outputs needed on the Arduino from ten, down to one. Decade Counters use a clock signal to cascade a high output signal across 10 outputs. Karen shows how to make an astable oscillator circuit with a 555 timer to create the clock signal needed for the decade counter. Then shows how to set up a circuit with 10 LEDs, one for each output. She also shows how to use transistors and relays for applications that require a higher current draw: bit.ly/3fWekor
    Engage with the element14 presents team on the element14 Community - suggest builds, find project files and behind the scenes video: bit.ly/2MFMG0v
    Visit the element14 Community for more great activities and free hardware:
    Tech spotlights: bit.ly/2KLz0TS
    Roadtest and Reviews: bit.ly/2KH4fj3
    Project14: bit.ly/2wPnajx
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 60

  • @pileofstuff
    @pileofstuff 3 ปีที่แล้ว +14

    the good 'ol 555 + 4017 circuit. It's a classic that every electronics hobbyist should learn.
    Nicely presented, Karen!

  • @stevehyt
    @stevehyt 3 ปีที่แล้ว +2

    A variation of this circuit, called a Larson scanner, was used for Cylons and KITT on Night Rider. Thanks for these videos!

    • @Davedarko
      @Davedarko 3 ปีที่แล้ว

      I know you can do 6 lights with the 4017+555 going forward and back - 8 is more tricky and involves more chips. Having it to stop between scans sounds even trickier.

  • @ChadKapper
    @ChadKapper 3 ปีที่แล้ว

    You have taught me soooooo much!!! Thank you for your thorough yet digestible lessons!

  • @pileofstuff
    @pileofstuff 3 ปีที่แล้ว +5

    @0:46 I like the way you think.
    Throwing more software at it isn't always the better solution.

    • @sortofsmarter
      @sortofsmarter 3 ปีที่แล้ว

      Right...those chips wont crash and will run those lights for the next 100 years..long after the Arduino decided not to boot up one day..lol

  • @albertogarciaengineer3053
    @albertogarciaengineer3053 3 ปีที่แล้ว +3

    I love these videos, really well explained. Keep it up!

  • @berenedain8427
    @berenedain8427 ปีที่แล้ว

    I really love these videos, and I finished watching the relevant video hours ago, your explanations are really nice and the videos are calming as well some of my lecturers i have should take notes haha!

  • @Chubbbs117
    @Chubbbs117 3 ปีที่แล้ว

    Great video, Ive always wanted to try stuff like this.

  • @uzhavarasan4505
    @uzhavarasan4505 3 ปีที่แล้ว

    Intresting video. Thanks sis

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR 2 ปีที่แล้ว

    Counters like the 74AC74 can be used as part of a Tayloe Down Conversion Mixer, the other chips required is the 74AC00 and the 74AC152.

  • @samzx81
    @samzx81 3 ปีที่แล้ว

    I hope you keep putting out these videos :)

  • @TboneLoyal
    @TboneLoyal 2 ปีที่แล้ว

    Great video. Learned alot. Guess you could use this to wigwag as well.

  • @linod7265
    @linod7265 3 ปีที่แล้ว

    Thank You for your vídeo, It's really inspiring to make great things like the rain drop scene for My christmas tree, and to make the turning back lights of the car more visible. Thank You and hope to learn more from You.

  • @artursmihelsons415
    @artursmihelsons415 3 ปีที่แล้ว +1

    Try to put in positive rail p-channel Mosfet which gate are driven by npn transistor in place of relay.. :) From positive rail to gate add 100K resistor, npn transistors collector goes to gate, emitter to ground, from base 10K to ground and through 4,7K to arduino.. In battery powered application this will lower power consumption.
    To save space, I would put in place of these output transistors ULN2803 darlington array and maybe leave remaining 2 transistors.. ;)
    Anyway, great video, as always!

  • @FireballXL55
    @FireballXL55 ปีที่แล้ว

    I was surprised you got away without any decoupling across the 555 unless that is you used the CMOS version.
    The 555 really takes a gulp of power during switching and can cause problems.

  • @Electronzap
    @Electronzap 3 ปีที่แล้ว

    That's a cool circuit :)

  • @nourn2002
    @nourn2002 ปีที่แล้ว

    Car turn signals would be great with this

  • @stnwrd
    @stnwrd 3 ปีที่แล้ว

    Great sound effects Karen, I use to drive my parents crazy with them LOL

  • @MrCardeso
    @MrCardeso 3 ปีที่แล้ว

    Thanks, Karen!

  • @leecollins5479
    @leecollins5479 3 ปีที่แล้ว +1

    karen you make these videos even better watching!

  • @nathanherling9836
    @nathanherling9836 5 หลายเดือนก่อน

    Very neat!

  • @changarawemichael5556
    @changarawemichael5556 4 หลายเดือนก่อน

    Thanks alot

  • @arnelcondino2634
    @arnelcondino2634 3 ปีที่แล้ว +1

    Hi Karen 👍👍👍

  • @alansmithee183
    @alansmithee183 3 ปีที่แล้ว

    The Element14 Karen is one of the good Karens not one of the bad Karens :)

  • @iyup2964
    @iyup2964 3 ปีที่แล้ว

    Nice channel!

  • @elvielaelectronico
    @elvielaelectronico 3 ปีที่แล้ว

    Me gustan los efectos de sonido ( I love sound effects)

  • @andrealvs
    @andrealvs 3 ปีที่แล้ว

    As a newbie in electronics I find Karen's videos fantastically easy to follow. Thank you for putting in time into make them!
    One question about this circuit: why did you decide to use a relay to turn the circuit on and off instead of a transistor, like you did to drive each strand based on the decade counter?

    • @maker_karen1785
      @maker_karen1785 3 ปีที่แล้ว +1

      It's been a bit since I worked on this, so I'm trying to remember back. For the rest of the robot circuit that this is going to go into, there are other circuits that turn on fans and vacuums that have a much higher current draw, so I'm using relays for those rather than transistors. I think I just decided to use a relay here as well so I didn't have to worry about max voltage or current draw at all. I think relays can also handle heat dissipation better than transistors, so that may have also been why.

  • @cncpreferred848
    @cncpreferred848 ปีที่แล้ว

    That is an easy circuit using the 555 and 4017 for only 10 lights. What do you have for 20, 30, 40, or more lights?? I have tried a few circuits on the internet for 40 lights, but there were 4 lights on at a time, and they ran together as a group. I would appreciate the circuit.

  • @chriso5355
    @chriso5355 ปีที่แล้ว

    Anybody know the easiest way to make runway approach lights chaser?? This is for my small airport on my sheet of plywood... I was thinking about having 6 groups of 4 White LEDs over about a foot or so in length.. Thanks

  • @RepTalez
    @RepTalez 3 ปีที่แล้ว

    Çould you instead connect the LED anodes to the output pins and connect all the cathodes to ground through a single resistor? It seems to have the same effect and takes up less space, but is there drawbacks to doing it this way? This is for the single LED per pin.

    • @maker_karen1785
      @maker_karen1785 3 ปีที่แล้ว

      I responded to you on the element14 Community. ;-)

  • @stevetobias4890
    @stevetobias4890 3 ปีที่แล้ว

    This is really cool. I just have one comment, you started all this because you were using 10 wires from your Uno board, how many extra wires are you using in the circuit. I understand about the co adding but there is an example in Arduino IDE that does this, however, if you're doing it because you need the extra Arduino pins in your robot project then it makes sense.
    If you only need a set lighting speed you can cut out the 555 right,?

  • @michaelrobert4094
    @michaelrobert4094 3 ปีที่แล้ว +1

    Could turn the relay circuit into a latching circuit. It would be easy to turn this circuit into a knight rider scanner

  • @RealRapBeats
    @RealRapBeats 3 ปีที่แล้ว

    hay qua nha ban!

  • @phs125
    @phs125 ปีที่แล้ว

    I wish I chose engineering all those years ago.
    This thing could've been my job😭

  • @walter_mayer
    @walter_mayer 3 ปีที่แล้ว

    @6:50 what you are doing here? Put the IC output without resistor to the base and the emitter to GND. So the only resistance of the circuit is the IC internal FET resistance. Or with other words you produced an nearly a shortage to ground at each output. I would recommend to use a 2N7000 FET to avoid such issues.
    @8:39 with the switch it's ok. But mention to connect the relay to an arduino pin without showing the necessary free wheeling diode could kill some arduino or running in a latchup risk. It's anyhow no good idea to connect a relay directly to an uC pin. I would recommend to use a big enough P-FET to turn on the circuit, by switching the arduino pin to low (for turinging on).

  • @krisc1243
    @krisc1243 3 ปีที่แล้ว

    Hi, thanks for uploading such a great video. If I understand it right, each NPN transistor works as MOSFET to utilize separate power source to compensate over drawn current ?

  • @alfredsivanzire3552
    @alfredsivanzire3552 3 ปีที่แล้ว

    😍

  • @PedroSantos-mk3pm
    @PedroSantos-mk3pm 3 ปีที่แล้ว +1

    It is great...think i can build a real robot drone with that...a block RF attached to the input...Lets go fly...Think about it!!!!

    • @Davedarko
      @Davedarko 3 ปีที่แล้ว

      You can use the 4017 as a crude stepper controller, but I'm not sure the stepper is fast enough to levitate things with a prop, unless you are building an ornithopter. There are ways to convert the rc pwm signals into clock pulses for the 4017 then and bam - flying 4017.

  • @genebowdish.mageniemagic
    @genebowdish.mageniemagic 3 ปีที่แล้ว

    Sounds like it is possible to run 10 lights with 1/10th of the power with a fast enough frequency which may be beneficial for a solar powered system and a cloudy day ... Study by, Gene Bowdish

  • @thatroom
    @thatroom 3 ปีที่แล้ว

    your voice is asmr for me, Karen.

  • @josecarlospereiramachado2016
    @josecarlospereiramachado2016 3 ปีที่แล้ว

    Muito bom, sonoplastia melhor.

  • @blackBird5869
    @blackBird5869 3 ปีที่แล้ว

    Your students are to lucky who have a super genius like you

  • @arnelcondino2634
    @arnelcondino2634 3 ปีที่แล้ว

    Pls give me a schematic diagram

    • @maker_karen1785
      @maker_karen1785 3 ปีที่แล้ว

      I drew up the breadboard design, but I didn't make a schematic. You can find what I posted on the element14 Community. Link is in the description.

  • @josefonseca9178
    @josefonseca9178 3 ปีที่แล้ว

    I think there is a better way to do this but, if you are going do keep the relay i would suggest doing a seal-in contact, unless you want to keep holding that button all the time. Loved the video!

    • @maker_karen1785
      @maker_karen1785 3 ปีที่แล้ว

      Oh yeah definitely. That was just for the demo.

  • @IanG-uf2fq
    @IanG-uf2fq ปีที่แล้ว

    THE EVERLASTING BAD HAIR DAY

  • @canlobin2240
    @canlobin2240 3 ปีที่แล้ว

    i like you

  • @kashyapkoshti
    @kashyapkoshti 3 ปีที่แล้ว

    just add D-flip flop and you don't need an arduino at all

  • @DaveMcAnulty
    @DaveMcAnulty 3 ปีที่แล้ว

    I don't understand the requirement of the relay. The 555 timer only uses a few ma of current while running. The decade counter, transistors and leds can all be powered off the power supply lines, no?

    • @rohankumar5461
      @rohankumar5461 3 ปีที่แล้ว +2

      If relay is not used then whole circuit will run from one Arduino pin which can only supply 20ma

    • @cdwlights
      @cdwlights 3 ปีที่แล้ว

      I wonder why not use an arduino pin to drive the clock enable pin on the counter

    • @maker_karen1785
      @maker_karen1785 3 ปีที่แล้ว

      @@cdwlights You could, it just would require an additional Arduino pin. The idea was to run the entire circuit off one Arduino I/O and only have to do as much programming as having to turn the circuit on/off.

  • @techinfotahir7912
    @techinfotahir7912 3 ปีที่แล้ว +1

    Agiya sawad ab to