Aeris Lite is an open-source printed circuit board by Fabiancrg, from the Fabiancrg/Aeris_Lite repository on GitHub. It is a 2-layer board of 92.5 × 71.5 mm with 46 parts on 29 nets, routed with 178 tracks and 17 vias.
It is built around the 74AHC1G125GW, DPS368XTSA1 and SGP41-D-R4, with the SK6812MINI-E and IRLML6344TRPBF among its other parts. Its parts include 16 capacitors, 9 resistors, 7 diodes, 4 ICs and 2 connectors. It belongs with the sensors and measurement boards of this library.
This project implements a Zigbee Router that reads air quality sensors and exposes them as standard Zigbee sensor endpoints with real-time RGB LED visual indicators.
Key Features
✅ 7 Zigbee Endpoints: Temperature, Humidity, Pressure, VOC Index, NOx Index, CO2, LED Config, Status LED
✅ 4 High-Precision Sensors: SHT45, LPS22HB, SGP41, SCD40
✅ 4 RGB Status LEDs: Independent visual feedback for CO2, VOC, NOx, and Humidity
✅ Configurable Thresholds: Adjust warning/danger levels via Zigbee2MQTT
✅ Zigbee Router: Can accept other devices (max 10 children)
✅ OTA Support: Firmware updates over Zigbee
✅ Factory Reset: Boot button for easy network reset
Pressure Compensation: Automatic compensation using LPS22HB pressure data
Calibration: Automatic self-calibration (ASC) disabled for stable baseline in controlled environments
Additional: Built-in temperature and humidity sensor (bonus)
Endpoint 6: LED Configuration
On/Off Cluster (0x0006): Master switch to enable/disable all RGB status LEDs
Custom Attributes (0xF000-0xF00C): Configurable air quality thresholds and individual LED control
Bitmask Control (0xF00C): Individual enable/disable for each of the 4 LEDs
Thresholds: Adjustable orange/red warning levels for VOC, NOx, CO2, Humidity
Endpoint 7: Status LED
On/Off Cluster (0x0006): Enable/disable Zigbee status LED
Automatic Status Indication: Shows Zigbee network connection status
🟢 Green: Successfully connected to coordinator
🟡 Blinking Green/Orange: Joining network
🟠 Orange: Not joined to network
🔴 Red: Error during initialization
GPIO: GPIO8 (built-in LED on ESP32-C6 Supermini)
RGB LED Air Quality Indicators
The device includes 4 separate RGB LEDs (SK6812) that provide real-time visual feedback for air quality:
LED Indicators
CO2 LED (GPIO1): Shows carbon dioxide level status
VOC LED (GPIO18): Shows volatile organic compounds status
NOx LED (GPIO15): Shows nitrogen oxides status
Humidity LED (GPIO14): Shows humidity level status
Color Coding
Each LED independently displays:
🟢 Green: Parameter is in good/healthy range
🟠 Orange: Parameter is not ideal (warning level)
🔴 Red: Parameter is poor/unhealthy (danger level)
Features
Independent operation: Each LED shows only its corresponding sensor
At-a-glance status: Quickly identify which parameter needs attention
Configurable thresholds: Adjust warning/danger levels via Zigbee2MQTT
Brightness control: Adjustable LED brightness (1-255) via Level Control cluster
Settings persistence: All LED settings, thresholds, and calibrations stored in NVS (survive reboots)
Dual control:
Master switch: Enable/disable all sensor LEDs at once (On/Off cluster)
Individual control: Enable/disable each LED separately via bitmask (0xF00C)
Status LED control: Independent on/off control for Zigbee status LED (endpoint 10)
Low power: LEDs only update when color changes
LED Control
Master On/Off Switch:
Turn all LEDs on/off regardless of individual settings
Located in On/Off cluster (standard Zigbee)
Individual LED Bitmask (0xF00C):
Control each LED independently using a single 8-bit value
Each bit represents one LED (1=enabled, 0=disabled)
Bit assignments:
Bit 0 (0x01): CO2 LED
Bit 1 (0x02): VOC LED
Bit 2 (0x04): NOx LED
Bit 4 (0x10): Humidity LED
Default: 0x17 (all LEDs enabled)
Examples:
text
0x17 (23) - All LEDs enabled
0x03 (3) - Only CO2 and VOC enabled
0x04 (4) - Only NOx enabled
0x05 (5) - CO2 and NOx enabled
0x00 (0) - All LEDs disabled (individual level)
Configure sensor I2C addresses and settings in aeris_driver.c:
Default I2C pins: SDA=GPIO6, SCL=GPIO7
Adjust pins in aeris_driver.h if needed
Joining the Network
On first boot, the device will automatically enter network steering mode. Once joined, the device will save the network credentials and automatically rejoin on subsequent boots.
Usage
From Zigbee Coordinator (e.g., Zigbee2MQTT, Home Assistant)
Put your coordinator in pairing mode
Power on the ESP32-C6 device
Wait for the device to join (check logs - status LED will turn green when connected)
The air quality sensor will appear with the following entities:
Temperature (°C)
Humidity (%)
Pressure (hPa)
VOC Index (1-500)
NOx Index (1-500)
CO2 (ppm)
Air Quality LED Master Switch (On/Off - controls all 4 air quality LEDs)
LED Enable Mask (0-15 - individual LED control)
LED Thresholds (configurable warning/danger levels)
Status LED Switch (On/Off - controls Zigbee status LED)
LED Control Examples
Via Zigbee2MQTT:
javascript
// Turn all sensor LEDs on (master switch)
await publish('zigbee2mqtt/aeris/set', {state: 'ON'});
// Turn all sensor LEDs off (master switch)
await publish('zigbee2mqtt/aeris/set', {state: 'OFF'});
// Set LED brightness (1-255, default 128)
await publish('zigbee2mqtt/aeris/set', {brightness: 128});
await publish('zigbee2mqtt/aeris/set', {brightness: 255}); // Max brightness
await publish('zigbee2mqtt/aeris/set', {brightness: 64}); // Dim
// Enable all 4 LEDs individually (bitmask)
await publish('zigbee2mqtt/aeris/set', {led_enable_mask: 15}); // 0x0F
// Enable only CO2 and VOC LEDs
await publish('zigbee2mqtt/aeris/set', {led_enable_mask: 3}); // 0x03
// Enable only NOx LED
await publish('zigbee2mqtt/aeris/set', {led_enable_mask: 4}); // 0x04
// Enable CO2, VOC, and Humidity LEDs
await publish('zigbee2mqtt/aeris/set', {led_enable_mask: 11}); // 0x0B
// Disable all LEDs via bitmask (master can still be ON)
Visual LED Status
Air Quality LEDs (4 RGB LEDs) provide real-time visual feedback:
CO2 LED: Green/Orange/Red based on CO2 levels
VOC LED: Green/Orange/Red based on VOC Index
NOx LED: Green/Orange/Red based on NOx Index
Humidity LED: Green/Orange/Red based on humidity range
Status LED (1 RGB LED) shows Zigbee network state:
Note: SCD40 operates at 2.4-5.5V. Use 3.3V supply. Automatic periodic measurement every 5 seconds. Benefits from ambient pressure compensation provided by LPS22HB sensor.
SK6812 RGB LED Wiring (5 LEDs)
The device uses 5 separate RGB LEDs for visual air quality feedback:
text
LED Purpose GPIO Connection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CO2 LED 1 Data line
VOC LED 18 Data line
NOx LED 15 Data line
Humidity LED 14 Data line
Status LED 8 Data line (Zigbee status)
For each LED:
Data → GPIO pin (see table above)
VCC → 5V (SK6812 specification)
GND → GND
Notes:
SK6812 LEDs use WS2812 protocol via RMT peripheral
Each LED operates independently showing its sensor's status
All 5 sensor LEDs can be enabled/disabled together via Zigbee (endpoint 9)
Status LED controlled separately via endpoint 10
Brightness adjustable 1-255 via Level Control cluster
GPIO pins are configurable in main/board.h
Total LED current (all 6 at max brightness): ~360mA
This project is provided as-is, without any warranty or guarantee of fitness for a particular purpose. Use at your own risk. The authors and contributors are not responsible for any damage, malfunction, or loss resulting from the use, modification, or installation of this hardware or software.
This is an open-source, community-driven project intended for educational and experimental use.
The hardware and firmware are not certified for commercial or safety-critical applications.
Always follow proper electrical safety procedures when working with sensors and embedded systems.
Modifying or installing this project may void your equipment warranty.
Ensure compliance with local laws and regulations regarding wireless devices.
By using this project, you acknowledge and accept these terms.
Tracking sensors for bike movements like height from pressure 9 axis and ToF with record and telemetry
61 parts2MIT
Questions
How big is the Aeris Lite PCB?
It measures 92.5 × 71.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Aeris Lite use?
46 parts, built around the 74AHC1G125GW, DPS368XTSA1, SGP41-D-R4 and SK6812MINI-E. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Aeris Lite KiCad files?
From the Fabiancrg/Aeris_Lite repository on GitHub, at the commit this page was made from: the board is PCB/aeris-lite/aeris-lite.kicad_pcb and its schematic PCB/aeris-lite/aeris-lite.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Aeris Lite design in my own project?
Its repository states no licence, so its author keeps all rights: ask Fabiancrg before reusing the design.