Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Wireless Sensor Networks Using Arduino

You're reading from   Building Wireless Sensor Networks Using Arduino Leverage the powerful Arduino and XBee platforms to monitor and control your surroundings

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784395582
Length 192 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Matthijs Kooijman Matthijs Kooijman
Author Profile Icon Matthijs Kooijman
Matthijs Kooijman
Arrow right icon
View More author details
Toc

Arduino power-saving


Now that you have seen how you can reduce the XBee power usage to almost zero, it is time to look at the other power-hungry device: the Arduino. Most of the techniques listed earlier will be applied here, starting with the replacing of the hardware with other hardware running at a lower voltage and frequency and containing less components. Then, the microcontroller sleep mode will be discussed in detail, letting you reduce the power usage even further.

Normally, the Arduino and XBee module will be asleep and the DHT sensor is powered off. Once every five minutes, the Arduino wakes up to take a sensor reading. This happens as follows:

  1. The Arduino briefly wakes up and powers up the DHT sensor (which needs about one second to start up before it can reliably measured).

  2. The Arduino sleeps for one more second.

  3. The Arduino reads the DHT sensor values and powers the sensor off again.

  4. The Arduino pulls the SLEEP_RQ pin on the XBee module to low, causing the XBee module to wake up...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime