It would be extremely helpful to tell us what those problems were. Otherwise we'll tell you to use a P channel MOSFET and you'll have all the same problems...
Thank you for your responses!
I guess the problems was my negligence regarding how to use them properly...
So far i come with this design, could you tell me if its good or maybe i should change anything? Maybe the resistance should be different?
The one i will use(Meanwell NSD15-12S5) actually have the control pin, however used this way, it do consume 20ma in standby mode... thats why i need to cut the power completely to it
In examples like this, we want the driver transistor to be fully turned ON when switching power to the load.
Fully turned ON means the transistor should have almost zero volts across the device.
For a BJT we want the transistor to have a very small Vce voltage (voltage collector to the emitter).
For a MOSFET we want the transistor to have a very small Vds voltage (voltage drain to source).
The smaller the voltage across the transistor, the less power it consumes, the less heat it gives off.
Lets say you have a Vds of 6 volts in this 12v power supply project; lets say also that the current flowing in the transistor is 1 amp.
The power consumed by the MOSFET would be P = V * A = 6V * 1A = 6 watts OUCH!
If this same MOSFET only had 0.1 or 0.01 volts the power dissipated would be 0.1 and 0.01 watts respectively.
With the AO3401 the maximum Gate-Source Voltage is +-12V.
Since your 12v supply is at the top of the maximum range for this MOSFET, the circuit below would be recommended.
Note: you can play with the resistor values to reduce power consumption if it is an issue.
ALWAYs measure the Vds of the AO3401 to make sure it is saturated/fully turned ON.
If this voltage is too high, you may have to adjust component values.
Thank you Larry! Still a bit confusing but i am slowly getting there
Will go with your suggestion, make my board and see from there
By the way, you are mantioning that my 12v supply is at the top of the maximum range for this MOSFET, how ever it wont be power from a battery but from the car witch can have 11.6-13.4v
Does that mean i am better to go with AO4409?
What a question! You should never exceed the rated specifications of any electronic device. If they were not important, no manufacturer would bother to measure or publish them.
The project goes in a car to be connected to the car multimedia to enable android auto on the stock car screen
The project consiste of arduino with 4 canbus interfaces + raspberry pi
Raspberry pi does provide phone connection + all the video/audio streaming
Arduino does handle canbus camunication between car and pi and manage the power for the pi based on the canbus activity
Right now its is builded from modules but i am trying to make a proper one piece board for it to make it cleaner and more reliable