![](http://shop.m5stack.com/cdn/shop/t/2/assets/search.png?v=120997320528896871201663122039)
![](http://shop.m5stack.com/cdn/shop/files/1_fa3ad182-4e13-4cc0-b7a8-3e20ac2765c9_1200x1200.webp?v=1685071807)
![](http://shop.m5stack.com/cdn/shop/files/4_a76e0042-cfa2-44bc-860a-2f8636c098cf_1200x1200.webp?v=1685081492)
![](http://shop.m5stack.com/cdn/shop/files/2_0ebfa7ee-c684-4db1-934c-a993d74a8d55_1200x1200.webp?v=1685081492)
![](http://shop.m5stack.com/cdn/shop/files/5_39ee2fdb-e97b-40c0-a6bc-485a0a8e77d7_1200x1200.webp?v=1685071807)
![](http://shop.m5stack.com/cdn/shop/files/7_0abd23a0-3f86-41d9-be0f-49209b07736e_1200x1200.webp?v=1685071807)
![](http://shop.m5stack.com/cdn/shop/files/9_12d0ff95-4cd3-45f7-83ab-10fe2107ae59_1200x1200.webp?v=1685071808)
![](http://shop.m5stack.com/cdn/shop/files/10_1200x1200.webp?v=1685071807)
![](http://shop.m5stack.com/cdn/shop/files/12_d13287c3-07b4-4dc1-948c-ef726d24517b_1200x1200.webp?v=1685071808)
![](http://shop.m5stack.com/cdn/shop/files/13_b4074913-e1a0-4271-a754-5fa3caff9bdf_1200x1200.webp?v=1685071808)
Description
AIN4-20mA Module 13.2
is a quad-channel
4~20mA
current analog acquisition module. It adopts the STM32G030F6
main control chip and a dedicated acquisition chip with isolation to communicate with the M5 host for i2c
communication. Supports switching to internally or externally powered wiring via jumper caps. On-board power isolation chip and built-in op amp circuitry accurately measure external current sensors and ensure signal accuracy and system safety. In terms of power supply, the DC-JACK interface and the corresponding DC-DC boost circuit can provide power to the entire device. 'Suitable for power system equipment monitoring, motor control, energy management and automation, and industrial process control'.
Features
- STM32G030F6® 32-bit Cortex®-M0+ CPU
- I2C communication
- Support four 2 or 4-wire sensors, jumper cap switching
- Built-in galvanic isolation chip
- Support Arduino, UIFlow and other programming platforms
Includes
- 1*AIN4-20mA Moudle 13.2
- 12* jumper cap
- 5*2.54mm plug-in terminal block
Applications
- Power system equipment monitoring
- Motor control
- energy management
- Automation and industrial process control
Specification
Resources | Parameters |
---|---|
MCU | STM32G030F6(64 Kbytes of Flash/8 Kbytes of SRAM) |
Power isolation chip | F2424S-2WR3 |
Signal isolation chip | HCNR200 |
Op amp chip | SGM321YC5/TR |
I2C mailing address | 0x55 |
Operating temperature | 0-40°C |
External DC supply voltage | 9-24V |
Product Size | 54* 54* 13mm |
Package Size | 95 * 65 * 25mm |
Product Weight | 26.9g |
Package Weight | 51.7g |
Related Link
Schematic
![schematics](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/img-16d92436-7e79-4fe6-b52d-c36aed8ea7a6.png)
Jumper cap connection and instructions
- If your current sensor already has an external power supply, the jumper cap is connected as shown on the left
- If your current sensor does not have an external power supply, connect the jumper cap as shown on the right, and connect the interface of AIN4-20mA Module 13.2 to the appropriate external power supply as needed.
![schematics](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/%E8%B7%B3%E7%BA%BF%E5%B8%BD.png)
Module Size
![module size](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/%E5%B0%BA%E5%AF%B8%E5%9B%BE.png)
Examples
Arduino
![](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/arduinoCase-168508686921767.png)
UIFlow
![](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/uiflowCase-1685001637319image.png)
UIFlow Blocks
- Init device I2C address
![image](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/blockIntro-4b21e00d-2976-4a0f-b812-707658ab8f5d.png)
- Get ADC 16bit raw value
![image](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/blockIntro-15ad46c8-bbe9-470d-9808-f35f23078c4e.png)
- Get current value
![image](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/blockIntro-c3e8e95d-e1ad-4a50-8333-b4d3bc4c7220.png)
- Get device firware version
![image](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/blockIntro-53377db9-a9f0-4717-a7ce-0b6a7730a823.png)
- Set device I2C slave address
![image](https://static-cdn.m5stack.com/resource/docs/products/module/AIN4-20mA%20Module%2013.2/blockIntro-9a2760fa-5b78-4569-8b44-c84288aa15b4.png)