Arduino Power Latch (Single Button)
PKAE Electronics PKAE Electronics
1.33K subscribers
648 views
0

 Published On Feb 26, 2024

Using a single push button to control the power On/Off AND be used for a normal Input switch in your Arduino code.

Using a P-Channel MOSFET, NPN BJT, a few resistors, diodes and a switch, this handy circuit provides a lot of functionality. There is no current draw in the OFF state.

This video is thanks to a comment/question from one of my viewers in response to a previous power latching circuit video, linked below:-

   • Power Latching Circuit  

Arduino Nano Every used in this Video can be purchased from Amazon here:-

https://amzn.to/3uWhQMM

(this Amazon link will not cost you a penny more, but goes a small way to help this channel.)

To download a PDF copy of the circuit, the example Arduino Code, and my PKAE_Timer Library, please click the link below:-

https://1drv.ms/f/s!At-1QJjNI_MQb6P-j...

(I hope the above link works OK, drop a comment if not).

00:00 Live Bench Test Demonstration
00:42 PKAE Electronics Intro
00:52 Viewer's Comment (Power Latch)
01:19 Explaining the Power Latch Circuit
02:25 Arduino Latching
04:06 Arduino Controlling Power Off
04:55 Same Switch as an Input
07:17 Example Code
10:00 Summary

show more

Share/Embed