Hi,
I am tying to find an acceptable solution for switching on-off with P channel Mosfet.
The Micro which I am using is XMEGA and 3.3V, and the load device which I would like to switch is 24V.
I found a schematic (Below) and when I prototype it I see it is working but very sensitive. For example When I touch the Gate pin on Mosfet or C,B on NPN I see some blink on output.
Is there any better solution for such a purpose?
You should also take care that the circuit isn't protected against hammer blows, flooding or fire...
Seriously speaking, it's exactly as "sensitive" against electrical interferences as others circuits with similar impedance level. It's easy to decrease the circuit impedance at power consumption expense.