1. Introduction
This implementation can be seen as a base to implement home sensors that can be extend to thermostat or others.
Test and verify various functionality and ensure proper functioning.
2. Getting started
From the Wiki: Zigbee RUC Lighting network [1], this project adds new Router (ZR) and End Device (ZED) with Sensors measurement.
Hardware requirements
P-NUCLEO-WB55 pack [2] with its USB Dongle are required to set up the demonstration.
For more information, please visit STM32WB Development ecosystem
P-NUCLEO-WB55 | USB Dongle |
---|---|
Additionally, its uses two different sensors integrated:
- The BME680 sensor, directly connected to the base station (Nucleo board [2] used as ZR), provides real-time data for temperature, pressure, and humidity by SPI control
- The SCD41 sensor, connected to the autonomous sensor (Nucleo USB-Dongle [2] used as ZED) by I2C control. For future upgrades, the sensor measurement could be programmed as SED with the Low-Power programming.
Finally, the data are displayed by the base station. For this purpose, an e-Paper display is used by SPI control.
Black and white e-paper with a size of 4.2 inches (300 x 400 pixels) from Pervasive Displays.
Total screen refresh time: approximately 2 seconds.
Software and system requirements
For more information to build Zigbee application, please visit STM32WB Build Zigbee Project
To check messages from the board, use any convenient terminal software via the UART Interface, please visit Wiki: Zigbee Log via UART
One driver is available for each sensor and display.
3. Zigbee implementation
For this example, form the basic topology it
several clusters Measurement are mixed for sensors, like Temperature, Water content and concentration.
- Temperature Measurement cluster [3], is the basic cluster for the weather station.
- Water Content Measurement [4], which includes three subclusters. The one used in the application is the Relative Humidity Percentage.
- Concentration Measurement, a collection of 33 subclusters [5]. The one used in the application is the CO2 cluster.
4. Acronyms and definitions
Term | Definition |
---|---|
ZC | Zigbee Coordinator |
ZR | Zigbee Router |
ZED | Zigbee End Device |
SED | Sleepy End Device |
RUC | Realistic Use Case |
GPIO | General Purpose Input Output |
PWM | Pulse Width Modulation |