-1
\$\begingroup\$

I’m looking to see if there is a circuit I can build that would light up a row of about 20 LED’s one at a time after pressing a button, and keep those LED constantly on once there were activated. Finally, when pressing a button again, they all power off one at a time in the same order?

\$\endgroup\$
5
  • 1
    \$\begingroup\$ People don't generally develop circuits with such a specific purpose. Normally you'd use a LED driver and a microcontroller (an Arduino would probably be easiest to start with) and program that behaviour into it. \$\endgroup\$
    – user16324
    Commented Jun 17, 2015 at 21:10
  • 5
    \$\begingroup\$ Questions asking for a circuit are closed. \$\endgroup\$ Commented Jun 17, 2015 at 21:11
  • 1
    \$\begingroup\$ A SIPO shift register will do by shifting 1s in, if clocked properly.. \$\endgroup\$
    – Eugene Sh.
    Commented Jun 17, 2015 at 21:13
  • \$\begingroup\$ I believe this is called a 'Johnson Counter' or 'Ring Counter'. \$\endgroup\$ Commented Jun 17, 2015 at 23:10
  • \$\begingroup\$ In What order do you want them to power off - First on first off, or last on first off? \$\endgroup\$ Commented Jun 18, 2015 at 2:01

1 Answer 1

2
\$\begingroup\$

Have a look at a chip family called "shift registers".

For example, a TPIC6595 will drive up 8 LEDs. You simply cascade multiple shift registers to drive more LEDs.

Have a look at that chip, then modify your question with what you have learned.

We will help you get to where you want to be but you have to do the work yourself.

\$\endgroup\$
2
  • \$\begingroup\$ Thanks, "shift registers" put me on the right path! A few 74HC595 combined with a programmable ATMEGA328P should do what I need. \$\endgroup\$
    – Jon Kapus
    Commented Jun 18, 2015 at 3:47
  • \$\begingroup\$ Be aware that a 74HC595 is only rated for 6 mA per output. If you want to drive your LEDs harder than that, you can usually get away with it, but you are in territory where the manufacturer doesn't guarantee the chip to work well. The TPIC6595 costs a bit more, but it will handle LOTS more current. \$\endgroup\$ Commented Jun 18, 2015 at 4:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.