# Need some help with a simple circuit

#### whitemike

Joined Dec 5, 2011
5
Hello everybody,
I'm a beginner and just starting to read up and experiment with things.

Basically,
I'm creating a circuit to light an LED when a certain switch is NOT connected.

I'm using a 12v source, and an LED equipped for such voltage. The problem I'm having is what to use to achieve this goal? A JFET? A relay? Can I use two standard FETs?

Again, switch OFF = light ON. Switch ON = light OFF.

Thanks for any and all help.

Mike

#### SgtWookie

Joined Jul 17, 2007
22,220
It depends on whether the switch is controlling the ground side or the positive side of a load.

If it's switching the ground side, you could use an N-ch enhancement mode MOSFET like a 2N7000. You could also use an NPN transistor.

If it's switching the positive side, you could use a P-ch enhancement mode MOSFET like a BS170. You could also use a PNP transistor.

In either case, if the load is inductive, you would need to use a resistor and a Zener to protect the gate of the MOSFET.

#### whitemike

Joined Dec 5, 2011
5

I would prefer the switch control the ground.

Could I possibly bother you to demonstrate (verbally is fine) how I would go about achieving this goal? Keep in mind the light needs to be OFF when the switch is connected (aka supplying the gate?)

Thank you!

#### thatoneguy

Joined Feb 19, 2009
6,359
What amount of current is the switch controlling?

You could run an LED and resistor across the switch terminals, so the 12V power would light up the LED whenever the contacts were open,but that would allow 20mA of current through the switched circuit in the "OFF" position. If that is an acceptable condition, it would be the simplest solution.

#### SgtWookie

Joined Jul 17, 2007
22,220
Here, have a look at the attached.

On the left, the LED is controlled by a MOSFET. The resistor and Zener diode make certain that if the load is inductive, the MOSFET Vgs limit of ±20v is not exceeded.

On the right, the LED is controlled by a transistor.

#### Attachments

• 31.4 KB Views: 23

#### Wendy

Joined Mar 24, 2008
22,205