mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add tvoc pdm
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -0,0 +1,137 @@
|
||||
# PDM
|
||||
|
||||
<el-tag effect="plain">SKU:U013</el-tag>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/unit/M5GO_Unit_adc.webp"></div>
|
||||
|
||||
## Description
|
||||
|
||||
**PDM** is a digital MEMS silicon-based microphone based on PDM (Pulse Density Modulation). The microphone has high signal-to-noise ratio, high sensitivity, low power consumption, anti-radio frequency interference, smooth frequency response and other characteristics. It automatically switches the microphone state according to the clock frequency (power down/activate/sleep)and can be widely used for audio data collection on wearable devices and smart digital devices.
|
||||
|
||||
## Product Features
|
||||
|
||||
- I2S PORT,PDM encoding output (CLK/DAT)
|
||||
- High sensitivity, high signal to noise ratio
|
||||
- Low power consumption
|
||||
- Anti-radio frequency interference
|
||||
- Compatible with LEGO
|
||||
|
||||
## Include
|
||||
|
||||
- 1x PDM mini Unit
|
||||
- 1x HY2.0 4P Cable(5CM)
|
||||
|
||||
## Applications
|
||||
|
||||
- Spectrum Analyzer
|
||||
- Recoder
|
||||
- Loudness meter
|
||||
|
||||
## Specification
|
||||
|
||||
<table class="table-1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Resources</th>
|
||||
<th>Parameter</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> Sensitivity </td>
|
||||
<td> 94dB SPL@1KHz Nom.:-22dBFS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Signal to Noise Ratio </td>
|
||||
<td> 94dB SPL@1KHz,A-weighted Nom.:61.4dB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Total Harmonic Distortion </td>
|
||||
<td> 100dB SPL@1KHz Nom.:1% </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Working voltage range </td>
|
||||
<td> 1.6 V to 3.6 V </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Working Current </td>
|
||||
<td> 600µA </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>net weight</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gross weight</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Product Size</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Package Size</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
## Related Link
|
||||
|
||||
- **Datasheet**
|
||||
- [SPM1423](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/SPM1423HM4H-B_datasheet_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)
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<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/MODULE/EasyLoader_LoRa868_MODULE.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/MODULE/EasyLoader_LoRa868_MODULE.dmg">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Module/LoRa868.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></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/pdm/pdm_sch.webp">
|
||||
|
||||
## PinMap
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core ( GROVE B )</td><td>GPIO26</td><td>GPIO36</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>PDM Unit</td><td>CLK</td><td>DATA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
The below code is incomplete(just for usage). If you want the complete code, please click [here]()
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/ADC/example_unit_adc_01.webp">
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/adc-unit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,138 @@
|
||||
# TVOC
|
||||
|
||||
<el-tag effect="plain">SKU:U001-B</el-tag>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/unit/envII/envII_01.webp"></div>
|
||||
|
||||
## Description
|
||||
|
||||
**TVOC** is a digital multi-pixel gas sensor unit with integrated SGP30. It mainly measures various VOC (volatile organic compounds) and H2 in the air. It can be programmed to detect TVOC (total volatile organic compounds) and eCO2 (equivalent carbon dioxide reading)Concentration measurement. Typical measurement accuracy is 15% within the measurement range, the SGP30 reading is internally calibrated and output, which can maintain long-term stability. SGP30 uses I2C protocol communication with on-chip humidity compensation function, which can be turned on through an external humidity sensor. If you need to obtain accurate results, you need to calibrate according to a known measurement source. SGP30 has a built-in calibration function. In addition, eCO2 is calculated based on the concentration of H2 and cannot completely replace "true" CO2 sensors for laboratory use.
|
||||
|
||||
## Product Features
|
||||
|
||||
- TVOC/eCO2 concentration detection
|
||||
- I2C communication
|
||||
- Outstanding long-term stability
|
||||
- Humidity Compensation
|
||||
- 2x LEGO™ Hole
|
||||
- HY2.0 4P interface, support [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc).
|
||||
|
||||
|
||||
## Include
|
||||
|
||||
- 1x TVOC Mini Unit
|
||||
- 1x HY2.0 Cable(5CM)
|
||||
|
||||
## 应用
|
||||
|
||||
- Air quality monitoring
|
||||
- Formaldehyde detection
|
||||
- eCO2 concentration
|
||||
|
||||
## Specification
|
||||
|
||||
<table class="table-1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Specification</th>
|
||||
<th>Parameter</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Measurement range</td>
|
||||
<td>Ethanol:0-1000ppm,H2:0-1000ppm,TVOC:0-60000 ppb,eCO2:400-60000 ppm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TVOC/eCO2 Sampling rate</td>
|
||||
<td>1Hz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TVOC/eCO2 Resolution</td>
|
||||
<td>TVOC:1/6/32bbp,eCO2:1/3/9/31ppm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Protocol</td>
|
||||
<td>I2C:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>net weight</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gross weight</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Product Size</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Package Size</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Case material</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
## 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)
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<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/UNIT/For%20M5Core/EasyLoader_ENV2_UNIT_With_M5Core.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/UNIT/EasyLoader_ENV2_UNIT_With_M5Core.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/Unit/ENVII.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>Display temperature, humidity and atmospheric pressure data.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
### PinMap
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>TVOC Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
## Related Link
|
||||
|
||||
- **[SGP30 Datasheet](hhttps://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/Sensirion_Gas_Sensors_SGP30_Datasheet.pdf)**
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/tvoc/tvoc_sch.webp">
|
||||
|
||||
## Example
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
The code below is incomplete. To get the complete code, please click [here]()
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/all/products/env-ii-unit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,134 @@
|
||||
# PDM
|
||||
|
||||
<el-tag effect="plain">SKU:U013</el-tag>
|
||||
|
||||
<div class="product_pic"><img src="assets/img/product_pics/unit/M5GO_Unit_adc.webp"></div>
|
||||
|
||||
## 描述
|
||||
|
||||
**PDM** 是一款基于PDM(脉冲密度调制)的数字式MEMS硅基麦克风,该麦克风具有高信噪比,高灵敏度,功耗低,抗射频干扰,频率响应平滑等特性,根据时钟频率自动切换麦克风状态(断电/激活/休眠),可广泛用于可穿戴设备、智能数码设备的音频数据采集。
|
||||
|
||||
## 产品特性
|
||||
|
||||
- PDM信号输出(CLK/DAT)
|
||||
- 高灵敏度、高信噪比
|
||||
- 功耗低
|
||||
- 抗射频干扰
|
||||
- 兼容LEGO
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x PDM unit
|
||||
- 1x HY2.0 4P连接线(5CM)
|
||||
|
||||
## 应用
|
||||
|
||||
- 频谱仪
|
||||
- 录音
|
||||
- 响度计
|
||||
|
||||
|
||||
## 规格参数
|
||||
|
||||
<table>
|
||||
<tr style="font-weight:bold">
|
||||
<td>规格</td>
|
||||
<td>参数</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>灵敏度</td>
|
||||
<td>94dB SPL@1KHz 典型值:-22dBFS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>信噪比</td>
|
||||
<td>94dB SPL@1KHz,A加权 典型值:61.4dB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>总谐波失真</td>
|
||||
<td>100dB SPL@1KHz 典型值:1%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>工作电压范围</td>
|
||||
<td>1.6 V至3.6 V</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>工作电流</td>
|
||||
<td>600µA</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>净重</td>
|
||||
<td>4g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>毛重</td>
|
||||
<td>19g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品尺寸</td>
|
||||
<td>32*24*10mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>包装尺寸</td>
|
||||
<td>67*53*12mm</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
- [SPM1423](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/SPM1423HM4H-B_datasheet_en.pdf)
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)**
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<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/MODULE/EasyLoader_COM_LoraWAN.zip">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/MODULE/EasyLoader_COM_LoraWAN.zip">MacOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Module/COM.LoraWAN.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>案例描述:</p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core ( GROVE A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>PDM Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/unit/pdm/pdm_sch.webp">
|
||||
|
||||
## 案例程序
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
[请点击此处获取Arduino代码]()
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_example/ADC/example_unit_adc_01.webp">
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/adc-unit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,149 @@
|
||||
# TVOC
|
||||
|
||||
<el-tag effect="plain">SKU:U001-B</el-tag>
|
||||
|
||||
<div class="product_pic"><img src=""></div>
|
||||
|
||||
|
||||
## 描述
|
||||
|
||||
**TVOC** 是一款数字式多像素气体传感器单元,内部集成SGP30,主要测量空气中的各种VOC(挥发性有机化合物)和H2,通过编程可实现对TVOC(总挥发性有机化合物)和eCO2(二氧化碳等效)浓度的测量,在测量范围内典型测量精度为15%,SGP30读数经过内部校准输出,可保持长期稳定。SGP30采用I2C协议通讯,带有片上湿度补偿功能,可通过外接湿度传感器开启该功能。如果您需要获取精确的结果,您需要根据已知测量源进行校准,SGP30内置校准功能。此外,eCO2是根据H2浓度计算得出的,并不能完全替代CO2传感器。
|
||||
|
||||
## 产品特性
|
||||
|
||||
- TVOC与eCO2浓度检测
|
||||
- I2C通讯
|
||||
- 读数稳定
|
||||
- 具备片上湿度补偿功能
|
||||
- 2x LEGO 兼容孔
|
||||
- HY2.0 4P 接口, 支持平台 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc).
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x TVOC Unit
|
||||
- 1x Grove 线(5CM)
|
||||
|
||||
## 应用
|
||||
|
||||
- 空气质量监测
|
||||
- 甲醛检测
|
||||
- eCO2浓度
|
||||
|
||||
## 规格参数
|
||||
|
||||
<table class="table-1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>规格</th>
|
||||
<th>参数</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>测量范围</td>
|
||||
<td>Ethanol:0-1000ppm,H2:0-1000ppm,TVOC:0-60000 ppb,eCO2:400-60000 ppm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TVOC与eCO2采样率</td>
|
||||
<td>1Hz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TVOC与eCO2采样精度</td>
|
||||
<td>TVOC:1/6/32bbp,eCO2:1/3/9/31ppm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>通信协议</td>
|
||||
<td>I2C:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>净重</td>
|
||||
<td>5g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>毛重</td>
|
||||
<td>17g</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>产品尺寸</td>
|
||||
<td>24.2*32.2*8.1mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>包装尺寸</td>
|
||||
<td>67*53*12mm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>外壳材质</td>
|
||||
<td>Plastic ( PC )</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)**
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<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/UNIT/For%20M5Core/EasyLoader_ENV2_UNIT_With_M5Core.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/UNIT/EasyLoader_ENV2_UNIT_With_M5Core.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/Unit/ENVII.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>案例描述:</p>
|
||||
<p>显示温湿度与大气压数据.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>TVOC Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/unit/envII_sch.webp">
|
||||
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
|
||||
- [SGP30](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/Sensirion_Gas_Sensors_SGP30_Datasheet.pdf)
|
||||
|
||||
## 案例程序
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
该案例将使用 ENVII Unit ,实现温度、湿度、大气压数据的读取.
|
||||
1, 在进行程序编译前,请安装`Adafruit BMP280 Library`
|
||||
2, 并将`Adafruit_Sensor.h`复制至`C:\Users\<user_name>\Documents\Arduino\libraries\Adafruit_BMP280_Library`
|
||||
|
||||
[请点击此处下载Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/Arduino)
|
||||
|
||||
### 2. UIFlow
|
||||
|
||||
[请点击此处UIFlow](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/UIFlow)
|
||||
|
||||
<img src="assets/img/product_pics/unit/envII/envII_03.webp" width="60%">
|
||||
|
||||
<script>
|
||||
|
||||
var purchase_link = 'https://m5stack.com/collections/all/products/env-ii-unit';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user