Why this circuit provides only 2V on the load (33 ohms resistor) when the switch to the gate of the MOSFET is closed ? I was expecting it to switch between 1.4V (caused by the 85 ohms resistor) and 5V (when the MOSFET gate is on). I'm using the MOSFET 2N7000. Is there any way to solve this to provide 1.4V and 5V when the gate of the MOSFET is on ?

enter image description here


An NMOS MOSFET makes a very poor high-side switch, which is what you are trying to use it for. The highest voltage that will appear at the source (which is connected to your 33 ohm resistor) is equal to the gate voltage (5V) minus the transistor threshold voltage (about 3V). You need to use a PMOS transistor instead, and look for one with a threshold voltage of 1.4V or less. The PMOS transistor will turn on (conduct well) when the gate is at ground, so the gate signal needs to be inverted with respect to the signal that controlled the NMOS gate.

And you are still going to have trouble meeting the 1% voltage tolerance required for the sensor, as we discussed in https://electronics.stackexchange.com/questions/76331/diode-causing-voltage-drop

|improve this answer|||||
  • \$\begingroup\$ Thanks for the quick help Joe, I'll probably try something with a reed relay, it's hard to find components on my city. \$\endgroup\$ – Tarantula Jul 26 '13 at 18:04
  • \$\begingroup\$ I think that answer deserves at least a point (+1) from me. \$\endgroup\$ – JIm Dearden Jul 26 '13 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.