Ok, so, I took Kalvin's two normally open and IanM's minimal parts designs and put them in sim. They all seem to work well, but I have a bit of confusion maybe someone could help me clear up?
In IanM's design, I'm seeing a LOT of current being sunk at my GPIO pin. Far too much really. For this project I will want to make my micro sleep and wanted the entire board to be under 1mA quiescent. So if I want to leave my interrupting transistor circuit "on" so that if the user presses the switch everything still works, I can't be wasting a lot of power on the BJT and the mosfet. There is maybe only one or two circuits I'd do this "constant" activation with, the rest can wait until I wake the circuit which means there is an infinite energy source plugged in.
Here is what I drew up for IanM's design (please excuse the terrible appearance):
It's saying approx 124mA being sunk at the GPIO which is way beyond acceptable. Granted, I kind of used a generic MOSFET because my sim program doesn't have a huge library.
Here is what I got for Kalvin's middle example:
Still too high at 3mA after the NPN. I kind of don't really get that voltage divider as well. It's 10k up and 1k between the gate and collector. That's a voltage of 1.11ish from 12V. If mosfets run on voltage and 1.1V works well, can't I increase the resistors on both sides to something like 1.11v ish at less mA loss down stream of the NPN? It would really only also help to make that 1K from the GPIO a 10K, but now I feel like I'd be getting into the gain and that's not something I really understand. Can anyone explain how to adjust these resistors?
That 1.1V is just about the gate threshold at 1V. But the max for the gate is -12, so wouldn't -6 be a little safer to ensure the mosfet is going to react as it should?
I'm on-board with the idea of how high and low side drivers need P and N channel respectively. But the resistances and gain is still confusing me. If there is any info anyone can add I'd appreciate it great!
Thoughts?