Saving power

To allow the running of your project on batteries for any meaningful time, you will have to take measures to reduce the current usage. The temperature sensor that you created in Chapter 2, Collecting Sensor Data, draws around 80 mA. Suppose you run it on some rechargeable AA batteries rated at 2,000 mAh. This means that the batteries are expected to last about 2,000 mAh / 80 mA, which equals 25 hours.

It is sufficient to say that a wireless sensor network is not so useful when the batteries have to be changed every morning. Fortunately, there are a lot of things that can be done to save power.

The first step in reducing the current usage is to find out where all this current is going. On this sensor, the current usage is roughly divided ...

Get Building Wireless Sensor Networks Using Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.