# ENV SKU:U001
## Description **ENV** is a environmental sensor, can be used for temperature, humidity, and atmospheric pressure measurement. The ENV sensor integrates DHT12 and BMP280 sensors. DHT12 is an upgraded version of DHT11 humidity temperature sensor: complete downward compatibility, higher precision and added I2C interface. BMP280 is an absolute barometric pressure sensor especially designed for mobile applications, offers highest flexibility to optimize the device regarding power consumption, resolution and filter performance. **I2C address:DHT12(0x5C)、BMP280(0x76)** ## Product Features - GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) - Two Lego installation holes ## Include - 1x ENV Unit - 1x Grove Cable ## Specification
Resources Parameter
Temperature measuring range/resolution -20 ~ 60 ℃ / ±0.2℃
Humidity measuring range/resolution 20 ~ 95 %RH / ±0.1%
Air pressure measuring range/resolution 300 ~ 1100hPa / ±1hPa
communication protocol I2C:DHT12(0x5C),BMP280(0x76)
Operating temperature 32°F to 104°F ( 0°C to 40°C )
Net weight 4g
Gross weight 17g
Product Size 24.2*32.2*8.1mm
Package Size 67*53*12mm
Material Plastic(PC)
## Related Links - **[BMP280 library](https://github.com/adafruit/Adafruit_BMP280_Library)** - **[BMP280 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/BMP280-DS001-11_en.pdf)** - **[DHT12 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/DHT12_en.pdf)** ## EasyLoader >EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)

Description:

Display temperature, humidity and atmospheric pressure data.

## Schematic ## PinMap
M5Core(GROVE A)GPIO22GPIO215VGND
ENV UnitSCLSDA5VGND
## Example ### 1. Arduino This is a ENV example, implemented with reading temperature, humidity and atmospheric pressure functionalities. 1. Before compiling, please install `Adafruit BMP280 Library` 2. copy `Adafruit_Sensor.h` to `C:\Users\\Documents\Arduino\libraries\Adafruit_BMP280_Library` The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ENV_DHT12_BMP280) ### 2. UIFlow - [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENV/UIFlow) Last updated: 2020-12-11