I am trying to make an on/off switch for my entire arduino project.
I would like to use a button to turn it on, and turn it off with software.
My circuit is attached (the transistor is NPN).
However, as soon as the button is released, the circuit dies again.
My Vbatt is 5.15v. My Vout is only 5.09v. The microcontroller pin is showing even less.
I think the issue is that this system is a negative feedback loop, dropping voltage very quickly until the BOD activates, cutting it off…