Power management for portable Arduino projects #arduinomonday
Thanks to Rob for writing in to share this useful Arduino tutorial. Check it out on GitHub
Projects involving the Arduino family of microcontroller boards typically don’t need any special power management circuitry. You connect a power source, the device boots, does it’s job and then stops when the power is disconnected. Unlike a Raspberry Pi system, there is no risk of corrupting an SD memory card.
But for some applications you may want to monitor power status and respond in a more managed way, instead of just shutting down.
Consider a remote sensing device that logs temperature data, for example. If the battery runs out while it is unattended the logs simply stop. There is no way to tell immediately that low battery was the problem. It could have been software or hardware failure.
Likewise, for a portable system, it would be helpful to know how much battery life remains and when it needs recharging.
This project presents several approaches to Arduino power management with circuits, software and descriptions for each of them. Starting with a simple power-on/power-off switch all the way to a data logging system that includes battery status which is intended for unattended environment monitoring.
You can pick and choose which of the subsystems you are interested in. I’ll describe all of them in increasing complexity but you can comment out those parts you are not interested in.
The project is built on the ideas in the LiPoPi and Pi Power projects, which provides similar functionality for Raspberry Pi systems.
Each Monday is ArduinoMonday here at Adafruit! Be sure to check out our posts, tutorials and new Arduino related products. Adafruit manufactures the Arduino right here in the United States in cooperation with arduino.cc. We have a huge selection of Arduino accessories and all the code and tutorials to get you up and running in no time!
We are angry, frustrated, and in pain because of the violence and murder of Black people by the police because of racism. We are in the fight AGAINST RACISM. George Floyd was murdered, his life stolen. The Adafruit teams have specific actions we’ve done, are doing, and will do together as a company and culture. We are asking the Adafruit community to get involved and share what you are doing. The Adafruit teams will not settle for a hash tag, a Tweet, or an icon change. We will work on real change, and that requires real action and real work together. That is what we will do each day, each month, each year – we will hold ourselves accountable and publish our collective efforts, partnerships, activism, donations, openly and publicly. Our blog and social media platforms will be utilized in actionable ways. Join us and the anti-racist efforts working to end police brutality, reform the criminal justice system, and dismantle the many other forms of systemic racism at work in this country, read more @ adafruit.com/blacklivesmatter
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.