Arduino Power Saving and Battery Night Light
Summary
The Arduino IDE and boards make it very easy to design and prototype a circuit, and even build a circuit to do something useful. But what if you've got a circuit you need to run off batteries? It turns out that part of the Arduino's flexibility also means it uses more power than a dedicated circuit might. In this article, we've give you a few ideas about how you can tweak your 'duino to use less power, and hopefully run longer. For most of the things we're going to show you, we're going to use the Uno running an 'empty' sketch, so you can easily try these experiments out for yourself on a bare Uno board. Of course an Arduino that does nothing isn't much use, but some of the software power reduction options will disable some functions- it's about what's going to work with your application.
If you want to estimate how long your project would last, you need to know the capacity of your batteries in mAh (milliamp-hours), and how many milliamps of current your project uses. For example, a project that uses 50mA running from a 2000mAh battery (typical for some NiMH rechargeables), it would be expected to run for 2000/50 or 40 hours. This is only an estimate, as all batteries and all circuits tend to vary slightly. If it's a critical application, it's probably worth testing.
Materials Required
1 | ATMEGA328P MCU IC with Arduino UNO Bootloader and 16MHz Crystal | ZZ8727 |
1 | Ultra Mini Experimenters Board | HP9556 |
1 | 28 Pin Production (Low Cost) IC Socket 300mil | PI6510 |
1 | Duinotech Arduino Compatible PIR Motion Detector Module | XC4444 |
1 | Duinotech Arduino Compatible Photosensitive LDR Sensor Module | XC4446 |
1 | 10k Ohm 0.5 Watt Metal Film Resistors - Pack of 8 | RR0596 |
1 | 150mm Socket to Socket Jumper Leads - 40 Piece | WC6026 |
1 | 40 Pin Header Terminal Strip | HM3212 |
1 | 100nF 100VDC MKT Polyester Capacitor | RM7125 |
1 | 4 x AAA Side by Side | PH9268 |
Table of Contents
Similar projects you may be interested in