Files

131 lines
4.4 KiB
Markdown
Raw Permalink Normal View History

2020-03-19 21:06:45 +08:00
# ENV HAT
2019-06-06 21:34:35 +08:00
<el-tag effect="plain">SKU:U053</el-tag>
2020-03-18 20:42:38 +08:00
2020-04-08 14:09:44 +08:00
<div class="product_pic"><img src="assets\img\product_pics\hat\env_hat\env_hat_01.webp"><img src="assets\img\product_pics\hat\env_hat\env_hat_02.webp"></div>
2019-06-06 21:34:35 +08:00
2019-06-06 22:38:40 +08:00
## Description
2019-06-06 21:34:35 +08:00
2021-01-29 14:47:53 +08:00
**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.
2019-06-06 21:34:35 +08:00
2020-06-24 15:15:40 +08:00
## Product Features
2019-06-06 21:34:35 +08:00
2019-06-06 22:38:40 +08:00
- temperature:
- Range: -20 ~ 60 ℃
- Humidity:
- Range: 20 ~ 95 %RH
- Air pressure:
- Range: 300 ~ 1100hPa
2019-09-12 09:08:13 +08:00
- Typical Magnetic Field
2019-06-06 22:38:40 +08:00
- ±1300μTxy-axis),±2500μTz-axis
- magnetic field resolution: 0.3μT
2020-06-10 14:13:34 +08:00
2020-04-22 16:18:12 +08:00
## Include
2019-06-06 21:34:35 +08:00
- 1x ENV Hat
2020-02-12 16:55:19 +08:00
## Applications
2019-06-06 21:34:35 +08:00
2019-06-06 22:38:40 +08:00
- Weather Station
- Compass
2019-06-06 21:34:35 +08:00
2020-05-28 21:05:47 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
2021-02-18 21:15:57 +08:00
<tr>
<td>Communication protocol</td>
<td>I2CDHT12(0x5C),BMM150(0x10)</td>
</tr>
2020-05-28 21:05:47 +08:00
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-28 21:05:47 +08:00
<td>4g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>8g</td>
</tr>
<tr>
<td>Product Size</td>
<td>24*20*14mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>36*38*18mm</td>
</tr>
</table>
2020-03-12 15:04:30 +08:00
## Schematic
- **[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Hat/StickHat_ENV.pdf)**
2020-04-08 14:09:44 +08:00
<img src="assets\img\product_pics\hat\env_hat\env_hat_04.webp" width="50%" height="50%">
2019-06-14 19:23:21 +08:00
2020-06-18 09:30:41 +08:00
## Related Link
2019-06-06 21:34:35 +08:00
2019-06-06 22:38:40 +08:00
- **[BMP280 library](https://github.com/adafruit/Adafruit_BMP280_Library)**
2019-06-06 21:34:35 +08:00
- **[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)**
2019-06-06 21:34:35 +08:00
2020-05-07 10:52:47 +08:00
### Pin Map
<table>
2020-05-07 11:56:19 +08:00
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>3.3V</td><td>GND</td></tr>
2020-05-07 11:54:32 +08:00
<tr><td>HAT ENV</td><td>SDA</td><td>SCL</td><td>3.3V</td><td>GND</td></tr>
2020-05-07 10:52:47 +08:00
</table>
2019-06-14 19:23:21 +08:00
## 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)
2019-06-14 19:23:21 +08:00
<div class="easyloader-box">
<div style="background-color:white;">
2020-04-08 14:09:44 +08:00
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/HAT/EasyLoader_ENV_HAT.exe">Windows</a>
2020-04-14 17:55:39 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/HAT/EasyLoader_ENV_HAT.dmg">MacOS</a>
<!-- <a>Linux</a>
<a>MacOS</a> -->
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/HAT/ENV_HAT.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<a>
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
<p>Description:</p>
<p>Air pressure, temperature and humidity display, magnetic force count value display.</p>
</div>
</div>
</div>
2019-06-14 19:23:21 +08:00
2019-06-14 16:12:44 +08:00
## Example
2019-09-12 11:25:57 +08:00
2020-04-24 21:10:31 +08:00
### 1. Arduino
Please click [here](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/ENV) to get complete code
### 2. UIFlow
2020-01-03 17:14:04 +08:00
Open http://flow.m5stack.com and Load Demo
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/hat/env_hat/env.webp">
2020-01-03 17:14:04 +08:00
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/m5stickc-env-hat';
anchor_search(purchase_link);
scrollFunc();
</script>