Uploaded December 2023 | Updated November 2026, 3 hours ago
Diagram and Code HERE:
hackmakemod.com/blogs/projects/arduino-auto-shutoff-with-3-buttons
A versatile and cost-effective solution for your Arduino projects. This general-purpose circuit, using an optoisolator and a transistor as the key components, is a great way to add cost effective and reliable power control for any Arduino project.
What sets this design apart is its affordability and simplicity. We've used inexpensive, easily accessible components, making it a perfect fit for hobbyists and DIY enthusiasts. Unlike other designs which suffer from minor current leaks that drain batteries, this circuit ensures efficient power usage, extending battery life significantly.
This circuit features three buttons, each capable of both powering up the device and shutting it down with a long press. This dual functionality not only adds convenience but also eliminates the need for an additional power switch. Because the ON state is help by a specific pin on the microcontroller, it has the ability to turn itself off a specific time after the last input.
Diagram and Code HERE:
hackmakemod.com/blogs/projects/arduino-auto-shutoff-with-3-buttons
A versatile and cost-effective solution for your Arduino projects. This general-purpose circuit, using an optoisolator and a transistor as the key components, is a great way to add cost effective and reliable power control for any Arduino project.
What sets this design apart is its affordability and simplicity. We've used inexpensive, easily accessible components, making it a perfect fit for hobbyists and DIY enthusiasts. Unlike other designs which suffer from minor current leaks that drain batteries, this circuit ensures efficient power usage, extending battery life significantly.
This circuit features three buttons, each capable of both powering up the device and shutting it down with a long press. This dual functionality not only adds convenience but also eliminates the need for an additional power switch. Because the ON state is help by a specific pin on the microcontroller, it has the ability to turn itself off a specific time after the last input.
