{"product_id":"m5stack-chain-env-aht20-spa06-environmental-sensor","title":"M5Stack Chain ENV AHT20\/SPA06 Temperature, Humidity \u0026 Pressure Sensor","description":"\u003ch2\u003eDescription\u003c\/h2\u003e\u003cp\u003e\u003cstrong\u003eM5Stack Chain ENV\u003c\/strong\u003e is a compact \u003cstrong\u003eenvironmental sensor\u003c\/strong\u003e node for the modular Chain series. Its \u003cstrong\u003eAHT20\u003c\/strong\u003e measures temperature and relative humidity, while the \u003cstrong\u003eSPA06\u003c\/strong\u003e measures atmospheric pressure. Calibrated pressure readings also support calculated altitude. The \u003cstrong\u003etemperature and humidity sensor\u003c\/strong\u003e adds related environmental measurements to a Chain setup in a 24 × 24 × 16 mm enclosure.\u003c\/p\u003e\u003cp\u003eAn \u003cstrong\u003eSTM32G031G8U6\u003c\/strong\u003e processes measurements and communicates through a \u003cstrong\u003eUART serial daisy-chain protocol\u003c\/strong\u003e. Two HY2.0-4P interfaces allow additional Chain devices to be connected. A compatible host such as \u003ca href=\"https:\/\/upenelab.com\/products\/m5stack-chain-captain-esp32-s3-controller\"\u003eM5Stack Chain Captain\u003c\/a\u003e can display readings and run the application. Chain ENV is not a conventional Grove I²C module connected directly to a generic sensor port.\u003c\/p\u003e\u003cp\u003eA programmable RGB LED can indicate measurement status or configured thresholds. The \u003cstrong\u003ebarometric pressure sensor\u003c\/strong\u003e supports local environmental observation and calibrated height estimation. \u003cstrong\u003eAltitude is calculated from pressure rather than measured by GPS; a known sea-level pressure or current altitude is required as the reference.\u003c\/strong\u003e\u003c\/p\u003e\u003ch2\u003eFeatures\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eThree environmental quantities:\u003c\/strong\u003e Chain ENV combines air temperature, relative humidity and atmospheric pressure in one small node.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAHT20 sensing:\u003c\/strong\u003e The temperature and humidity sensor has stated accuracies of ±0.5°C and ±5%RH.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSPA06 pressure measurement:\u003c\/strong\u003e The barometric pressure sensor covers 300–1100 hPa with stated pressure accuracy of ±0.3 hPa.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCalibrated altitude:\u003c\/strong\u003e The altitude sensor can use local sea-level pressure or a known current height as its reference; stated altitude accuracy is ±1 m under appropriate conditions.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSerial Chain interface:\u003c\/strong\u003e Two HY2.0-4P ports and UART at 115200bps, 8N1 connect the environmental sensor to a suitable Chain host.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eProgrammable indication:\u003c\/strong\u003e A WS2812C RGB LED can indicate a threshold alarm when the required logic is configured.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmall and lightweight:\u003c\/strong\u003e Chain ENV weighs 5.5g and includes one Chain Bridge for connection.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eSpecifications\u003c\/h2\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct\u003c\/th\u003e\n\u003ctd\u003eM5Stack Chain ENV\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eSKU\u003c\/th\u003e\n\u003ctd\u003eM5-U234 \/ U234\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMCU\u003c\/th\u003e\n\u003ctd\u003eSTM32G031G8U6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eTemperature and Humidity Sensor\u003c\/th\u003e\n\u003ctd\u003eAHT20\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eBarometric Pressure Sensor\u003c\/th\u003e\n\u003ctd\u003eSPA06\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eTemperature Measurement Range\u003c\/th\u003e\n\u003ctd\u003e−40 ~ 85°C (AHT20)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eTemperature Accuracy\u003c\/th\u003e\n\u003ctd\u003e±0.5°C (AHT20)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eHumidity Measurement Range\u003c\/th\u003e\n\u003ctd\u003e0 ~ 100%RH (AHT20)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eHumidity Accuracy\u003c\/th\u003e\n\u003ctd\u003e±5%RH\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePressure Accuracy\u003c\/th\u003e\n\u003ctd\u003e±0.3 hPa\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eAltitude Accuracy\u003c\/th\u003e\n\u003ctd\u003e±1 m; pressure-derived value requiring calibration\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePressure Measurement Range\u003c\/th\u003e\n\u003ctd\u003e300 ~ 1100 hPa\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCommunication\u003c\/th\u003e\n\u003ctd\u003eUART 115200bps @ 8N1; Chain protocol\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eExpansion Interface\u003c\/th\u003e\n\u003ctd\u003e2 × HY2.0-4P\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eRGB LED\u003c\/th\u003e\n\u003ctd\u003e1 × WS2812C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Size\u003c\/th\u003e\n\u003ctd\u003e24.0 × 24.0 × 16.0 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProduct Weight\u003c\/th\u003e\n\u003ctd\u003e5.5g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003ePackage Size\u003c\/th\u003e\n\u003ctd\u003e138.0 × 93.0 × 19.0 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGross Weight\u003c\/th\u003e\n\u003ctd\u003e8.7g\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eCompatibility\u003c\/th\u003e\n\u003ctd\u003eM5Stack Chain series with a suitable host, such as Chain Captain or Chain DualKey\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch2\u003eApplications\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eIndoor monitoring:\u003c\/strong\u003e The environmental sensor supplies temperature, humidity and pressure readings for custom displays and time-series logging.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompact weather station:\u003c\/strong\u003e Observe local pressure trends with the barometric pressure sensor while displaying temperature and humidity; consider the sensing opening and enclosure arrangement.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmart-agriculture prototypes:\u003c\/strong\u003e Use the temperature and humidity sensor in protected monitoring experiments. Rain, irrigation and condensation need suitable protection; no IP rating is specified.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHome-automation experiments:\u003c\/strong\u003e Integrate Chain ENV into custom threshold logic, using its RGB LED or other Chain nodes for feedback.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRelative altitude tracking:\u003c\/strong\u003e Calibrate the altitude sensor before use and evaluate pressure changes. Weather-related pressure variation can change the calculated height.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eEducation and modular acquisition:\u003c\/strong\u003e Use the environmental sensor to explore raw pressure, sea-level reference pressure, calculated altitude and serial bus communication.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eProduct List\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e1 × Chain ENV\u003c\/li\u003e\n\u003cli\u003e1 × Chain Bridge\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eOther Content\u003c\/h2\u003e\u003ch3\u003eFeature Overview\u003c\/h3\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-detail-01.webp?v=1795157258\" alt=\"M5Stack Chain ENV Feature Overview\"\u003e\u003ch3\u003eConnection and Protocol\u003c\/h3\u003e\u003cp\u003eFit the Chain Bridge with its triangular mark pointing away from the main controller toward the next node. Check contacts, direction and supply before powering the setup. Chain ENV uses the Chain UART protocol; matching connector shapes do not make it interchangeable with a Grove I²C module. Use the correct pin assignment and compatible firmware.\u003c\/p\u003e\u003ch3\u003eChain Connection\u003c\/h3\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-detail-02.webp?v=1795157266\" alt=\"M5Stack Chain ENV Chain Connection\"\u003e\u003ch3\u003eConnector View\u003c\/h3\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-detail-03.webp?v=1795157273\" alt=\"M5Stack Chain ENV Connector View\"\u003e\u003ch3\u003eAltitude Calibration\u003c\/h3\u003e\u003cp\u003eThe altitude sensor supports two reference methods. Enter current local sea-level pressure to calculate altitude, or enter a known current altitude. With the second method, Chain ENV calculates the corresponding sea-level pressure for subsequent measurements. Actual station pressure and pressure corrected to sea level are different quantities.\u003c\/p\u003e\u003cp\u003eCheck the reference after weather changes or moving to another location. The ±1 m figure is not an unconditional accuracy guarantee for every installation, weather condition or time interval. The barometric pressure sensor does not replace satellite-based positioning.\u003c\/p\u003e\u003ch3\u003eSetup and Measurement Environment\u003c\/h3\u003e\u003cp\u003eBegin by detecting Chain ENV with a compatible controller and driver library. Read temperature, humidity and pressure first, then set the altitude reference and desired LED thresholds. An alarm requires the appropriate configuration or application logic; it is not a guaranteed autonomous safety function.\u003c\/p\u003e\u003cp\u003eProvide representative airflow around the temperature and humidity sensor and consider nearby heat sources. Published measurement ranges do not establish suitability for immersion or unprotected outdoor use. The environmental sensor is for electronics and monitoring projects, not certified safety-critical instrumentation.\u003c\/p\u003e\u003ch3\u003eRear Housing and Interfaces\u003c\/h3\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-detail-04.webp?v=1795157280\" alt=\"M5Stack Chain ENV Rear Housing and Interfaces\"\u003e\u003ch3\u003eInternal Signal Mapping\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eRGB LED\u003c\/th\u003e\n\u003ctd\u003eSTM32 PA8 → WS2812C RGB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eUART1\u003c\/th\u003e\n\u003ctd\u003ePB6 TXD1 \/ PB7 RXD1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eUART2\u003c\/th\u003e\n\u003ctd\u003ePA2 TXD2 \/ PA3 RXD2\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eAHT20\u003c\/th\u003e\n\u003ctd\u003ePA12 (PA10) SDA \/ PA11 (PA9) SCL\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eSPA06\u003c\/th\u003e\n\u003ctd\u003ePA12 (PA10) SCK \/ PA11 (PA9) SDI\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch3\u003ePackage and Contents\u003c\/h3\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-detail-05.webp?v=1795157287\" alt=\"M5Stack Chain ENV Package and Contents\"\u003e\u003ch2\u003eResources\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/docs.m5stack.com\/en\/chain\/Chain_ENV\" target=\"_blank\" rel=\"nofollow noopener\"\u003eChain ENV Documentation\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1303\/Chain_ENV_SCH_V1.0_20260722.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eV1.0 Schematic\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1303\/Chain_ENV_model_size.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eMechanical Dimension Drawing\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1303\/AHT20-datasheet-en.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eAHT20 Datasheet\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/m5stack-doc.oss-cn-shenzhen.aliyuncs.com\/1303\/SPA06-datasheet.pdf\" target=\"_blank\" rel=\"nofollow noopener\"\u003eSPA06 Datasheet\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5Chain\" target=\"_blank\" rel=\"nofollow noopener\"\u003eChain Driver Library\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5Chain-Series-Internal-FW\/tree\/main\/Chain-ENV\" target=\"_blank\" rel=\"nofollow noopener\"\u003eChain ENV Internal Firmware\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5_Hardware\/tree\/master\/Products\/U234_Chain_ENV\/Structures\" target=\"_blank\" rel=\"nofollow noopener\"\u003eEnclosure and Structure Files\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eFAQ\u003c\/h2\u003e\u003ch3\u003eCan Chain ENV connect directly to a Grove I²C port?\u003c\/h3\u003e\u003cp\u003eNo. This environmental sensor uses the UART-based Chain protocol. Both pin assignments and host software support must match.\u003c\/p\u003e\u003ch3\u003eHow do I calibrate altitude?\u003c\/h3\u003e\u003cp\u003eProvide the altitude sensor with either local sea-level pressure or a known current height. The remaining reference quantity is calculated from that input.\u003c\/p\u003e\u003ch3\u003eIs Chain Captain included?\u003c\/h3\u003e\u003cp\u003eNo. The package contains one Chain ENV and one Chain Bridge. A suitable main controller is required separately.\u003c\/p\u003e\u003ch3\u003eDoes the RGB LED automatically provide every alarm function?\u003c\/h3\u003e\u003cp\u003eThe LED is programmable. Configure the required threshold and alarm behavior through suitable settings or application software.\u003c\/p\u003e\u003ch3\u003eIs it waterproof or a GPS altitude device?\u003c\/h3\u003e\u003cp\u003eNo water-protection rating is specified. The barometric pressure sensor provides calibrated pressure-derived altitude, not GPS position or GPS height.\u003c\/p\u003e","brand":"M5Stack","offers":[{"title":"Default Title","offer_id":48838878068934,"sku":"M5-U234","price":19.49,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0621\/0050\/4774\/files\/m5-u234-global-media-01.webp?v=1795157295","url":"https:\/\/upenelab.com\/products\/m5stack-chain-env-aht20-spa06-environmental-sensor","provider":"OpenELAB Technology Ltd.","version":"1.0","type":"link"}