diff --git a/docs/assets/img/related_documents/Arduino_IDE/arduino_board_config.webp b/docs/assets/img/related_documents/Arduino_IDE/arduino_board_config.webp new file mode 100644 index 00000000..fac72e43 Binary files /dev/null and b/docs/assets/img/related_documents/Arduino_IDE/arduino_board_config.webp differ diff --git a/docs/assets/img/related_documents/Arduino_IDE/board_manage.webp b/docs/assets/img/related_documents/Arduino_IDE/board_manage.webp new file mode 100644 index 00000000..cd8f306c Binary files /dev/null and b/docs/assets/img/related_documents/Arduino_IDE/board_manage.webp differ diff --git a/docs/en/hat/hat_envII.md b/docs/en/hat/hat_envII.md new file mode 100644 index 00000000..c82a4dfc --- /dev/null +++ b/docs/en/hat/hat_envII.md @@ -0,0 +1,185 @@ +# ENV II + +SKU:U001-B + +
+ +## Description + +**ENV II** is an environment sensor which can sense temperature, humidity and atmospheric pressure. It is built with SHT30, BMP280 and BMM150 sensors, it is programmed over I2C. SHT30 is a digital temperature and humidity sensor with high precision and low power consumption. BMP280 is an absolute barometric pressure sensor which is especially designed for mobile applications. BMM150 is a magnetometer, which can be used to monitor the change of magnetic field and the direction of magnetic field.It offers the highest flexibility to optimize the device regarding power consumption, resolution and filter performance. + +## Product Features + +- Measurement of temperature, humidity, air pressure and magnetic field +- High-precision +- Support IIC +- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) +- Two Lego installation holes + + +## Include + +- 1x ENV II HAT +- 1x Grove Cable(5cm) + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationParameter
Max temperature measuring range-40 ~ 120 ℃
Typical temperature tolerance0 ~ 60 ℃/±0.2℃
Humidity measuring range10 ~ 90 %RH / ±2%
Air pressure measuring range300 ~ 1100hPa / ±1hPa
Communication protocolI2C:SHT30(0x44),BMP280(0x76),BMM150(0x10)
Operating temperature range32°F to 104°F ( 0°C to 40°C )
Magnetic field range typical±1300μT (x, y-axis), ±2500μT (z-axis), resolution 0.3μT
net weight4g
Gross weight8g
Product Size
Package Size35*36*18mm
Case materialPlastic ( PC )
+ + +## Comparison between SHT30 and DHT12 + + + + + + + + + + + + + + + + + + + + + + + + + + +
/SHT30DHT12
Max temperature measuring range-40 ~ 120 ℃-20 ~ 60 ℃
Typical temperature resolution0 ~ 60 ℃/±0.2℃±0.2℃
Humidity measuring range/resolution10 ~ 90 %RH / ±2%20 ~ 95 %RH/0.1%
+ +## 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
ENV II HATSCLSDA5VGND
+ +## Related Link + + - **[BMP280 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/BMP280-DS001-11_en.pdf)** + + - **[SHT30 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/SHT3x_Datasheet_digital.pdf)** + + - **[bmm150 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/BMM150_datasheet_en.pdf)** + +## Schematic + + + +## Example + +### 1. Arduino IDE + +This is an ENV example - implementing reading temperature, humidity and atmospheric pressure function. +1, Before compiling, please install `Adafruit BMP280 Library` +2, copy `Adafruit_Sensor.h` to `C:\Users\\Documents\Arduino\libraries\Adafruit_BMP280_Library` + +The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/Arduino) + +### 2. UIFlow + +If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/UIFlow) + + + + diff --git a/docs/en/module/proto13.2_mesu.md b/docs/en/module/proto13.2_mesu.md index 52410170..97711199 100644 --- a/docs/en/module/proto13.2_mesu.md +++ b/docs/en/module/proto13.2_mesu.md @@ -1,4 +1,4 @@ -# PROTO13.2-MEASU +# PROTO-MESU 13.2 SKU:M033 @@ -7,7 +7,7 @@ ## Description -**PROTO13.2-MEASU** is a stackable DIY proto module for measuring current and voltage, with Multimeter probe and matching base, which is convenient for users to make a simple multimeter. The height of the module is 13.2mm, and a DC power jack is included on the board for external power. +**PROTO-MESU 13.2** is a stackable DIY proto module for measuring current and voltage, with Multimeter probe and matching base, which is convenient for users to make a simple multimeter. The height of the module is 13.2mm, and a DC power jack is included on the board for external power. ## Product Features diff --git a/docs/index.md b/docs/index.md index f7f27c2e..1708fec0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -66,7 +66,7 @@ {a:"/#/en/module/bus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_bus_01.webp", p:"BUS", sku:"M024" ,kw:"PROTOTYPE"}, {a:"/#/en/module/goplus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_goplus_p1.webp", p:"GoPlus", sku:"M025" ,kw:"SERVO DC MOTOR IR"}, {a:"/#/en/module/proto13.2", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2.webp", p:"PROTO 13.2", sku:"M032" ,kw:"PROTO 13.2"}, - {a:"/#/en/module/proto13.2_mesu", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2_mesu.webp", p:"PROTO 13.2 MESU", sku:"M033" ,kw:"PROTO 13.2 MESU"}, + {a:"/#/en/module/proto13.2_mesu", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2_mesu.webp", p:"PROTO-MESU 13.2", sku:"M033" ,kw:"PROTO 13.2 MESU"}, //Drive Modules {a:"/#/en/module/stepmotor", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_stepmotor_01.webp", p:"STEPMOTOR", sku:"M012" ,kw:"GRBL DRV8825"}, {a:"/#/en/module/servo", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/servo_01.webp", p:"SERVO", sku:"M014" ,kw:"SERVO"}, diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index 9def9e7b..223a6836 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -67,7 +67,7 @@ {a:"/#/zh_CN/module/bus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_bus_01.webp", p:"BUS", sku:"M024" ,kw:"PROTOTYPE"}, {a:"/#/zh_CN/module/goplus", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_goplus_p1.webp", p:"GoPlus", sku:"M025" ,kw:"SERVO DC MOTOR IR"}, {a:"/#/zh_CN/module/proto13.2", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2.webp", p:"PROTO 13.2", sku:"M032" ,kw:"PROTO 13.2"}, - {a:"/#/zh_CN/module/proto13.2_mesu", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2_mesu.webp", p:"PROTO 13.2 MESU", sku:"M033" ,kw:"PROTO 13.2 MESU"}, + {a:"/#/zh_CN/module/proto13.2_mesu", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/proto_13.2_mesu.webp", p:"PROTO-MESU 13.2", sku:"M033" ,kw:"PROTO 13.2 MESU"}, //Drive Modules {a:"/#/zh_CN/module/stepmotor", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_stepmotor_01.webp", p:"STEPMOTOR", sku:"M012" ,kw:"GRBL DRV8825"}, {a:"/#/zh_CN/module/servo", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/servo_01.webp", p:"SERVO", sku:"M014" ,kw:"SERVO"}, diff --git a/docs/zh_CN/arduino/arduino_core2_development.md b/docs/zh_CN/arduino/arduino_core2_development.md new file mode 100644 index 00000000..96eb1f5c --- /dev/null +++ b/docs/zh_CN/arduino/arduino_core2_development.md @@ -0,0 +1,128 @@ +# Arduino IDE 环境搭建{docsify-ignore-all} + +## 驱动安装 + +>程序烧录前,用户请根据您使用的操作系统,点击下方按钮下载相应的CP210X驱动程序压缩包.在解压压缩包后,选择对应操作系统位数的安装包进行安装。 + +?> 对于Mac OS,在安装之前确保系统偏好设置->安全性和隐私->通用,并允许从App Store和被认可的开发者 + +> + +* __下载CP2104驱动程序__ + +
+

+ + + Windows10 + +

+ +

+ + + MacOS + +

+ +

+ + + Linux + +

+
+ +> + +## Arduino-IDE + +>[点击此处访问 Arduino 官网](https://www.arduino.cc/en/Main/Software),选择对应自己操作系统的安装包进行下载. + + + +## M5Stack的板管理 + +>1.打开 Arduino IDE,选择 `文件`->`首选项`->`设置` + + + +>2.复制下方的 M5Stack 板管理网址到 `附加开发板管理器:` 中 + +**https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json** + + + +>3.选择 `工具`->`开发板:`->`开发板管理器...` + + + +>4.在新弹出的对话框中,输入并搜索 `M5Stack`,点击`安装`(若出现搜索失败的情况,可以尝试重启Arduino程序) + + + +>5.选择 `工具`->`开发板:`->`ESP32` + +### For M5Core and M5Stick + + + +### For M5StickC + + + +### For M5StickC PLUS + + + +### For Atom Matrix/Lite + +>ATOM系列目前还未更新板选项,您可以选用M5StickC或ESP32 Pico KIT作为板配置。(注意:选用ESP32-Pico作为板配置时,波特率请采用115200) + + + +## 相关库 + +>不同的硬件设备,有着不同的案例程序库,请根据你所使用的设备选择下载.打开 Arduino IDE, 然后选择 `项目`->`加载库`->`库管理...` + + + +### For M5Core and M5Stick + +?>搜索 `M5Stack` 并安装,如下图所示 + + + +### For M5StickC + +?>搜索 `M5StickC` 并安装,如下图所示 + + + +### For M5StickC PLUS + +>到此页面下载M5StickCPlus的库[M5StickCPlus](https://github.com/m5stack/M5StickC-Plus) ,添加 "M5StickC-Plus.zip"到库管理器中 + + + + + + + +>从例程中找到M5StickCPlus + + + +### For Atom Matrix/Lite + +?>搜索 `M5Atom` 并安装,如下图所示,使用LED可能你还需要安装FastLED库 + + + + + \ No newline at end of file diff --git a/docs/zh_CN/hat/hat_envII.md b/docs/zh_CN/hat/hat_envII.md new file mode 100644 index 00000000..03816b53 --- /dev/null +++ b/docs/zh_CN/hat/hat_envII.md @@ -0,0 +1,195 @@ +# ENV II HAT + +SKU:U001-B + +
+ + +## 描述 + + +**ENV II** 是一款多功能环境传感器,内部集成SHT30、BMP280以及BMM150,用于检测温度、湿度、大气压值数据和磁场.SHT30是高精度低功耗的数字温湿度传感器,并支持I2C接口(0x44).BMP280(0x76)是一款专为移动应用而设计的绝对气压传感器,具有较高的精准度.BMM150(0x10)是磁力计,可用于监测磁场变化及磁场方向,对于需要对环境数据进行快速采集检测的项目来说, ENV-II HAT是一个兼顾性能与性价比的不错选择. + +## 产品特性 + +- 温湿度、气压、磁场测量 +- 简单易用 +- 较高精准度 +- 支持IIC +- GROVE 接口, 支持平台 [UIFlow](http://flow.m5stack.com) 、 [Arduino](http://www.arduino.cc). +- 2x LEGO 兼容孔 + +## 包含 + +- 1x ENV-II HAT +- 1x Grove 线(5cm) + +## 应用 + +- 气象站 +- 储谷仓环境监控 +- 指南针 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
最大温度测量范围-40 ~ 120 ℃
最高测量精度0 ~ 60 ℃/±0.2℃
湿度测量范围/误差10 ~ 90 %RH / ±2%
大气压测量范围/误差300 ~ 1100hPa / ±1hPa
磁力计范围/误差±1300μT (x, y-axis), ±2500μT (z-axis), 0.3μT
通信协议I2C:SHT30(0x44),BMP280(0x76), BMM150(0x10)
工作温度32°F to 104°F ( 0°C to 40°C )
净重4g
毛重8g
产品尺寸
包装尺寸35*36*18mm
外壳材质Plastic ( PC )
+ +## SHT30与DHT12对比 + + + + + + + + + + + + + + + + + + + + + + + + + + +
/SHT30DHT12
最大温度测量范围-40 ~ 120 ℃-20 ~ 60 ℃
温度测量误差0 ~ 60 ℃/±0.2℃±0.2℃
湿度测量范围/误差10 ~ 90 %RH / ±2%20 ~ 95 %RH/0.1%
+ +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS + +
+
+
+ +
+ + +

案例描述:

+

显示温湿度、大气压、磁力计数据.

+
+
+
+ +### 管脚映射 + + + + +
M5Core(GROVE A)GPIO26GPIO205VGND
ENV II HATSCLSDA5VGND
+ +## 原理图 + + + + +## 相关链接 + +- **Datasheet** + + - **[BMP280 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/BMP280-DS001-11_en.pdf)** + + - **[SHT30 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/SHT3x_Datasheet_digital.pdf)** + + - **[bmm150 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/BMM150_datasheet_en.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) + + + + diff --git a/docs/zh_CN/module/proto13.2_mesu.md b/docs/zh_CN/module/proto13.2_mesu.md index 7e6076f3..bd4d5087 100644 --- a/docs/zh_CN/module/proto13.2_mesu.md +++ b/docs/zh_CN/module/proto13.2_mesu.md @@ -1,4 +1,4 @@ -# PROTO13.2-MEASU +# PROTO-MESU 13.2 SKU:M033 @@ -7,7 +7,7 @@ ## 描述 -**PROTO13.2-MEASU**是一个可堆叠的DIY proto模块,用于测量电流和电压,带有万用表表笔和匹配插座,方便用户制作简单的万用表。模块高度为13.2mm,洞洞板设计能帮助用户快速搭建电路,板上有一个直流电源插座供外部电源使用。 +**PROTO-MESU 13.2**是一个可堆叠的DIY proto模块,用于测量电流和电压,带有万用表表笔和匹配插座,方便用户制作简单的万用表。模块高度为13.2mm,洞洞板设计能帮助用户快速搭建电路,板上有一个直流电源插座供外部电源使用。 ## 产品特性