Zigbee Realistic Use Case Weather Station

Revision as of 19:12, 12 December 2023 by Registered User (→‎Cluster implementation)

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. Zigbee implementation

For this example, several clusters Measurement are mixed for sensors, like Temperature, Water content and concentration.

  • Temperature Measurement cluster [1], is the basic cluster for the weather station.
  • Water Content Measurement [2], which includes three subclusters. The one used in the application is the Relative Humidity Percentage of water in the air.
  • Concentration Measurement, a collection of 33 subclusters [3]. The one used in the application is the CO2 cluster.

Two different sensors are integrated to implement the weather station:

  • The BME680 sensor, directly connected to the base station ZR (Nucleo board), providing real-time data for temperature, pressure, and humidity. SPI control
  • The SCD41 sensor, connected to the ZED sensor (Nucleo USB-Dongle). Control by I2C. For future upgrades, it can be used as SED.

3. Acronyms and definitions

Term Definition
ZC Zigbee Coordinator
ZR Zigbee Router
ZED Zigbee End Device
RUC Realistic Use Case
GPIO General Purpose Input Output
PWM Pulse Width Modulation


4. References