A simple firmware using the esp-matter SDK to develop a Matter-enabled device with the following features:
- Temperature & Humidity: SHT40 sensor (I2C)
- Air Quality: ENS160 sensor (I2C)
The firmware provides a flexible design to easily enable or disable sensors and features based on your requirements.
Requirements
- ESP-IDF installed and configured
- esp-matter installed and configured Steps
- Clone the repository
- Set I2C pins for SHT40 and ENS160 sensors using Kconfig
- Build and flash the firmware
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|---|
This project includes a custom PCB integrating a Sensirion SHT40 and an ENS160 from Adafruit, with a Hi-Link converter to run the device from AC. The board is powered by an ESP32 Devkit.
- Panel: Good Display GDEQ037T31 (3.7" 240x416), landscape (rotation 3)
- Driver stack: CalEPD + Adafruit-GFX (local components)
- Layout: two-column split (temp on left, air-quality on right); top shows time, bottom shows product name/version
- Pins: MOSI 19, CLK 18, CS 4, DC 5, RST 6, BUSY 7 (set via menuconfig)
- Notes: fast mode enabled; display updates run in a dedicated task (non-blocking)
Made in Kolkata with ❤️