Sometimes you want to keep the same ground reference to your circuits so.
P mosfet high side switch.
To switch v with a p channel mosfet.
N channel mosfets can also switch v in certain configurations with drain being vin and source being switched vout.
Using a p channel with positive voltages is easy when connected to the circuit correctly.
If your load voltage is higher like 12 or 24v then you might want to use an n channel mosfet in a low side configuration.
Then the p channel mosfet is used to switch the positive supply to the motor for forward direction high side switching while the n channel mosfet is used to switch the negative supply to the motor for reverse direction low side switching.
Used as a high side switch a p channel mosfet in a totem pole arrangement with an n channel mosfet will simulate a high current high power cmos complementary mos arrangement.
Because of how transistors work these can be a little more difficult to use in an arduino or raspberry pi circuit.
In this case use a p channel mosfet to turn the relay on from the arduino s i o pin.
Although the p channel mosfet cannot complement the n channel in both on resistance and capacitance simultaneously such combinations as the low threshold p channel.
It seems like every time i go to work with mosfets i have to spend.
The p channel high side switch therefore solves the problem of using an n channel mosfet for high side switching.
There are a variety of configurations for driving the two mosfets with many different applications.
The mosfet used in the this high side switch is a logic level 4p03l04 from infineon and as it only needs its gate to be 4 5v lower than the 12v supply the 12vpp waveform applied to its gate easily switches the mosfet on or off.
It s a simple circuit that has a input for positive and negative and an output for positive and negative connections.
Typically these use a pnp bjt or p channel mosfet.
Here s my schematic and board design for a simple high side switch using a p channel mosfet.
The opposite of the low side switch is the high side switch.