# ENV HAT SKU:U053
## Description **ENV HAT** It is able to detect the temperature, humidity, air pressure and magnetic field. This product relates via I2C protocol which allows you to obtain 4 types of environment data thru just 2pins, together with the tiny body, makes it a powerful application for envitonment data collecting. ## Product Features - temperature: - Range: -20 ~ 60 ℃ - Humidity: - Range: 20 ~ 95 %RH - Air pressure: - Range: 300 ~ 1100hPa - Typical Magnetic Field: - ±1300μT(x,y-axis),±2500μT(z-axis) - magnetic field resolution: 0.3μT ## Include - 1x ENV Hat ## Applications - Weather Station - Compass ## Specification
Resources Parameter
Communication protocol I2C:DHT12(0x5C),BMM150(0x10)
Net weight 4g
Gross weight 8g
Product Size 24*20*14mm
Package Size 36*38*18mm
## Schematic - **[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Hat/StickHat_ENV.pdf)** ## Related Link - **[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)** - **[BMM150 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/BMM150_datasheet_en.pdf)** ### Pin Map
M5StickCGPIO0GPIO263.3VGND
HAT ENVSDASCL3.3VGND
## 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:

Air pressure, temperature and humidity display, magnetic force count value display.

## Example ### 1. Arduino Please click [here](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/ENV) to get complete code ### 2. UIFlow Open http://flow.m5stack.com and Load Demo