Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit INA260: Examples, Pinouts, and Specs

Image of Adafruit INA260
Cirkit Designer LogoDesign with Adafruit INA260 in Cirkit Designer

Introduction

The Adafruit INA260 is a high-precision current and voltage sensor module that allows for simultaneous monitoring of current, voltage, and power through a single I2C interface. This sensor is ideal for a wide range of applications, including power supply monitoring, battery charging, energy consumption tracking, and load sensing in various electronic projects.

Explore Projects Built with Adafruit INA260

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560 and INA219 Sensor for Current and Voltage Measurement
Image of INA219_Mega2560: A project utilizing Adafruit INA260 in a practical application
This circuit connects an Arduino Mega 2560 to an INA219 sensor for current and voltage measurement. The INA219 sensor communicates with the Arduino via the I2C protocol, and the Arduino reads and prints the current, bus voltage, shunt voltage, and power values to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Smart Relay Control with INA219 Current Sensor and RGB LED
Image of MCG: A project utilizing Adafruit INA260 in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an INA219 current sensor, a 5V relay, and an RGB LED. The Arduino reads current measurements from the INA219 via I2C and controls the relay and LED, potentially for monitoring and controlling power to a USB-connected device.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Multi-Sensor Data Logger with I2C Multiplexer
Image of Gesamt Schaltplan: A project utilizing Adafruit INA260 in a practical application
This circuit uses an Arduino Mega 2560 to interface with multiple sensors, including an Adafruit ADXL326 accelerometer, a pressure transducer, and two MLX90614 IR temperature sensors connected via an Adafruit TCA9548A I2C multiplexer. The Arduino reads data from these sensors and outputs the values to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Multi-Sensor Monitoring System with INA219, Hall Sensor, and OLED Display
Image of R8 Charger: A project utilizing Adafruit INA260 in a practical application
This circuit is designed for monitoring and displaying sensor data. It includes three INA219 current sensors, a GH1248 Hall sensor, and an SSD1306 OLED display, all interfaced with a Seeed Studio RP2350 microcontroller. The microcontroller reads data from the sensors and controls the display and three LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit INA260

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of INA219_Mega2560: A project utilizing Adafruit INA260 in a practical application
Arduino Mega 2560 and INA219 Sensor for Current and Voltage Measurement
This circuit connects an Arduino Mega 2560 to an INA219 sensor for current and voltage measurement. The INA219 sensor communicates with the Arduino via the I2C protocol, and the Arduino reads and prints the current, bus voltage, shunt voltage, and power values to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of MCG: A project utilizing Adafruit INA260 in a practical application
Arduino UNO-Based Smart Relay Control with INA219 Current Sensor and RGB LED
This circuit features an Arduino UNO microcontroller interfaced with an INA219 current sensor, a 5V relay, and an RGB LED. The Arduino reads current measurements from the INA219 via I2C and controls the relay and LED, potentially for monitoring and controlling power to a USB-connected device.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Gesamt Schaltplan: A project utilizing Adafruit INA260 in a practical application
Arduino Mega 2560 Multi-Sensor Data Logger with I2C Multiplexer
This circuit uses an Arduino Mega 2560 to interface with multiple sensors, including an Adafruit ADXL326 accelerometer, a pressure transducer, and two MLX90614 IR temperature sensors connected via an Adafruit TCA9548A I2C multiplexer. The Arduino reads data from these sensors and outputs the values to the Serial Monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of R8 Charger: A project utilizing Adafruit INA260 in a practical application
Multi-Sensor Monitoring System with INA219, Hall Sensor, and OLED Display
This circuit is designed for monitoring and displaying sensor data. It includes three INA219 current sensors, a GH1248 Hall sensor, and an SSD1306 OLED display, all interfaced with a Seeed Studio RP2350 microcontroller. The microcontroller reads data from the sensors and controls the display and three LEDs.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Power supply monitoring
  • Battery chargers and management systems
  • Energy consumption measurement for energy-saving systems
  • Load detection and management in electronic circuits
  • Portable instrumentation

Technical Specifications

Key Technical Details

  • Voltage Measurement Range: 0 to 36 V
  • Current Measurement Range: -15 A to +15 A
  • Power Measurement Range: Up to 45 W
  • Resolution:
    • Voltage: 1.25 mV
    • Current: 0.1 mA
  • I2C Interface: Standard, Fast, and High-Speed Modes
  • Operating Voltage: 3.0 V to 5.5 V
  • Operating Temperature: -40°C to +125°C

Pin Configuration and Descriptions

Pin Number Name Description
1 VIN+ Voltage input, positive side of the shunt resistor
2 VIN- Voltage input, negative side of the shunt resistor
3 GND Ground reference for the module
4 SCL I2C clock signal
5 SDA I2C data signal
6 VCC Power supply for the module (3.0 V to 5.5 V)
7 ALERT Alert pin, configurable for various warning and limit conditions
8 ADDR I2C address selection pin

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Module: Connect the VCC pin to a 3.0 V to 5.5 V power source and the GND pin to the ground of your system.
  2. Current Sensing: Place the module in series with the load to measure the current flowing through it. Connect the positive side of the load to VIN+ and the negative side to VIN-.
  3. Voltage Sensing: The voltage across the load is measured between VIN+ and VIN-.
  4. I2C Communication: Connect the SCL and SDA pins to the corresponding I2C clock and data lines on your microcontroller.
  5. Address Selection: The ADDR pin can be connected to GND, VCC, SDA, or SCL to select one of four possible I2C addresses for the device.

Important Considerations and Best Practices

  • Ensure that the current and voltage do not exceed the specified maximum ratings of the module.
  • Use proper decoupling capacitors close to the module's power pins to minimize noise.
  • Keep the I2C lines as short as possible to prevent signal degradation.
  • Use pull-up resistors on the I2C lines if they are not already present on your microcontroller board.

Example Code for Arduino UNO

#include <Wire.h>
#include <Adafruit_INA260.h>

Adafruit_INA260 ina260 = Adafruit_INA260();

void setup() {
  Serial.begin(115200);
  // Initialize the INA260
  if (!ina260.begin()) {
    Serial.println("Couldn't find INA260 chip");
    while (1);
  }
  Serial.println("Found INA260 chip");
}

void loop() {
  Serial.print("Current: ");
  Serial.print(ina260.readCurrent());
  Serial.println(" mA");
  Serial.print("Voltage: ");
  Serial.print(ina260.readBusVoltage());
  Serial.println(" mV");
  Serial.print("Power: ");
  Serial.print(ina260.readPower());
  Serial.println(" mW");
  delay(1000);
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • No Data on I2C: Check connections and ensure pull-up resistors are installed. Verify that the I2C address matches the one configured by the ADDR pin.
  • Inaccurate Readings: Ensure that the INA260 is properly calibrated and that the voltage and current are within the specified range.
  • Device Not Found: Make sure the module is powered correctly and that the I2C lines are connected properly.

Solutions and Tips for Troubleshooting

  • Double-check wiring, especially the I2C connections and the orientation of the sensor.
  • Use the I2C scanner sketch to confirm the device's address on the I2C bus.
  • Ensure that the power supply is stable and within the specified voltage range.

FAQs

Q: Can the INA260 measure negative current? A: Yes, the INA260 can measure current in both directions, from -15 A to +15 A.

Q: What is the maximum voltage that can be measured? A: The INA260 can measure voltages up to 36 V.

Q: How do I change the I2C address of the INA260? A: The I2C address can be changed by connecting the ADDR pin to GND, VCC, SDA, or SCL, providing four different address options.

Q: Is it possible to use multiple INA260 modules on the same I2C bus? A: Yes, you can use up to four INA260 modules on the same I2C bus by setting a unique address for each using the ADDR pin.