Simple question

Status
Not open for further replies.

techguy101010

New Member
Hi,
I'm trying to set up a circuit in which 2 buttons trigger the following:
Button 1: Lights LEDs A and B
Button 2: Lights LEDs A and C
I'm running into a problem here because when I press Button 1, LEDs A, B and C all light up. The reasonable explanation for this behavior is that by connecting A to B and A to C, I've effectively connected A to C.
How do I get around this? I know this is a very fundamental thing.
Thanks
 
How about showing us your circuit. Also think about lighting LED B and A with button one and then LED C and LED A with button two. (Think extra diode)
 
Thanks for your help.
I'm sorry, I don't understand what you mean in saying think extra diode.
The circuit is like this:

+5V _______________/ B1 ______A, B____ GROUND
+5V _______________/ B2 ______A, C____ GROUND

(Read "A, B" as branch off to both A and B, both of which then go to ground)
Thanks
 
OK. Two options. (Buttons were not spec'ed as SPST-NO)

Ken
 

Attachments

  • 2Button3LED.gif
    5.1 KB · Views: 153
  • 2Button3LED2.gif
    3.9 KB · Views: 152
One more simplification.

Ken
Excellent, Ken. An added advantage is that the current in DA remains almost constant if you have both switches closed, instead of nearly doubling as it would in the previous version, which was almost excellent.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…