I'm new to Arduino.
I'm working on a small project.
I need to turn on/off a power supply with my Arduino.
This is how it should work. If I pull the PS_ON to ground on the power supply it turns on but I have to keep PS_ON pulled down.
This is how I'm trying to make a switch with the Arduino and an N channel mosfet.
I've 5V going to the N channel Mosfet which I can turn on and off with my arduino.
The 5V goes to Gate. Source goes to ground. and Drain goes to PS_ON.
If I apply 5V to Gate the power supply turns on. However if I remove 5V from Gate the power supply is still on. For some reason the mosfet is not turning off. Why? What am I doing wrong?