For my project I want to remotely shutdown my application. For this I though of a circuit using a power n mosfet:
- I use an IRF510 MOSFET
- GND from the Arduino is connected to the drain of the mosfet.
- GND from the power source (12 V adapter) is connected to the source of the mosfet.
- The gate is connected with a digital port.
- There is a switch connected both to the drain and source to enable the application (to give the application some time to set the gate)
Now I have some problems with the gate. First I connected the gate and source with an 100k resistor to keep the gate low. But then when I set the digital port to LOW it still gave power to the Arduino. I found on this forum and on some other sites that I could try to connect the gate with the GND from the Arduino (using an 100k resistor). But even with this change I cannot disable the mosfet from giving power to my Arduino.
Any thoughts? Thanks in advance!