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

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

PageDateTags
2025/05/31 21:56, , , , , , ,
2025/09/23 19:25, , , , , ,
2026/02/08 21:15, , , , , , , , ,
2026/02/10 16:04, , , , , , , , , , , , ,
2026/02/09 13:15, , , , , , , , , , , ,
2026/02/13 15:19, , , , , , , , , , ,
2026/02/09 13:17, , , , , , , , , ,
2026/02/08 22:23, , , , , , , ,
2025/05/31 21:32, , , , , , , ,
2026/02/09 13:34, , , , , , ,
2025/11/21 23:07, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2023/07/01 15:29, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/02/11 18:09, , , , , , , , ,
2026/02/09 13:55, , , , , , , ,
2026/02/11 21:07, , , ,
2026/02/09 13:39, , , , , , , ,
2026/02/11 19:34, , , , , , , ,
2026/02/11 21:07, , , , , , , , , ,
2026/02/12 19:34, , , , , , ,
2025/12/04 00:34, , , , , , , ,
2026/02/10 18:52, , , , , , , ,
2026/02/08 23:27, , , , , , , , ,
2026/02/09 13:48, , , , , , , , , , , , , ,
2025/11/22 19:12, , , ,
2025/11/22 18:48, , , , , ,
2026/02/11 21:07, , , ,
2026/02/09 16:09, , , , , , , , , , , , ,
2026/02/09 15:44, , , , , , , , , , ,
2026/02/09 15:56, , , , , , , ,
2026/02/11 21:07, , , , , , ,



This page has been accessed for: Today: 3, Until now: 3