Sleepy Arduino saves power

Sleepy Arduino saves power

Got a nice Arduino project that needs to be battery-powered, but you want it to keep running for a long time?

Well, the fine folks at Lab 3 might have just the solution for you. They hooked up a photoresistor and a buzzer to an Atmega 168 microcontroller running Arduino to make a digital nightingale. The chip is put to sleep after every light measurement, and the built-in watchdog timer is used to wake it up again 8 seconds later.

By doing this, they estimate that they can increase the battery life of the project (powered by 3 AA batteries) from 4 days to about 3 years! I hope they’re letting it run to see how long the batteries actually last.

See the project website for an explanation of the circuit and a copy of the source code.

Discuss this article with the rest of the community on our Discord server!


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).