Electronics Noob

Hi, I was thinking of making something that will light up one set of LEDs when you push the button, turn off, and then light up a different set when the button is pushed again, and they alternate each time. Do they make a switch for that sort of thing?

sort by: active | newest | oldest
110100101109 years ago
you need a t flip flop and 2 and gates. those components come in chips if you plan to switch more than few leds you need a transistor for each set of leds as well i can give you exact circuit or you can research a bit online about the components and make it yourself. its not complex
You're really good with digital/solid-state circuit design. I tend to be a little better wrapping my head around analogue stuff. Is there a reason why a pair of relays connected NO-NC wouldn't work for this application? Note that I'm not disputing your solution (it's a good one), I just want to check that I'm not making some stupid conceptual error.
It would work if you used relays but flip-flops data or toggle are in my opinion easier to use than the classic relay.  However with relays you could probably get more voltage out of the deal.
idk how to make this circuit with 2 relays here is my design with 4 dpdt relays red components are to prevent a momentary power loss when the relays 3 and 4 are switching blue components are to determine the initial state when powered up so that relays 3 and 4 wont fight each other
. It would work. It can actually be accomplished with just a single double-throw relay. For LEDs an SPDT would work (common "ground"). . But relays are sooooooo passé. ;)
octochan (author) 9 years ago
thanks! I didn't think it would be complex; I'm trying to keep it as simple as I can. I've looked at a few online beginner's guides to electronics, but they weren't terribly helpful. I kind of know already what kinds of components you can get, but they had very little information about how they're supposed to work together. Mostly they directed you to buy a kit and learn from there.
kelseymh9 years ago
Yes. It's called a relay. You can use two of them. You could also build more complicated circuits with solid state components. Go to Amazon, find yourself a beginner's guide to circuits, buy it, and read it.