TENSTAR ROBOT INA226 INA231 Module

Contents

INA226 and INA231 Bi-Directional Current/Power Monitoring Sensor Module User Manual

Model: INA226 INA231 Module | Brand: TENSTAR ROBOT

1. Introduction

This manual provides detailed instructions for the TENSTAR INA226 and INA231 Bi-Directional Current/Power Monitoring Sensor Modules. These modules are designed to accurately measure current, voltage, and power in various electronic systems using an I2C-compatible interface.

The INA226 and INA231 are high-precision digital current and power monitors with an I2C or SMBUS compatible interface. They are capable of monitoring both shunt voltage drop and bus supply voltage, allowing for direct readouts of current in amperes and power in watts. These modules are ideal for applications requiring precise power management and monitoring.

INA226 and INA231 modules side-by-side

Figure 1: TENSTAR INA226 and INA231 Modules

2. Features

2.1 INA226 Module Features

  • Senses Bus Voltages From 0 V to 36 V
  • High-Side or Low-Side Sensing capability
  • Reports Current, Voltage, and Power measurements
  • High Accuracy:
    • 0.1% Gain Error (Max)
    • 10 μV Offset (Max)
  • Configurable Averaging Options for stable readings
  • 16 Programmable Addresses for I2C communication
  • Operates from 2.7-V to 5.5-V Power Supply
  • 10-Pin, DGS (VSSOP) Package

2.2 INA231 Module Features

  • Bus voltage sensing range of 0V to 28V
  • High-side or low-side sensing capability
  • Current, voltage, and power reporting
  • High accuracy:
    • 0.5% gain error (maximum)
    • 50μV offset (maximum)
  • Configurable averaging options
  • Programmable alert thresholds
  • 1.8V I2C compatible interface
  • Operating voltage range: 2.7V to 5.5V
  • Startup mode options: INA231A (Active conversion)
  • Module dimensions: 18mm x 19.4mm

3. Applications

These modules are suitable for a wide range of applications requiring precise current and power monitoring:

  • Servers
  • Telecom Equipment
  • Computing systems
  • Power Management units
  • Battery Chargers
  • Power Supplies
  • Test Equipment

4. Specifications

ParameterINA226INA231
Bus Voltage Range0 V to 36 V0 V to 28 V
Supply Voltage2.7 V to 5.5 V2.7 V to 5.5 V
Supply Current (Typical)330 μA330 μA
Gain Error (Max)0.1%0.5%
Offset (Max)10 μV50 μV
Operating Temperature–40°C to 125°C–40°C to 125°C
InterfaceI2C™ / SMBUS-compatible1.8V I2C-compatible
Programmable AddressesUp to 16Up to 16
Package10-Pin, DGS (VSSOP)Module (18x19.4mm)
Shunt Resistor (on module)R100 (0.1 Ohm)R100 (0.1 Ohm)

Note: Maximum measurable current depends on the shunt resistor value and the internal ADC range. With a 0.1 Ohm shunt, the maximum current is typically limited by the voltage drop across the shunt and the ADC's input range.

5. Setup and Connection

Before connecting the module, ensure your power supply is off. The module requires connection to a microcontroller (e.g., Arduino, ESP32) for I2C communication.

5.1 Pin Description

Pin NameFunction
VCCModule power supply (2.7V to 5.5V)
GNDGround connection
SDAI2C Data Line
SCLI2C Clock Line
ALERTMulti-function alarm output (optional)
A0 / A1I2C Address lines (used to configure the module's I2C address)
IN+Non-inverting analog input for current shunt
IN-Inverting analog input for current shunt
VBUSBus voltage input (for measuring bus voltage)
INA226 module with pin headers

Figure 2: INA226 Module Pinout

Close-up of INA226 module

Figure 3: INA226 Module (Top View)

Close-up of INA231 module

Figure 4: INA231 Module (Top View)

5.2 Basic Wiring Diagram (INA226 Example)

The following diagram illustrates a typical connection for the INA226 module with a microcontroller. The INA231 module follows a similar connection principle.

INA226 schematic wiring diagram

Figure 5: INA226 Module Schematic and Pin Connections

Connection Steps:

  1. Connect the VCC pin of the module to your microcontroller's 3.3V or 5V power supply.
  2. Connect the GND pin of the module to the ground of your microcontroller.
  3. Connect the SDA pin of the module to the SDA pin of your microcontroller (I2C Data).
  4. Connect the SCL pin of the module to the SCL pin of your microcontroller (I2C Clock).
  5. For current measurement, insert the module in series with the load. The current flows from IN+ to IN-.
  6. For bus voltage measurement, connect VBUS to the positive side of the bus you want to monitor.
  7. The A0 and A1 pins are used to set the I2C address. Refer to the "I2C Address Configuration" section for details.
Breadboard setup with INA226 module connected to a microcontroller

Figure 6: Example Breadboard Setup

5.3 High-Side or Low-Side Sensing

The INA226/INA231 modules can be configured for both high-side and low-side current sensing applications.

High-Side or Low-Side Sensing Application Diagram

Figure 7: High-Side or Low-Side Sensing Application

6. Operating Instructions

The INA226 and INA231 modules communicate via the I2C protocol. You will need a microcontroller and an appropriate library (e.g., Adafruit INA226 library for Arduino) to interface with the module and read data.

6.1 I2C Address Configuration

The module's I2C address can be configured using the A0 and A1 pins. These pins can be connected to GND, VCC, SDA, or SCL to select one of 16 possible addresses. Refer to the table below for address settings:

Table of Address Pins and Slave Addresses for INA226/INA231

Figure 8: Address Pins and Slave Addresses

6.2 Reading Data

Once connected and powered, use your microcontroller's I2C library to communicate with the module at its configured address. The module provides registers for reading shunt voltage, bus voltage, current, and power. Libraries typically handle the calibration and conversion for direct readings.

Example output values from INA226/INA231 module

Figure 9: Example Output Readings (Shunt Voltage, Bus Voltage, Load Voltage, Current, Bus Power)

7. Maintenance

The INA226/INA231 modules are low-maintenance devices. Follow these guidelines to ensure longevity:

  • Keep the module clean and free from dust and moisture.
  • Avoid exposing the module to extreme temperatures or humidity outside its operating range.
  • Ensure proper ventilation if used in an enclosed space.
  • Regularly check connections for any signs of corrosion or loose wiring.

8. Troubleshooting

No I2C communication:
  • Check all wiring connections (VCC, GND, SDA, SCL) for correctness.
  • Verify the module's I2C address matches the address used in your code.
  • Ensure pull-up resistors are correctly connected to SDA and SCL lines (typically 4.7kΩ).
  • Confirm the module is receiving the correct supply voltage (2.7V to 5.5V).
Incorrect readings:
  • Double-check the calibration values in your software, especially if you've changed the shunt resistor.
  • Ensure the current path is correctly connected through IN+ and IN-.
  • Verify the VBUS connection for accurate bus voltage readings.
  • Check for noise on the power lines or I2C communication lines.
Module not powering on:
  • Confirm VCC and GND connections are correct and receiving power.
  • Inspect the module for any visible damage.

9. User Tips

  • Voltage Measurement: To measure the bus voltage accurately, remember to connect the VBUS pin with the IN- pin. This ensures the module measures the voltage at the load side of the shunt.
  • Shunt Resistor Modification: For advanced users, the onboard R100 (0.1 Ohm) shunt resistor can be replaced with a different value to adjust the current measurement range. Be aware that this requires recalibration in your software.
  • Software Libraries: Utilize existing INA226/INA231 libraries for your microcontroller platform (e.g., Arduino, Raspberry Pi) to simplify integration and data acquisition.

10. Warranty and Support

For any technical assistance, troubleshooting beyond this manual, or warranty inquiries, please contact the manufacturer or your point of purchase. Keep your purchase receipt for warranty claims.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.