Skip to main content

5pcs M5Stack® Temperature and Humidity Sensor Air Pressure Sensing DHT12 BMP280 I2C Interface

5pcs M5Stack® Temperature and Humidity Sensor  Air Pressure Sensing DHT12 BMP280 I2C Interface
5pcs M5Stack® Temperature and Humidity Sensor  Air Pressure Sensing DHT12 BMP280 I2C Interface 5pcs M5Stack® Temperature and Humidity Sensor  Air Pressure Sensing DHT12 BMP280 I2C Interface 5pcs M5Stack® Temperature and Humidity Sensor  Air Pressure Sensing DHT12 BMP280 I2C Interface



Description:

ENV is a environment sensor, can be used for temperature, humidity, and atmospheric pressure measurement. Build with DHT12 and BMP280.

DHT12 is a upgradation version of DHT11 humidity temperature sensor, fully downward compatible, more precise and add I2C interface. BMP280 is an absolute barometric pressure sensor especially designed for mo bile applications, offers highest flexibility to optimize the device regarding power consumption, resolution and filter performance.

Feature:

  • Temperature:
    • measuring area: -20 ~ 60 ℃
    • resolution: ±0.2℃
  • Humidity:
    • measuring area: 20 ~ 95 %RH
    • resolution: 0.1%
  • Air pressure
    • measuring area: 300 ~ 1100hPa
    • resolution: ±1hPa
  • GROVE interface, support UIFlow and for Arduino
  • Two Le go installation holes
  • Product Size: 32.2mm x 24.2mm x 8.1mm
  • Product weight: 4.2g

Package Included:

  • 5 x ENV Unit
  • 5 x Grove Cable

EasyLoader

 


2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

     3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial

Example

1. for Arduino IDE

This is a ENV example, implemented reading temperature, humidity and atmospheric pressure function. 1, Before compiling, please install Adafruit BMP280 Library 2, copy Adafruit_Sensor.h to C:UsersDocumentsArduinolibrariesAdafruit_BMP280_Library

The code below is incomplete. To get the complete code, please click here.

/*    Install Adafruit BMP280 Library first.*/#include <M5Stack.h>#include "DHT12.h"#include <Wire.h> //The DHT12 uses I2C comunication.#include <Adafruit_Sensor.h>#include <Adafruit_BMP280.h>// new two objectsDHT12 dht12;Adafruit_BMP280 bme;// initializationM5.begin();Wire.begin();bme.begin();// read datafloat tmp = dht12.readTemperature();float hum = dht12.readHumidity();float pressure = bme.readPressure();


2. UIFlow

If you want the complete code, please click here.



Schematic:


PinMap:

M5Core(GROVE A) GPIO22 GPIO21 5V GND
ENV Unit SCL SDA 5V GND
 
















5pcs M5Stack® Temperature and Humidity Sensor Air Pressure Sensing DHT12 BMP280 I2C Interface See detail


Popular posts from this blog

LM2596S DC-DC 24V/12V To 5V 5A Step Down Power Supply Buck Converter Adjustable USB Step-down Charging Module

Get LM2596S DC-DC 24V/12V To 5V 5A Step Down Power Supply Buck Converter Adjustable USB Step-down Charging Module Features: Synchronous rectification scheme, wide voltage input, high current output, high efficiency. With DC plug and terminals, easy to use. With USB port, with fast-charge identification chip compatible with Andrews and iphone mobile phone.   Product parameters:   Input voltage: DC 9V - 36V The output voltage: 5.2V / 5A / 25W Output capability:  9 ~ 24V Input: Output 5.2V / 6A / 30W                              24 ~ 32V Input: Output 5.2V / 5A / 25W                              32 ~ 36V Input: Output 5.2V / 3.5A / 18W Size: 63 x 27 x 10mm (L * W * H) Weight: 22g   Package included: 1 x LM2596S DC-DC 24V/12V To 5V 5A Step Down Module LM2596S DC-DC 24V/12V To 5V 5A Step Down Power Supply Buck Converter Adjustable USB Step-down Charging Module See detail

5pcs AC 100-240V to DC 12V 5A 60W Switching Power Supply Module Driver Adapter LED Strip Light

Get 5pcs AC 100-240V to DC 12V 5A 60W Switching Power Supply Module Driver Adapter LED Strip Light Features:   1. Good anti-interference performance and high reliability. 2. Low operating temperature and long service life. 3. Wide input voltage range, (100-240V) in line with global usage standards. 4. Good insulation performance and high electric strength. 5. Full load high temperature burning machine, 100% aging test.   Specifications:   Model: HS-60-12 DC output voltage: 12V Output voltage tolerance: ±1% Rated output current: 5A Output current range: 0 - 5A Ripple and noise: 100mVp-p Line stability: ±0.5% Load stability: ±0.5% DC output power: 60W Efficiency: 85% DC voltage adjustable range: ±10% Input voltage range: 100 ~ 240VAC 47 ~ 63Hz; 120-370VDC Input current: 2A/115V 1A/230V Inrush current: cold start current 30A/115V 60A/230V Leakage current: <3.5mA/240VAC Overload protection: 105%~150% Overvoltage protection: 15%-135% Tempera...

Dual Digital LED Display Thermometer K-type Industrial Thermocouple High Temperature 0.5M Sensor Probe Embedded Tester Meter

Get Dual Digital LED Display Thermometer K-type Industrial Thermocouple High Temperature 0.5M Sensor Probe Embedded Tester Meter Features: With LED digital dual display. Using industrial grade K-Type sensor. Measuring temperature range is wide. High precision detection. With temperature compensation function. Effectively avoids the influence of ambient temperature on the sensor, and the temperature measurement is more accurate. Application: 1. Industrial temperature measurement 2. Measurement of temperature in the life 3. It can be embedded in an instrument to measure certain specific temperatures. 4. Applied to the measurement of boilers, air, liquids, etc.   Specification: Poduct type: Celsius thermometer Working voltage: DC 4-28V Double display: Internal & external temperature Celsius thermometer: Internal temperature range is -50°C ~ 125 °C, the minimum resolution is 0.1°C, the accuracy is 1°C.(Red Display) External temperature range ...