Sensors & Measurement · Study deck

Low-Power Sensors: Duty Cycles and Fusion

A node sleeps for most of the hour, then burns its budget during radio joins and sensor fusion.

Physics Phoebe is your guide for this deck.

sensorpowermanagement
Physics Phoebe, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: The Mistake: Reading sensor data registers immediately after triggering a measurement, before the sensor's internal ADC has completed conversion, resulting in stale data from the previous measurement or invalid values.
  • Explain: the battery had a big problem. "I only have so much energy," she said. "If everyone keeps talking all the time, I will run out in just a few months!".
  • Explain: Key Insight: For battery-powered outdoor IoT with infrequent small-payload transmissions, LoRaWAN's lower TX current and vastly longer range make it the clear winner.
iotclass.org

Major section

Transmission Buffering Check

The hierarchy keeps radio use, awake time, and peripheral choices in proportion.

  • The order connects engineering effort to likely energy return, preventing small microamp savings from distracting from costly radio or wake-time behaviour.
Power optimization hierarchy: Wi-Fi transmission dominates the power budget
Power optimization hierarchy: Wi-Fi transmission dominates the power budget
iotclass.org

Major section

Read Registers After Conversion

The Mistake: Reading sensor data registers immediately after triggering a measurement, before the sensor's internal ADC has completed conversion, resulting in stale data from the previous measurement or invalid values.

  • The datasheet specifies conversion time, but example code often uses fixed delays or omits waiting entirely.
  • At 400kHz I2C, you can read registers in ~50us, but BMP280 needs 44 ms in ultra-high-resolution mode.
  • The behavior to remember is: trigger measurement, wait until conversion is complete, then read the result.

Numbers to remember

400kHzAt 400kHz I2C, you can read registers in ~50us
~50usyou can read registers in ~50us
iotclass.org

Major section

For Kids: Meet the Sensor Squad!

the battery had a big problem. "I only have so much energy," she said. "If everyone keeps talking all the time, I will run out in just a few months!".

  • "Exactly!" said Max. "The Wi-Fi radio uses the MOST energy -- way more than Sammy reading the temperature.
  • Bella was relieved. "And between readings, everyone goes to DEEP SLEEP.
  • "But ALWAYS set an alarm before sleeping," Max warned. "If you sleep without an alarm, you sleep FOREVER and someone has to unplug you and plug you back in!".
iotclass.org

Major section

Wi-Fi vs LoRaWAN Power

Scenario: You are deploying 50 environmental sensors across a 5 km² agricultural area.

  • We use 120 mA as a realistic value for long-range agricultural deployments.
  • The advantage grows further with transmission buffering, since LoRaWAN's lower per-TX energy cost compounds the savings.
  • Key Insight: For battery-powered outdoor IoT with infrequent small-payload transmissions, LoRaWAN's lower TX current and vastly longer range make it the clear winner.

Numbers to remember

120 mAWe use 120 mA as a realistic value for long-range agricultural deployments.
iotclass.org

Deck summary

Key takeaways

The hierarchy keeps radio use, awake time, and peripheral choices in proportion.

  • The Mistake: Reading sensor data registers immediately after triggering a measurement, before the sensor's internal ADC has completed conversion, resulting in stale data from the previous measurement or invalid values.
  • the battery had a big problem. "I only have so much energy," she said. "If everyone keeps talking all the time, I will run out in just a few months!".
  • Scenario: You are deploying 50 environmental sensors across a 5 km² agricultural area.
iotclass.org

Retrieval practice

Recall check 1 of 5

Physics Phoebe says: answer from memory, then check your reasoning.

Q1Your sensor node transmits every 15 minutes via Wi-Fi. Which strategy extends battery life most?

AUse a faster microcontroller to finish transmission quicker
BBuffer 8 readings and transmit every 2 hours instead of every 15 minutes
CSwitch from ESP32 to ESP8266 (lower active power)
DUse a larger battery
Show answer

Answer: B Wi-Fi transmission dominates the power budget at 80%+ of total energy.

iotclass.org

Retrieval practice

Recall check 2 of 5

Physics Phoebe says: answer from memory, then check your reasoning.

Q2Per this chapter's Complementary vs Kalman Filter guidance, which scenario is explicitly listed as a reason to choose the Complementary Filter over the Kalman Filter?

AA constrained 8-bit AVR or small ARM Cortex-M0 MCU where battery life is critical and accuracy requirements are modest
BTracking moving targets where sensors have varying reliability over time
CFusing five or more sensors where adequate computational resources are available
DNeeding state prediction between measurements
Show answer

Answer: A see answers page

iotclass.org

Retrieval practice

Recall check 3 of 5

Physics Phoebe says: answer from memory, then check your reasoning.

Q3Per this chapter's Smart vs Raw Sensor Processing comparison, how do algorithm updates differ between the two approaches?

ASmart sensors need a firmware upgrade (rare) to change their on-chip algorithm, while raw sensors can get an OTA software update since the fusion logic runs on your own MCU
BBoth approaches update algorithms the same way, via OTA software updates
CSmart sensors update automatically over the internet, while raw sensors can never be updated
DRaw sensors require a full hardware replacement to change their algorithm, while smart sensors update via OTA
Show answer

Answer: A The chapter's Smart vs Raw comparison table lists 'Algorithm updates: Firmware upgrade (rare)' for Smart Sensors and 'OTA software update' for Raw Sensors + MCU, reflecting that raw-sensor fusion logic runs in your own updatable firmware.

iotclass.org

Retrieval practice

Recall check 4 of 5

Physics Phoebe says: answer from memory, then check your reasoning.

Q4Per this chapter's 'Read Registers After Conversion' pitfall, why does reading a BMP280 immediately after calling takeForcedMeasurement() in ultra-high-resolution mode return the wrong value?

AThe BMP280 needs up to 44 ms to finish its ADC conversion in ultra-high-resolution mode, so an immediate read (which only takes ~50us over 400kHz I2C) returns the previous measurement, not the one just triggered
BThe I2C bus is too slow to transmit the request, so the read silently fails
CThe BMP280 requires a 44ms delay only in standard-resolution mode, not ultra-high-resolution mode
DtakeForcedMeasurement() erases the previous reading, so the register briefly holds no data
Show answer

Answer: A see answers page

iotclass.org

Retrieval practice

Recall check 5 of 5

Physics Phoebe says: answer from memory, then check your reasoning.

Q5Place each power-control decision where it lives so you can trace why a sensor node meets its energy budget instead of merely hoping the battery lasts.

AEnergy Source (Battery/Solar)
BPower Regulation (LDO/DC-DC)
CDuty Cycling
DSleep Mode Management
Show answer

Answer: A Place each power-control decision where it lives so you can trace why a sensor node meets its energy budget instead of merely hoping the battery lasts.

iotclass.org

Print reference

Answers 1 of 3

Answer key.

  1. B · Wi-Fi transmission dominates the power budget at 80%+ of total energy.
  2. A · The chapter's decision guidance: Complementary Filter fits constrained MCUs, critical battery life, quick prototyping, 2-3 sensors, and modest accuracy needs; Kalman Filter fits paramount accuracy, varying sensor reliability, state prediction, tracking moving targets, and 5+ sensor fusion with adequate compute.
iotclass.org

Print reference

Answers 2 of 3

Answer key.

  1. A · The chapter's Smart vs Raw comparison table lists 'Algorithm updates: Firmware upgrade (rare)' for Smart Sensors and 'OTA software update' for Raw Sensors + MCU, reflecting that raw-sensor fusion logic runs in your own updatable firmware.
iotclass.org

Print reference

Answers 3 of 3

Answer key.

  1. A · The chapter's fix is to wait for the specified conversion time or poll the data-ready flag: BMP280 standard mode is 8ms, ultra-high-resolution mode is 44ms, while an I2C register read itself takes only ~50us at 400kHz -- reading before conversion completes returns the prior measurement, not the new one.
  2. A · Place each power-control decision where it lives so you can trace why a sensor node meets its energy budget instead of merely hoping the battery lasts.
iotclass.org