Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Transistors As Switches

Status
Not open for further replies.
Depends upon what you are trying to control with the switch.
 
So you want the lights to go off when you close the switch?

If so, you could use the circuit in Figure 2 of your reference with a slight modification. Change R1 to about 5kΩ (for 20mA LED current) and connect its input to the plus voltage. (You can remove R2, it's not needed for this circuit.) This will turn the transistor and LEDs on with no input.

Also connect the transistor base input to the NO switch with the other switch end connected to ground. Then when you close the switch it will remove the transistor base drive and the transistor will turn off.

Make sure you have the proper sized resistor in series with LEDs to give the desired LED current.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top