diff --git a/docs/assets/img/product_pics/unit/pdm/pdm_sch.webp b/docs/assets/img/product_pics/unit/pdm/pdm_sch.webp new file mode 100644 index 00000000..f4d70686 Binary files /dev/null and b/docs/assets/img/product_pics/unit/pdm/pdm_sch.webp differ diff --git a/docs/assets/img/product_pics/unit/tvoc/tvoc_sch.webp b/docs/assets/img/product_pics/unit/tvoc/tvoc_sch.webp new file mode 100644 index 00000000..921577c2 Binary files /dev/null and b/docs/assets/img/product_pics/unit/tvoc/tvoc_sch.webp differ diff --git a/docs/en/unit/pdm.md b/docs/en/unit/pdm.md new file mode 100644 index 00000000..90931b6e --- /dev/null +++ b/docs/en/unit/pdm.md @@ -0,0 +1,137 @@ +# PDM + +SKU:U013 + +
+ +## 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Sensitivity 94dB SPL@1KHz Nom.:-22dBFS
Signal to Noise Ratio 94dB SPL@1KHz,A-weighted Nom.:61.4dB
Total Harmonic Distortion 100dB SPL@1KHz Nom.:1%
Working voltage range 1.6 V to 3.6 V
Working Current 600µA
net weight
Gross weight
Product Size
Package Size
+ + + +## 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) + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

Description:

+

+
+
+
+ +## Schematic + + + +## PinMap + + + + +
M5Core ( GROVE B )GPIO26GPIO365VGND
PDM UnitCLKDATA5VGND
+ +## Example + +### 1. Arduino IDE + +The below code is incomplete(just for usage). If you want the complete code, please click [here]() + + + + \ No newline at end of file diff --git a/docs/en/unit/tvoc.md b/docs/en/unit/tvoc.md new file mode 100644 index 00000000..8a877f20 --- /dev/null +++ b/docs/en/unit/tvoc.md @@ -0,0 +1,138 @@ +# TVOC + +SKU:U001-B + +
+ +## 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationParameter
Measurement rangeEthanol:0-1000ppm,H2:0-1000ppm,TVOC:0-60000 ppb,eCO2:400-60000 ppm
TVOC/eCO2 Sampling rate1Hz
TVOC/eCO2 ResolutionTVOC:1/6/32bbp,eCO2:1/3/9/31ppm
ProtocolI2C:
net weight
Gross weight
Product Size
Package Size
Case material
+ + +## 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) + +
+
+
+
+ Windows + MacOS + +
+
+
+ +
+ + +

Description:

+

Display temperature, humidity and atmospheric pressure data.

+
+
+
+ +### PinMap + + + + +
M5Core(GROVE A)GPIO22GPIO215VGND
TVOC UnitSCLSDA5VGND
+ +## Related Link + + - **[SGP30 Datasheet](hhttps://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/Sensirion_Gas_Sensors_SGP30_Datasheet.pdf)** + +## Schematic + + + +## Example + +### 1. Arduino IDE + +The code below is incomplete. To get the complete code, please click [here]() + + + diff --git a/docs/zh_CN/unit/pdm.md b/docs/zh_CN/unit/pdm.md new file mode 100644 index 00000000..2a4cc5a7 --- /dev/null +++ b/docs/zh_CN/unit/pdm.md @@ -0,0 +1,134 @@ +# PDM + +SKU:U013 + +
+ +## 描述 + +**PDM** 是一款基于PDM(脉冲密度调制)的数字式MEMS硅基麦克风,该麦克风具有高信噪比,高灵敏度,功耗低,抗射频干扰,频率响应平滑等特性,根据时钟频率自动切换麦克风状态(断电/激活/休眠),可广泛用于可穿戴设备、智能数码设备的音频数据采集。 + +## 产品特性 + +- PDM信号输出(CLK/DAT) +- 高灵敏度、高信噪比 +- 功耗低 +- 抗射频干扰 +- 兼容LEGO + +## 包含 + +- 1x PDM unit +- 1x HY2.0 4P连接线(5CM) + +## 应用 + +- 频谱仪 +- 录音 +- 响度计 + + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
灵敏度94dB SPL@1KHz 典型值:-22dBFS
信噪比94dB SPL@1KHz,A加权 典型值:61.4dB
总谐波失真100dB SPL@1KHz 典型值:1%
工作电压范围1.6 V至3.6 V
工作电流600µA
净重4g
毛重19g
产品尺寸32*24*10mm
包装尺寸67*53*12mm
+ + +## 相关链接 + +- **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系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

+
+
+
+ +### 管脚映射 + + + + +
M5Core ( GROVE A )GPIO22GPIO215VGND
PDM UnitSCLSDA5VGND
+ +## 原理图 + + + +## 案例程序 + +### 1. Arduino IDE + +[请点击此处获取Arduino代码]() + + + + + \ No newline at end of file diff --git a/docs/zh_CN/unit/tvoc.md b/docs/zh_CN/unit/tvoc.md new file mode 100644 index 00000000..791c5c0d --- /dev/null +++ b/docs/zh_CN/unit/tvoc.md @@ -0,0 +1,149 @@ +# TVOC + +SKU:U001-B + +
+ + +## 描述 + +**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浓度 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
测量范围Ethanol:0-1000ppm,H2:0-1000ppm,TVOC:0-60000 ppb,eCO2:400-60000 ppm
TVOC与eCO2采样率1Hz
TVOC与eCO2采样精度TVOC:1/6/32bbp,eCO2:1/3/9/31ppm
通信协议I2C:
净重5g
毛重17g
产品尺寸24.2*32.2*8.1mm
包装尺寸67*53*12mm
外壳材质Plastic ( PC )
+ +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS + +
+
+
+ +
+ + +

案例描述:

+

显示温湿度与大气压数据.

+
+
+
+ +### 管脚映射 + + + + +
M5Core(GROVE A)GPIO22GPIO215VGND
TVOC UnitSCLSDA5VGND
+ +## 原理图 + + + + +## 相关链接 + +- **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\\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) + + + +