English
English
简体中文
日本語

Chain ENV

SKU:U234

Description

Chain ENV is an environmental sensing node in the M5Stack Chain series. It integrates the AHT20 temperature and humidity sensor and the SPA06 barometric pressure sensor, providing air temperature, relative humidity, atmospheric pressure, and calculated altitude data in one compact node. It also includes a programmable RGB LED for status indication. For example, when the temperature or humidity exceeds the configured threshold and triggers an alarm, the indicator LED turns red.

Chain ENV integrates an STM32G031G8U6 main controller and uses a UART serial daisy-chain communication protocol. With two HY2.0-4P expansion interfaces, it can be daisy-chained with additional Chain series devices to build richer interactive and monitoring applications. It is suitable for environmental monitoring, smart home, weather stations, altitude tracking, and other applications.

Features

  • M5Stack Chain series
  • AHT20 temperature and humidity sensor
    • Temperature accuracy: ±0.5 °C
    • Humidity accuracy: ±5 %RH
  • SPA06 barometric pressure sensor
    • Pressure accuracy: ±0.3 hPa
    • Altitude accuracy: ±1 m
    • Altitude measurement with sea-level pressure calibration
      • Calibrate using the local sea-level pressure value
      • Calibrate using the current altitude
  • 1x RGB LED
  • 2x HY2.0-4P expansion interfaces for extending Chain series devices

Includes

  • 1 x Chain ENV
  • 1 x Chain Bridge

Applications

  • Environmental monitoring / weather station
  • Smart agriculture
  • Smart home control
  • Mountaineering altitude tracking

Specifications

Specification Parameter
MCU STM32G031G8U6
Temperature and Humidity Sensor AHT20
Barometric Pressure Sensor SPA06
Temperature Measurement Range -40 ~ 85 °C (AHT20)
Temperature Accuracy ±0.5 °C (AHT20)
Humidity Measurement Range 0 ~ 100 %RH (AHT20)
Humidity Accuracy ±5 %RH
Pressure Accuracy ±0.3 hPa
Altitude Accuracy ±1 m
Pressure Measurement Range 300 ~ 1100 hPa
Communication UART 115200bps@8N1
Expansion Interface 2x HY2.0-4P
RGB LED 1x WS2812C
Product Size 24.0 x 24.0 x 16.0mm
Product Weight 5.5g
Package Size 138.0 x 93.0 x 19.0mm
Gross Weight 8.7g

Learn

Connection Instructions

Use a Chain Bridge connector to connect the Chain main controller (such as Chain DualKey / Chain Captain) and the various Chain series devices. Note the orientation when connecting; the triangular arrow points outward from the main controller, as shown below:

Calibration Instructions

Chain ENV provides altitude measurement and requires calibration during use:

Because the actual altitude is calculated from the difference between the local sea-level pressure and the pressure measured at the current location, one value must be known before the other can be calculated. The following two calibration methods are supported:

  • Enter the local sea-level pressure directly: The device calculates the current altitude based on the measured pressure.
  • Enter the current altitude directly: The device automatically calculates the current sea-level pressure and uses it for subsequent altitude readings.

Schematics

PinMap

RGB LED

STM32G031 PA8
WS2812C RGB

UART

STM32G031 PB6 PB7 PA2 PA3
UART1 TXD1 RXD1
UART2 TXD2 RXD2

Sensor

STM32G031 PA12 (PA10) PA11 (PA9)
AHT20 SDA SCL
SPA06 SCK SDI

Model Size

Structure

Datasheets

Softwares

Arduino

UiFlow2

Internal Firmware

Protocol

Video

Page Tools
PDF