meta data for this page
This is an old revision of the document!
LamaPLC: CJMCU-219/INA-219 breakout board/IC with I²C communication
The CJMCU-219 is a breakout board featuring the INA219 IC, a zero-drift, bidirectional current and power monitor with an I²C interface.
Core Technical Specifications
Voltage Measurement: Can detect bus voltages from 0V to +26V DC. Current Range: Measures up to ±3.2A bidirectionally using its built-in 0.1 ohm shunt resistor. Supply Voltage: Operates on +3.0V to +5.5V. Precision: Features a 12-bit ADC with a maximum error accuracy of 1% over -40°C to +85°C. Interface: Uses I²C communication (standard 100kHz or high-speed 400kHz/3.4MHz) with a default address of 0x40.
Key Features
- High-Side Sensing: Unlike many sensors, it can measure current on the high side (between the power source and the load), thereby avoiding ground-reference issues.
- Multi-Function Reporting: It calculates and reports bus voltage, shunt voltage drop, current, and total power (W) directly.
- Programmability: Supports software-programmable calibration, filtering (averaging up to 128 samples), and conversion times.
- Daisy-Chaining: Supports up to 16 programmable I2C addresses, allowing multiple modules to run on the same bus.
Safety & Limitations
- Voltage Limit: The chip may be damaged if bus voltage exceeds its absolute hardware limit of 26V.
- Inductive Loads: Users should be cautious with large motors, as “flyback” voltage spikes can exceed the 26V threshold and destroy the sensor.
Arduino
Arduino wiring
- SCL: A5
- GND: GND
- SDA: A4
- Vdd: 5V
Arduino code
sample
Example codes
none
I²C topics on lamaPLC
This page has been accessed for: Today: 3, Until now: 3