Main > Main Forum
LED control idea
ShinAce:
www.geocities.com/alainprice/ownzord1.jpg
www.geocities.com/alainprice/ownzord3.jpg
Using 7404 inverters(as buffers).
It's basically equivalent to what Trimoor is talking about. Using the switch itself to drive the led. But in my case, I can simply swap IC's and have an ALL ON, even though that's not a feature I really want.
Trimoor:
The all-on function is a slightly different circuit. Only two more diodes are needed, so it shouldn't be too difficult. When the switch on the right is closed, all the lights will illuminate, leaving the encoder inputs alone.
ShinAce:
Wouldn't that mean you need a spdt switch for each button? :-\
That's where gates are nice. You can switch modes with a single switch.
cholin:
Can you explain gates to me in lay-mens terms? I have no idea what they are and I dont want to read 200 pages :)
Trimoor:
--- Quote ---Wouldn't that mean you need a spdt switch for each button?
--- End quote ---
No. The picture above shows how two inputs/lights are linked together to a common switch on the right. That switch is separate from the others, and only needs to be closed to activate the all-on mode. When open, it functions just like my first design.
Logic Gates
Boolean Logic