1
\$\begingroup\$

What's the simplest circuit for an inline latching power switch?

I have a 12V lipo going into a step-down converter powering an Arduino. I'd like the Arduino to be able to completely power itself off (not simply go to sleep). However, neither the 12V lipo nor the converter have any built-in means of being controllable from a digital pin.

I've found several examples of latching power switches, but they're all relatively complicated, and assume the switch is incorporated into the regulator. I don't want to modify any components. I just want to put a "box" in between the 12V lipo and converter, wired to an Arduino pin, which will break the high-side when the pin goes low.

What's the simplest way to do this with the minimum of components?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

Probably like shown below.

Assume that the Arduino's I/O has gone low.

Q2 will then go into cutoff, and Q1's gate will be pulled up to BT1+ through R1.

That'll force Q1 into cutoff, disconnecting BT1 from the converter's input, killing both the converter and the Arduino.

When that happens, the Arduino's output will be floating, and R2 is used to make sure Q2's gate is held low until S1 is pressed.

When S1 is pressed, R1 and Q1's gate will be pulled low, turning Q1 ON, which will connect the converter's input to BT1.

That'll power up the converter, which will then supply power to the Arduino.

The Arduion's I/O will then go high, turning Q2 ON, which will connect Q1's gate to ground, latching Q1 ON (even after S1 is released) until the Arduino's I/O goes low, turning everything OFF AGAIN, which will start the cycle anew.

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.