Logo home 9

Over 10 years we helping companies reach their financial and branding goals. Onum is a values-driven SEO agency dedicated.

CONTACTS
Chip
nRF52840
Type
BLE / IoT Firmware
Idle Current
~11 µA
Status
Delivered
Background

Engineering Real Battery Life Into a BLE IoT Tag — Event-Driven Firmware, ~11 µA Idle, PPK2-Validated on nRF52840

This project tackled one of the most common failures in IoT product development: BLE devices that work perfectly on the bench but drain their batteries in weeks instead of months. The work centered on an nRF52840-based BLE tag platform where the challenge was not simply picking a low-power chip, but engineering the entire firmware to behave like a real battery product. That meant controlling every clock, peripheral, advertising interval, and wake source with precision — and then validating the actual current draw using Nordic's Power Profiler Kit II rather than relying on datasheet estimates. The result was a stable, event-driven BLE firmware architecture achieving approximately 11 µA idle current, multi-source wake-up reliability, and a battery runtime suitable for asset tracking, wearables, and low-power sensor node deployments.

Challenges

Key Project Challenges

1
Hidden Leakage Current
Peripherals left partially active by default firmware configurations leaked current that standard bench tests never exposed — requiring systematic peripheral shutdown and clock gating to bring idle draw down to the target range.
2
BLE Responsiveness vs. Battery Life Trade-Off
Aggressive advertising intervals reduce RF energy but make the tag slow to discover and connect. Tuning the advertising timing required finding the exact balance between usability and energy consumption without sacrificing either.
3
Sleep-Wake Cycle Stability
Repeated transitions between System ON Sleep and active states introduced state corruption risks and failed reconnection behavior under extended testing — requiring a robust event-driven state machine to handle every wake path reliably.
4
Power Validation Beyond Datasheet Estimates
Proving that current targets were met in real operating conditions — not just estimated from Nordic datasheets — required a structured PPK2-based profiling workflow covering both sleep state and all active wake paths under load.

Project Details

CategoryEmbedded / BLE / IoT
Client TypeIoT Product / Wearable
ChipNordic nRF52840
StackNordic SDK / Embedded C
Idle Current~11 µA
ValidationNordic PPK2
Wake SourcesBLE / RTC / GPIO
StatusDelivered

Need a Similar Solution?

We build custom low-power BLE firmware, IoT tag platforms, and embedded systems from the ground up. Let's talk.

Request a Free Quote →
Solutions

How We Built It

Our Approach

Event-Driven BLE Firmware with System ON Sleep, Multi-Source Wake-Up, Peripheral Shutdown, and PPK2-Validated Power Profiling on nRF52840

The firmware was designed around an event-driven state machine where the nRF52840 spends the majority of its life in System ON Sleep, waking only in response to BLE activity, RTC timer events, or GPIO interrupts. On each wake, the firmware powers only the peripherals required for that specific task — all non-essential clocks and hardware blocks are gated off before returning to sleep. BLE advertising intervals were tuned iteratively to reduce RF energy use while keeping discovery latency within acceptable limits for the target use case. The entire power profile — sleep current, advertising bursts, wake transitions, and active-state peaks — was measured and validated using the Nordic Power Profiler Kit II, producing a real measurement-backed power budget rather than a datasheet-derived estimate. Sleep-wake cycle stability was stress-tested across extended repeated cycles to confirm zero state corruption or reconnection failures under real operating conditions.

nRF52840 Nordic SDK BLE Firmware System ON Sleep Embedded C Event-Driven State Machine RTC Wake-Up GPIO Interrupts Peripheral Shutdown Clock Gating Nordic PPK2 Battery Optimization
Benefits

Value Delivered

~11 µA Validated Idle Current
Idle current was measured and confirmed at approximately 11 µA using PPK2 hardware profiling — a real number from real silicon, not a calculation from a datasheet best-case scenario.
Multi-Source Wake-Up Reliability
The firmware handles wake events from BLE activity, RTC timers, and GPIO inputs through a single unified state machine — ensuring every wake path is stable, tested, and recovers cleanly without reconnection failures.
Optimized BLE Advertising Behavior
Advertising intervals and payload behavior were tuned iteratively to minimize RF energy consumption while keeping the tag discoverable and responsive within the required latency window for the product use case.
Full Peripheral & Clock Shutdown
All non-essential hardware blocks are powered down between wake events — eliminating the hidden leakage currents that cause BLE prototypes to miss battery life targets despite using low-power silicon.
Measurement-Backed Power Budget
Every power state — sleep, advertising, connection, and active processing — was profiled with PPK2, producing a complete, evidence-based power budget the client can reference for battery sizing and product certification.
Ready for Asset Tracking & Wearables
The architecture is directly applicable to BLE asset trackers, wearable devices, medical-adjacent sensors, and low-power data loggers — any product where battery life is a core requirement, not an afterthought.
Client Feedback

What the Client Said

"

We had already gone through one firmware developer who told us the battery life looked fine — then in field testing it drained in three weeks. What was different here was that nothing was assumed. Every state was measured with the PPK2 and we could see exactly where the current was going. The leakage from peripherals we thought were off was the problem the whole time. After the fixes, we hit our 8-month target and the sleep-wake behavior has been completely stable since. That kind of validation is something we'll require on every embedded project going forward.

Need a Similar Solution?

We build custom low-power BLE firmware and embedded IoT systems tailored to your product requirements.

Request a Free Quote →