Zigbee Realistic Use Case Weather Station

Revision as of 13:33, 14 December 2023 by Registered User (→‎Zigbee 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, form the basic topology it

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.
  • 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.

Additionally, the data needs to be displayed on a support, and for this purpose, an e-paper from Persuasive display with 4.2" inch size (300x400 pixel).
The ePaper offers two colors (black and white) and has total refresh screen time of approximately 2 seconds.

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