I cannot turn off a p-channel mosfet after turning it on.
I have this circuit on a breadboard:
Here's the mosfet's datasheet:
When I first supplied power the mosfet was off. When I shorted the gate gate to ground (represented as a switch) the fet turned on then stayed on after releasing the short.
All logic tells me the fet should turn off after releasing the short since it has a pull up resister.
What am I missing. Tried a second fet. same problem.
Here are the photos. In the last photo, upper left hand corner the upper black and red go to the 12v battery. The lower black wire goes to the motor. The red wire connected to the drain goes to the motor.
The motor runs when power is applied and it shouldn't.
This MOSFET can only tolerate up to 8V [plus or minus] on it's Gate [i.e. across the Gate and the Source] Any more than that, and the MOSFET will likely be damaged. In your case, 12V is being applied across the Gate and Source. That's a whopping 4V over the ABSOLUTE MAXIMUM. Thus, it's VERY likely that what is happening is, you're blowing out the Gate, which is causing the MOSFET to get "stuck ON".