LED relay switch... maybe?

first off thanks for looking and helping if you decide to. I have only been working with computer electronic in a DIY since for about a year. My question is, do I need a relay for what I am trying accomplish and if so what kind? What I am trying to accomplish is: I have two push buttons (momentary contract switches). And I want it so that when I press the first button (orange) the first LED turns on. And when I hit the second button (blue) the first LED turns off and the second one turns on. Kind of like a toggle but only with the LEDs. The buttons are also connected to a board that is connected to my computer via USB. Which is where the power is coming from for the LEDs. I can use another source if necessary. I drew a little picture to help describe what I am trying to describe.

Picture of LED relay switch... maybe?
sort by: active | newest | oldest
1-10 of 22Next »
Foreverhex (author) 9 years ago
I think with all that I've looked into I need to do a 556 circuit. I am still trying to understand it all but I am working on it. What I hope I can do, correct if I am wrong please. I will make the first push-to-make button connected to trigger A but also connected to reset B. And the second button to trigger B and reset A. So in my little head I believe that I can have the output A be triggered by the first switch and when you press the second switch it will reset A (to turn it off). And the trigger B and output B. Blah none of this makes since I am sure.
Padlock9 years ago
Sounds like you need dpdt latching relay.
Padlock Padlock9 years ago
Or you could get off with a spdt latching relay if they were the same voltage.
Foreverhex (author)  Padlock9 years ago
They are the same voltage. I will look into how they work. Thanks!
Foreverhex (author) 9 years ago
Would this circuit work for what I am trying to do?

CMOS Toggle Flip Flop Using Push Button

Thank you guys for all your help. I will show you all what I am using this for when I am done.
Foreverhex (author) 9 years ago
For the record, on that diagram the ground arrows are in fact returns to my already made chip. The main thing I need is for the orange switch to turn on the orange leds but still make the connection with the other chip (the HID chip). And the blue to do the same thing, but turn off the orange lights when the blue leds turn on. And then if you press the orange the blue turns off etc... etc..
Foreverhex (author) 9 years ago
Wow, I just tried to open a can of worms that I thought read easy open. Then I find myself with a chainsaw, confused and weird. :) I looked into the CMOS chip, but they are very involved. I guess this is why people go to school for this stuff. I'll keep reading and hope I figure this out. Thanks for all your help!
they actually are not. you can wire them as if they were relays without any extra components design something with relay and we'll show you how to wire a chip instead
Goodhart9 years ago
It is true that a DPDT relay will be simpler to wire up, if it is a latching relay, then the Logic chips mentioned. But it will also consume a lot more power. The CMOS chips (many operate between 1.1 and 5 v), those that are flip-flops with a latching feature would be my own personal choice.
110100101109 years ago
no need in relays use some CMOS (90xx / 94xx / 74HCxx) or TTL (74LSxx / 74Fxx) chips for the logic the TTLs and 74HC cmos can sure drive LEDs directly the other CMOS maybe not - use allmost any small transistor like C945 or 547 if using some leds (more load) then use small transistor
1-10 of 22Next »