5.4 KiB
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
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
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, M5StickC/V/T/ATOM series can be used without driver)
Schematic
PinMap
| M5Core(GROVE A) | GPIO22 | GPIO21 | 5V | GND |
| ENV Unit | SCL | SDA | 5V | GND |
Example
1. Arduino
This is a ENV example, implemented with reading temperature, humidity and atmospheric pressure functionalities.
- Before compiling, please install
Adafruit BMP280 Library - copy
Adafruit_Sensor.htoC:\Users\<user_name>\Documents\Arduino\libraries\Adafruit_BMP280_Library
The code below is incomplete. To get the complete code, please click here
2. UIFlow
Last updated: 2020-12-11
<script> var purchase_link = 'https://m5stack.com/collections/m5-unit/products/mini-env-sensor-unit'; anchor_search(purchase_link); scrollFunc(); </script>
