Maker Pro
Maker Pro

2 transistors as SPDT?

bigjayman

Feb 3, 2013
4
Joined
Feb 3, 2013
Messages
4
I am trying to make a simple circuit where one LED is lit until a momentary button is pushed that will turn it off and turn on a different LED. The key component is the tactile switch I'm using, it is the perfect dimensions for my purposes but it is a SPST-NO. I'd rather not use a relay or an IC since I am trying to make this project as small as possible. I'm hoping I can use 2 transistors but I'm not having much luck figuring out how to make it work. Any help?
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,728
Joined
Nov 17, 2011
Messages
13,728
until a momentary button is pushed that will turn it off and turn on a different LED

What exactly do you mean? is the momentary push buttton meant to toggle between the two LEDs, or do you want LED 1 to be on while the buttton is pressed, otherwise (button not pressed) LED 2 is on?
This makes a big difference.
 

bigjayman

Feb 3, 2013
4
Joined
Feb 3, 2013
Messages
4
The latter. LED 1 is on when button is pushed, when the button isn't being pressed LED 2 is on
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,728
Joined
Nov 17, 2011
Messages
13,728
Calculate resistors as required for your operating voltage and LED operating point.
Without further comment:
attachment.php
 

Attachments

  • blabla.gif
    blabla.gif
    1.6 KB · Views: 3,480

AnalogKid

Jun 10, 2015
2,893
Joined
Jun 10, 2015
Messages
2,893
1. This thread is over 5 years old.

2. This can be done with no transistors at all:

1 resistor to limit the current to *both* LEDs
1 small diode
1 SPST switch

ak
 
Top