🎉 25% off Pre-Sale! Bluetooth LE course with real hardware included - no SDK required
Embedded Development · · 6 min read

How to Build a Scalable Ultra-Low Power Bluetooth Low Energy-based Weather Station

A step-by-step guide to building a scalable Bluetooth LE weather station using PAwR and Nordic's nRF52840, with ultra-low power sensor nodes and smartphone monitoring.

How to Build a Scalable Ultra-Low Power Bluetooth Low Energy-based Weather Station

Sponsored by Nordic Semiconductor

Introduction

In this blog post, we’ll cover the details of a Bluetooth Low Energy-based system that serves as a foundation for a scalable centralized wireless system consisting of low-power nodes that gather environmental sensor data.

Traditionally, with Bluetooth Low Energy (LE), it has been impossible to design a low-power and scalable system that also allows bidirectional communication from the end nodes to a central node. However, this is all now possible with the proper hardware and by utilizing a relatively new Bluetooth feature called Periodic Advertising with Responses (PAwR).

In the project laid out in this post, we'll be utilizing Nordic Semiconductor's popular Bluetooth Low Energy platform (including SDK, hardware, tools, and more!). Specifically, we'll be using a few nRF52840 development kits.

System Design and Operation

The example project we'll design and build is a Bluetooth LE-based Weather Station.

PAwR-based weather station system design overview

For simplicity, we'll use a single sensor (on each sensor node) that can read both temperature and humidity.

This can easily be expanded to include more sensors or a different sensor that can read other environmental parameters (e.g., barometric pressure, CO, CO2, gas, etc.).

Below is a diagram that shows the different components of the system:

Weather station system components diagram showing sensor collector, sensor nodes, and smartphone

As you can see, our system has three main types of components.

Let's list each one and describe its role and behavior.

For the purposes of the project implementation in the course, we will be using only three sensor nodes. However, the system design allows us to scale it to potentially thousands of sensor nodes without having to change much in the architecture. This is the power of PAwR!

Hardware Components

In terms of hardware components, here's a complete list of what you'll need to build the whole project:

QuantityHardware Component
4Nordic Semiconductor nRF52840 DK
1Nordic Semiconductor Power Profiler Kit II
3Waveshare 250×122, 2.13inch E-Ink raw display panel
3Waveshare Universal E-Paper Raw Panel Driver Shield (B)
3Adafruit Sensirion SHT40 Temperature & Humidity Sensor
3STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable
Alternative Link (in case out of stock)
1Glarks 240Pcs 2.54mm Straight Single Row PCB Board Female Pin Header Kit
1Soldering Iron Kit

Software Components

Here's a list of the various software components used in the project:

We also have all the source code hosted in a GitHub repo to accompany the course. You can find the repo here.

Power Consumption Optimization

Achieving low power consumption is crucial for the sensor nodes in our system, especially since they will be running on batteries.

For this purpose, we dedicate a full lesson to optimizing power consumption on the sensor node devices in the course. For this, we employ a few strategies:

Video Demo

Course Prerequisites

My Honest Thoughts On The nRF Connect SDK

Even though this is a sponsored course and blog post, you may already know that I've been working with Nordic Semiconductor's solutions and ecosystem long before they sponsored any of my work.

So, I wanted to weigh in with my honest personal opinion on the whole nRF Connect SDK ecosystem:

So, overall, this is my verdict:

The nRF Connect SDK is a pleasure to work with, and its advantages far outweigh the challenges you may encounter at the beginning of the learning journey. Once you get used to it, you want to keep on using it for every project from thereon!

Mohammad Afaneh - Novel Bits, LLC

Where To Go From Here?

Now that we've covered the application at a higher level, the next step is to register for the course and go through the complete implementation of the project! 🙂

💡
Insider Tip: Want to learn more about building scalable Bluetooth LE systems with features like Periodic Advertising with Responses (PAwR)? Check out the Bluetooth Developer Academy for expert-led courses!

Read next