diff --git a/docs/assets/img/product_pics/module/com.x_gps/com.x_gps_sch.webp b/docs/assets/img/product_pics/module/com.x_gps/com.x_gps_sch.webp new file mode 100644 index 00000000..4d43928a Binary files /dev/null and b/docs/assets/img/product_pics/module/com.x_gps/com.x_gps_sch.webp differ diff --git a/docs/assets/img/product_pics/module/com.x_gps/comx_gps.webp b/docs/assets/img/product_pics/module/com.x_gps/comx_gps.webp new file mode 100644 index 00000000..242e3cc0 Binary files /dev/null and b/docs/assets/img/product_pics/module/com.x_gps/comx_gps.webp differ diff --git a/docs/assets/img/product_pics/unit/a_meter/ameter.webp b/docs/assets/img/product_pics/unit/a_meter/ameter.webp new file mode 100644 index 00000000..c2026094 Binary files /dev/null and b/docs/assets/img/product_pics/unit/a_meter/ameter.webp differ diff --git a/docs/assets/img/product_pics/unit/mic/mic.webp b/docs/assets/img/product_pics/unit/mic/mic.webp new file mode 100644 index 00000000..dcfa38ad Binary files /dev/null and b/docs/assets/img/product_pics/unit/mic/mic.webp differ diff --git a/docs/assets/img/product_pics/unit/v_meter/vmeter.webp b/docs/assets/img/product_pics/unit/v_meter/vmeter.webp new file mode 100644 index 00000000..6d29b381 Binary files /dev/null and b/docs/assets/img/product_pics/unit/v_meter/vmeter.webp differ diff --git a/docs/en/module/comx_gps.md b/docs/en/module/comx_gps.md index 95ca612b..42e765e6 100644 --- a/docs/en/module/comx_gps.md +++ b/docs/en/module/comx_gps.md @@ -1,8 +1,8 @@ # COM.GPS -SKU:M003 +SKU:M031-G -
+
## Description @@ -152,7 +152,7 @@ For more information,please refer to [u-blox 8 / u-blox M8 Receiver Description ## Schematic - + \ No newline at end of file diff --git a/docs/en/unit/ameter.md b/docs/en/unit/ameter.md new file mode 100644 index 00000000..4de82496 --- /dev/null +++ b/docs/en/unit/ameter.md @@ -0,0 +1,166 @@ +# A Meter Unit{docsify-ignore-all} + +SKU:U086 + +
+ +## Description + +**A Meter Unit** is a current meter that can monitor the current in real time. The 16-bit ADC (analog-to-digital) converter ADS1115 is used internally to communicate through I2C (0X48). In order to ensure the measurement accuracy, there is a built-in DC-DC isolated power supply, and the I2C interface is also electrically isolated through the low-power isolator CA-IS3020S. This prevents noise and surges on the data bus or other circuits from entering the local ground terminal to interfere or damage sensitive circuits. Each Unit is individually calibrated when leaving the factory, with an effective accuracy of ±1999 (3 digits after the decimal point) The unit has a maximum measurement current of ±4A, and an internal integrated 4A fuse to prevent excessive measurement current from burning out the circuit. Minimal Resolution reaches 0.15626mA. + +>? EEPROM (0x51) has built-in calibration parameters when leaving the factory. Please do not write to the EEPROM, otherwise the calibration data will be overwritten and the measurement results will be inaccurate. + +## Product Features + +- ±4A range +- 16-bit ADC conversion +- LED power indicator +- Overcurrent protection +- Minimal Resolution(mA) reaches 0.15626 +- No recalibration (EEPROM factory write) +- Accuracy up to ±1999 +- Built-in CA-IS3020S isolation chip, anti-interference +- Isolated DC-DC +- Signal transmission rate: up to 1 MHz +- Up to 5000 VRMS isolation withstand voltage +- Development platform: Arduino, UIFlow (Blockly, Pyhton) +- 2x LEGO compatible holes + +## Includes + +- 1x A Meter Unit +- 1x Grove Cable + +## Application + +- galvanometer + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Withstand voltage5000V
Measuring range±4A
ProtocolI2C
Net Weight9g
Gross Weight24g
Product Size65*24*8mm
Package Size67*53*12mm
+ + ## Measurement Range Gain Setting + +**Different range resolution is different, the error value of the result is different, please set the appropriate range according to the needs.Do not write EEPROM.If you really want to save the custom calibration values to EEPROM,Using the following statement, the factory data will be lost once written** + +```Arduino + +bool Ammeter::saveCalibration2EEPROM(ammeterGain_t gain, int16_t hope, int16_t actual) + +//@Parameter: ammeterGarin_t gain //Set Gain +########################################### +# // | PAG | Max Input Voltage(V) | # +# // | PAG_4096 | 64 | # +# // | PAG_2048 | 32 | # +# // | PAG_512 | 16 | # +# // | PAG_256 | 8 | # +########################################### +//@Parameter: int16_t hope // Set target value +//@Parameter: int16_t actual //ADC raw value + +``` + + + + +
ADC1115_Reference calibrationCalibration current(A)Expected reading(int16)
PGA512(O.512)26400
+ + + + + + + + +
Current measurement rangeMaximum input current(A)Power Disspation(W)Minimum resolution(mA)Gain factor
4.09640.9683.886082.50.125
2.04820.4820.971521.250.0625
1.02410.245.242880.6250.03125
0.5125.121.310720.31250.015625
0.2562.560.327680.156260.007813
+ + +## 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:

+

Measuring current, gear 0.512, maximum input current 5A, analog pointer shows range 2A

+
+
+
+ +## Related Link + +- **Datasheet** + - [CA-IS3020S](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/CA-IS3020S.pdf) + - [ADS1115](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/ADS1115.PDF) + +## Schematic + + + +### PinMap + + + + +
M5Core(GROVE A)SDA(GPIO21)SCL(GPIO22)5VGND
A Meter UnitSDASCL5VGND
+ +## Example + +### 1. Arduino IDE + +[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit) + + \ No newline at end of file diff --git a/docs/en/unit/mic.md b/docs/en/unit/mic.md new file mode 100644 index 00000000..07e771c1 --- /dev/null +++ b/docs/en/unit/mic.md @@ -0,0 +1,127 @@ +# MIC Unit{docsify-ignore-all} + +SKU:U096 + +
+ +## Description + +**MIC Unit** is a sound sensor with a built-in omni-directional electret microphone. The signal is amplified and output by microphone preamplifier max4466. The amplifier can effectively suppress power supply noise and common mode noise, and the output signal has high sound recovery and can be used in noisy environments. The unit can not only output analog signals, but also output digital level signals. The built-in LM393 double voltage comparator can set the comparison voltage threshold by adjusting 10K adjustable resistance. The sensor is very suitable for acoustic electrical conversion, audio recording / sampling, FFT acoustic feedback, voice switch and other projects.. + +## Product Features + +- Audio record/sample +- Built-in microphone preamplifier MAX4466 +- Omnidirectional, 52dB sensitivity +- Digital output and analog signal +- Built-in dual independent precision voltage comparator and adjustable resistor, threshold adjustable +- Development platform: Arduino, UIFlow (Blocky, Python) +- HY2.0-4P interface +- 2X LEGO™ compatible holes + +## Include + +- 1x MIC Unit +- 1x Grove Cable + +## Applications + +- FFT Spectrum Display +- Audio Sample / Record +- Voice Switch + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Microphone sensitivity / SNR52dB/40dB
Output SignalAnalog / digital
Working Voltage3.3V
Net weight5g
Gross weight16g
Product Size32*24*8mm
Package Size67*53*12mm
+ +## 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 the AD value collected by the microphone

+
+
+
+ +## Related Link + +- **Datasheet** + - [MAX4466](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/MAX4466_V2.PDF) + - [LM393](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/LM393.PDF) + +## Schematic + + + +### Pin Map + + + + +
M5Core(PORT BGPIO26GPIO365VGND
Mic Unit26365VGND
+ +## Example + +### 1. Arduino IDE + +To get complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/MIC_Unit) + + \ No newline at end of file diff --git a/docs/en/unit/vmeter.md b/docs/en/unit/vmeter.md new file mode 100644 index 00000000..c2623a8f --- /dev/null +++ b/docs/en/unit/vmeter.md @@ -0,0 +1,165 @@ +# V Meter Unit{docsify-ignore-all} + +SKU:U087 + +
+ +## Description + +**V Meter Unit** is a voltage meter that can monitor the voltage in real time. The 16-bit ADC (analog-to-digital) converter ADS1115 is used internally to communicate through I2C (0X49). In order to ensure the measurement accuracy, there is a built-in DC-DC isolated power supply, and the I2C interface is also electrically isolated through the low-power isolator CA-IS3020S. This prevents noise and surges on the data bus or other circuits from entering the local ground terminal to interfere or damage sensitive circuits. Each Unit is individually calibrated when leaving the factory, with an effective accuracy of ±1999 (3 digits after the decimal point), and a maximum measurement voltage of ±36V. Minimal Resolution reaches 0.490798455 mV. + +>? EEPROM (0x53) has built-in calibration parameters when leaving the factory. Please do not write to the EEPROM, otherwise the calibration data will be overwritten and the measurement results will be inaccurate. + +## Product Features + +- ±36V range +- LED power indicator +- 16-bit ADC conversion +- Overcurrent protection +- No recalibration (EEPROM factory write) +- Accuracy up to ±1999 +- Minimal Resolution(mV) reaches 0.490798455 +- Built-in CA-IS3020S isolation chip, anti-interference +- Isolated DC-DC +- Signal transmission rate: up to 1 MHz +- Up to 5000 VRMS isolation withstand voltage +- Development platform: Arduino, UIFlow (Blockly, Python) +- 2x LEGO™ compatible holes +## Includes + +- 1x V Meter Unit +- 1x Grove Cable + +## Application + +- voltmeter + +## Specification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResourcesParameter
Withstand voltage5000V
Measuring range±36V
ProtocolI2C
Net Weight9g
Gross Weight24g
Product Size65*24*8mm
Package Size67*53*12mm
+ +## Measurement Range Gain Setting + +**Different range resolution is different, the error value of the result is different, please set the appropriate range according to the needs.Do not write EEPROM.If you really want to save the custom calibration values to EEPROM,Using the following statement, the factory data will be lost once written** + +```Arduino + +bool Voltmeter::saveCalibration2EEPROM(voltmeterGain_t gain, int16_t hope, int16_t actual) + +//@Parameter: voltmeterGarin_t gain //Set Gain +########################################### +# // | PAG | Max Input Voltage(V) | # +# // | PAG_4096 | 64 | # +# // | PAG_2048 | 32 | # +# // | PAG_512 | 16 | # +# // | PAG_256 | 8 | # +########################################### +//@Parameter: int16_t hope // Set target value +//@Parameter: int16_t actual //ADC raw value + +``` + + + + + +
ADC1115_Reference calibrationCalibration voltage(V)Expected reading(int16)
PGA4096(4.096)607641
PGA512(0.512)55094
+ + + + + + + + +
Voltage measurement rangeMaximum input voltage(V)Minimum resolution(mV)Gain factor
4.096128.65163647.8522727270.125
2.04864.325818183.9261363640.0625
1.02432.162909091.9630681820.03125
0.51216.081454550.9815340910.015625
0.2568.0407272730.4907984550.007813
+ +## 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:

+

Measuring voltage, gear 0.512, maximum measuring voltage 16V, analog pointer indicating range 5V

+
+
+
+ +## Related Link + +- **Datasheet** + - [CA-IS3020S](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/CA-IS3020S.pdf) + - [ADS1115](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/ADS1115.PDF) + +## Schematic + + + +### PinMap + + + + +
M5Core(GROVE A)SDA(GPIO21)SCL(GPIO22)5VGND
V Meter UnitSDASCL5VGND
+ +## Example + +### 1. Arduino IDE + +[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/V_Meter_Unit) + + \ No newline at end of file diff --git a/docs/zh_CN/module/comx_gps.md b/docs/zh_CN/module/comx_gps.md new file mode 100644 index 00000000..2fd0b4a5 --- /dev/null +++ b/docs/zh_CN/module/comx_gps.md @@ -0,0 +1,168 @@ +# COM.GPS + +SKU:m031-G + +
+ +## 描述 + +**COM.GPS** 是M5Stack堆叠模块系列中的一款,卫星定位模块.基于NEO-M8N模组开发,配备有源天线.NEO-M8N具备 -167 dBm 高接收灵敏度,并且保持系统低功耗.NEO-M8N 集成了 72 通道的 [u-blox](https://www.u-blox.com) M8 GNSS 引擎,支持多个 GNSS 系统:北斗, Galileo, GLONASS, GPS / QZSS,允许同时接收 3 个 GNSS 系统的数据.模组内部集成了可编程FLASH,可对固件进行升级。该模块具有较小的静态漂移,低功耗和紧凑的尺寸非常适合于车辆,PDA等手持设备,车辆监控,移动电话,相机和其他移动定位系统中的应用。M5Core与COM.GPS模块之间使用UART通信协议,通过模块内的拨码开关可设置UART通讯引脚. + +如果你想要更改串口波特率,请点击 ( [u-center-just-for-Windows](https://www.u-blox.com/en/product/u-center-windows) )查看. + +**注意: 为了使 GPS 模块获得良好信号,请在使用时将模块放置在室外.** + +**UART协议:波特率(默认为9600bps),数据位(8位),起始位(1位),停止位(1位),校验位(无)** + +?>COM GSM的RXD/TXD可以通过设置拨码开关接入的M5Stack的UART(TX(0/13/17)RX(5/15/16)),**M5Stack Fire** 中的 GPIO 16 / 17 默认与PSRAM连接,在使用GSM时会产生冲突,建议使用剩余两组中的任意一组UART引脚。 + +?>右侧拨码开关无需设置。 + +## 产品特性 + +- 天线类型:外置有源天线 +- 外部天线端口:SMA +- 可以同时从3个GNSS系统接收数据 +- 水平位置精度:最小 2.5m +- GPS 模组 (NEO-M8N) 内置闪存, 通过[u-center-just-for-Windows](https://www.u-blox.com/en/product/u-center-windows)升级固件 +- 支持协议: NMEA, UBX, RTCM +- 行业领先的 -167dBm 灵敏度 +- 与 NEO‑7 和 NEO‑6 系列向后兼容 + +## 包含 + +- 1x M5Stack GPS 模块 +- 1x 外置天线(长度: 1 m) + +## 应用 + +- 基于 GPS 的物流跟踪管理 +- 无人驾驶汽车定位 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
接收类型GPS:L1C/A SBAS:L1C/A QZSS:L1C/A GLONASS:L1OF BediDou:B1 Galileo:E1B/C
定位时间Cold start:26S Hot start:1.5S
灵敏度-167 dBm
刷新率Separate GNSS 10Hz,Parallel GNSS 5Hz
速率精度0.05m/s
最大高度50000m
最大速度500m/s
工作电压2.7 ~ 3.6V
工作温度-40 ~ 80°C
净重28g
毛重99g
产品尺寸54*54*13mm
包装尺寸125*68*23mm
+ +## 相关链接 + +- **[GPS Info](https://www.u-blox.com/zh/product/neo-m8-series)** (GPS) + +- **[TinyGPS++库官网](http://arduiniana.org/libraries/tinygpsplus/)** + +- **datasheet** + + - **[NEO-M8N](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/NEO-M8-FW3_DataSheet_en.pdf)** + + - **[u-blox Protocol Manual](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/u-blox8-M8_ReceiverDescrProtSpec_en.pdf)** + +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

拨码开关RX16/TX17,屏幕显示地理位置与时间

+
+
+
+ + +## 案例程序 + +### Arduino IDE + +[点击这里下载Arduino示例](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMX_GPS) + +**注意: 为了使 GPS 模块获得良好信号,请在使用时将模块放置在室外.** + +**协议规范:** + +请参考 [u-blox 8 / u-blox M8 Receiver Description - Manual](https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf)了解更多信息, 下表是NMEA协议中xxRMC消息的指令. + + + +## 原理图 + + + + + \ No newline at end of file diff --git a/docs/zh_CN/module/servo2.md b/docs/zh_CN/module/servo2.md new file mode 100644 index 00000000..b0efa223 --- /dev/null +++ b/docs/zh_CN/module/servo2.md @@ -0,0 +1,105 @@ +# Module SERVO 2 + +SKU:M014 + +
+ +## 描述 + +**SERVO 2** 是M5Stack堆叠模块系列中的一款舵机驱动模块,内部采用PCA9685 16通道PWM控制器,可以同时控制16路舵机。采用直流电源输入(6-12V)设计,通过两片SY8368AQQC进行降压,双通道输出最大总功率35W (5V/3.5A*2),单通道输出最大功率25W(5V/5A),当使用电池底座供电时最高支持5V/2A输出。模块与主机直接通过I2C进行通讯(默认0x40),通过拨码开关可改变I2C地址,这也意味着多个SERVO2可以堆叠使用,板上有一个电源切换开关,可控制SERVO2电源通断。 + + +## 产品特性 + +- 16x 舵机驱动通道 +- 2x 电源指示灯 +- I2C地址可调 +- 支持内部/外部供电 +- DC 输入: 6-12V +- DC 连接器类型: XT30 (母头) + +## 包含 + +- 1x Servo2 模块 + +## 应用 + +- 人形机器人 +- 仿生多关节机器人 +- 3轴舵机云台 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + +
规格参数
净重g
毛重g
产品尺寸54.2*54.2*13.2mm
包装尺寸mm
+ +## 相关链接 + +- **[PCA9685](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/PCA9685.pdf)** + +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS + +
+
+
+ +
+ + +

案例描述:

+

+
+
+
+ +## 案例程序 + +### 1. Arduino IDE + +[请点击此处下载Arduino代码]() + +## 原理图 + + + + + \ No newline at end of file diff --git a/docs/zh_CN/unit/ameter.md b/docs/zh_CN/unit/ameter.md new file mode 100644 index 00000000..03310bf2 --- /dev/null +++ b/docs/zh_CN/unit/ameter.md @@ -0,0 +1,167 @@ +# A Meter Unit{docsify-ignore-all} + +SKU:U086 + +
+ +## 描述 + +**A Meter Unit** 是一款电流计,可以对电流进行实时监测。内部采用16位ADC数模转换器ADS1115,通过I2C(0X48)进行通讯。为了保证测量精度,内置DC-DC隔离电源,同时I2C接口通过低功耗隔离器CA-IS3020S进行电气隔离,防止数据总线或其他电路上的噪声和浪涌进入本地接地端而干扰或损坏敏感电路。每个Unit在出厂时都单独进行校准,最小分辨率达到0.15626mA,有效值达到±1999(小数点后三位),最大测量电流为±4A,内部集成4A熔断器,防止测量电流过大烧毁电路。 + +>? EEPROM(0x51)在出厂时内置了校准参数,请勿对EEPROM进行写操作,否则校准数据将被覆盖导致测量结果不准确。 + +## 产品特性 + +- ±4A量程 +- 16位ADC转换 +- 最小分辨率达到0.15626mA +- LED电源指示灯 +- 过流保护 +- 免重新校准(EEPROM出厂写入) +- 精度高达±1999 +- 内置 CA-IS3020S隔离芯片,抗干扰 +- 隔离DC-DC +- 信号传输速率: 高达 1 MHz +- 高达 5000 VRMS 隔离耐压 +- 开发平台: Arduino, UIFlow(Blockly,Pyhton) +- 2x LEGO 兼容孔 + +## 包含 + +- 1x A Meter Unit +- 1x Grove 线 + +## 应用 + +- 电流计 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
耐压值5000V
测量范围±4A
通讯协议I2C
净重9g
毛重24g
产品尺寸65*24*8mm
包装尺寸67*53*12mm
+ + +## 测量范围增益设置 + +**不同的量程分辨率不同,获得的结果误差值不同,请根据需要设置合适的量程。请勿对EEPROM进行写操作,如果确实希望将自定义校准值保存至EEPROM,使用下列语句,一旦写入后出厂数据将丢失** + +```Arduino + +bool Voltmeter::saveCalibration2EEPROM(voltmeterGain_t gain, int16_t hope, int16_t actual) + +//@Parameter: voltmeterGarin_t gain 设置增益 +########################################### +# // | PAG | Max Input Voltage(V) | # +# // | PAG_4096 | 64 | # +# // | PAG_2048 | 32 | # +# // | PAG_512 | 16 | # +# // | PAG_256 | 8 | # +########################################### +//@Parameter: int16_t hope 设置目标值 +//@Parameter: int16_t actual ADC原始读数 + +``` + + + + +
ADC1115参考校准档位校准电流(A)期望读数(int16)
PGA512(O.512)26400
+ + + + + + + + +
电流测量档位最大输入电流(A)功耗(W)最小分辨率(mA)增益系数
4.09640.9683.886082.50.125
2.04820.4820.971521.250.0625
1.02410.245.242880.6250.03125
0.5125.121.310720.31250.015625
0.2562.560.327680.156260.007813
+ + +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

测量电流,档位0.512,最大输入电流5A,模拟指针表示范围2A

+
+
+
+ +## 相关链接 + +- **Datasheet** + - [CA-IS3020S](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/CA-IS3020S.pdf) + - [ADS1115](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/ADS1115.PDF) + +## 原理图 + + + +### 管脚映射 + + + + +
M5Core(GROVE A)SDA(GPIO21)SCL(GPIO22)5VGND
A Meter UnitSDASCL5VGND
+ +## 案例程序 + +### 1. Arduino IDE + +[点击这里获取Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit) + + \ No newline at end of file diff --git a/docs/zh_CN/unit/mic.md b/docs/zh_CN/unit/mic.md new file mode 100644 index 00000000..e220e36e --- /dev/null +++ b/docs/zh_CN/unit/mic.md @@ -0,0 +1,124 @@ +# MIC Unit{docsify-ignore-all} + +SKU:U096 + +
+ +## 描述 + +**MIC Unit** 是一款声音传感器,内置全指向型驻极体麦克风,通过麦克风前置放大器MAX4466对信号进行放大输出,该放大器能有效抑制电源噪声与共模噪声,输出信号声音还原度高,可在嘈杂环境中使用。该Unit不仅可以输出模拟信号,也可以输出数字电平信号,内置LM393双电压比较器,可通过调节10K可调电阻,设定比较电压阈值。该传感器非常适用于声电转换,声控开关等项目。 + +## 产品特性 + +- 声音采样/音频录制 +- 内置麦克风前置放大器MAX4466 +- 全指向,52dB灵敏度 +- 模拟与数字信号输出 +- 内置电压比较器与可调电阻,阈值可调 +- 开发平台: Arduino, UIFlow(Blockly,Python) +- HY2.0-4P 接口 +- 2x LEGO 兼容孔 + +## 包含 + +- 1x MIC Unit +- 1x Grove 连接线 + +## 应用 + +- 声电转换 +- 声控开关 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
麦克风灵敏度/信噪比52dB/40dB
输出信号模拟/数字
工作电压3.3V
净重5g
毛重16g
产品尺寸32*24*8mm
包装尺寸67*53*12mm
+ +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

显示麦克风采集AD值

+
+
+
+ +## 相关链接 + +- **Datasheet** + - [MAX4466](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/MAX4466_V2.PDF) + - [LM393](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/LM393.PDF) + +## 原理图 + + + +### 管脚映射 + + + + +
M5Core(PORT BGPIO26GPIO365VGND
Mic Unit26365VGND
+ +## 案例程序 + +### 1. Arduino IDE + +[点击这里获取Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/MIC_Unit) + + \ No newline at end of file diff --git a/docs/zh_CN/unit/vmeter.md b/docs/zh_CN/unit/vmeter.md new file mode 100644 index 00000000..acfa5fd6 --- /dev/null +++ b/docs/zh_CN/unit/vmeter.md @@ -0,0 +1,167 @@ +# V Meter Unit{docsify-ignore-all} + +SKU:U087 + +
+ +## 描述 + +**V Meter Unit** 是一款电压传感器,可以对电压进行实时监测。内部采用16位ADC数模转换器ADS1115,通过I2C(0X49)进行通讯。为了保证测量精度,内置DC-DC隔离电源,同时I2C接口通过低功耗隔离器CA-IS3020S进行电气隔离,防止数据总线或其他电路上的噪声和浪涌进入本地接地端而干扰或损坏敏感电路。每个Unit在出厂时都单独进行校准,有效值达到±1999(小数点后3位),最大测量电压为±36V,最小分辨率达到0.490798455mV。 + +>? EEPROM(0x53)在出厂时内置了校准参数,请勿对EEPROM进行写操作,否则校准数据将被覆盖导致测量结果不准确。 + +## 产品特性 + +- ±36V量程 +- 16位ADC转换 +- 最小分辨率达到0.490798455mV +- LED电源指示灯 +- 过流保护 +- 免重新校准(EEPROM出厂写入) +- 精度高达±1999 +- 内置 CA-IS3020S隔离芯片,抗干扰 +- 隔离DC-DC +- 信号传输速率: 高达 1 MHz +- 高达 5000 VRMS 隔离耐压 +- 开发平台: Arduino, UIFlow(Blockly,Python) +- 2x LEGO 兼容孔 + +## 包含 + +- 1x V Meter Unit +- 1x Grove 线 +## 应用 + +- 电压表 + +## 规格参数 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
规格参数
耐压值5000V
测量范围±36V
通讯协议I2C
净重9g
毛重24g
产品尺寸65*24*8mm
包装尺寸67*53*12mm
+ + +## 测量范围增益设置 + +**不同的量程分辨率不同,获得的结果误差值不同,请根据需要设置合适的量程。请勿对EEPROM进行写操作,如果确实希望将自定义校准值保存至EEPROM,使用下列语句,一旦写入后出厂数据将丢失** + +```Arduino + +bool Voltmeter::saveCalibration2EEPROM(voltmeterGain_t gain, int16_t hope, int16_t actual) + +//@Parameter: voltmeterGarin_t gain 设置增益 +########################################### +# // | PAG | Max Input Voltage(V) | # +# // | PAG_4096 | 64 | # +# // | PAG_2048 | 32 | # +# // | PAG_512 | 16 | # +# // | PAG_256 | 8 | # +########################################### +//@Parameter: int16_t hope 设置目标值 +//@Parameter: int16_t actual ADC原始读数 + +``` + + + + + +
ADC1115参考校准档位校准电压(V)期望读数(int16)
PGA4096(4.096)607641
PGA512(0.512)55094
+ + + + + + + + +
电压测量档位最大输入电压(V)最小分辨率(mV)增益系数
4.096128.65163647.8522727270.125
2.04864.325818183.9261363640.0625
1.02432.162909091.9630681820.03125
0.51216.081454550.9815340910.015625
0.2568.0407272730.4907984550.007813
+ +## EasyLoader + +>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** + +
+
+
+
+ Windows + MacOS +
+
+
+ +
+ + +

案例描述:

+

测量电压,档位0.512,最大测量电压16V,模拟指针表示范围5V

+
+
+
+ +## 相关链接 + +- **Datasheet** + - [CA-IS3020S](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/CA-IS3020S.pdf) + - [ADS1115](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/ADS1115.PDF) + +## 原理图 + + + +### 管脚映射 + + + + +
M5Core(GROVE A)SDA(GPIO21)SCL(GPIO22)5VGND
A Meter UnitSDASCL5VGND
+ +## 案例程序 + +### 1. Arduino IDE + + +[点击这里获取Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/V_Meter_Unit) + + \ No newline at end of file