Help with MOSFET as a switch

jgauthier

Mar 22, 2013
63
Joined
Mar 22, 2013
Messages
63
Hey Everyone,

So, I built a circuit and everything was working very well. I was using a MOSFET as a switch. However, I was not happy with my design, because I was "swtching" ground. Effectively, I had two ground busses. One on the drain, and one on the source completely isolated. I didn't think this was really what I wanted to do, or was what anyone did.

So, I thought it, and rewired it so that I had two separate VCC busses instead. This seemed to make a lot more sense. Ground is ground everywhere on the circuit, and when the MOSFET is switched, it will connect to the two VCC busses.

The problem I ran into with this change is that now the MOSFET, even though the gate is low (I just added a resistor to pull it to ground), both the source and the drain are have ~5V.

I included a before and after.
 

Attachments

  • mosfet.JPG
    mosfet.JPG
    89 KB · Views: 119

duke37

Jan 9, 2011
5,364
Joined
Jan 9, 2011
Messages
5,364
You will need a resistor from gate to source to turn off the fet when the switch is open.

To switch the Vcc together, you will need a P channel fet and ground the base to turn it on.
 
Top