I’m attempting to control the power to an Argon/Boron via an NPN transistor. Basically, I have an atmega328 in deep sleep mode waiting for an input interrupt (which uses only 0.15μA). I then want to wake up an Argon/Boron, send a value over the UART, and shut it down. This is for a multi-year project that needs to run on battery.
In any case, I can’t get the Argon/Boron to boot when being controlled through an NPN transistor. I have the + battery connected to Li+, and the negative is going through the NPN transistor (being controlled by the atmega328). I totally removed the atmega328 and just have a breadboard with the Argon/Boron and the NPN transistor and it still won’t boot when ground is going through the transistor. It flashes green about 3 times, flashes white, and repeats. It’s like it’s doing some kind of check on boot which is failing so it’s in a boot loop.
I’ve used transistors many times to do this kind of thing, so I know what I’m doing, it’s just not working with the Argon/Boron. The transistor is a 2N2222 which is rated at 600mA.
BTW, the entire project does totally work when I use the EN pin to power down the Argon/Boron (using a PNP transistor). The problem is that the Argon uses about 30μA with this method, which while not bad, is WAY more than the 0.15μA I’d like the system to use when waiting for a trigger. So all the code is in place and working, and controlling the Argon/Boron with the EN pin does work, it just uses more power than I was planning and I’d like to totally shut the Argon/Boron down with the transistor instead of powering down with the EN pin.
Anyone doing something like this with some success?