User Manual

Python &
CircuitPython
It's easy to use the INA260 sensor with Python and CircuitPython, and the Adafruit CircuitPython
INA260 (https://adafru.it/EGK) module. This module allows you to easily write Python code that reads the humidity,
temperature, pressure, and more from the sensor.
You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python
thanks to Adafruit_Blinka, our CircuitPython-for-Python compatibility library (https://adafru.it/BSN).
CircuitPython Microcontroller Wiring
First wire up a INA260 to your board exactly as follows. Here is an example of the INA260 wired to a Feather using
I2C:
Board 3V to sensor Vin
Board GND to sensor GND
Board SCL to sensor SCL
Board SDA to sensor SDA
Sensor Vin+ to supply for high side current
sensing or to load ground for low side sensing.
Sensor Vin- to load for high side current sensing
or to board ground for low side sensing
Python Computer Wiring
Since there's
dozens
of Linux computers/boards you can use we will show wiring for Raspberry Pi. For other platforms,
please visit the guide for CircuitPython on Linux to see whether your platform is supported (https://adafru.it/BSN).
Here's the Raspberry Pi wired with I2C:
Pi 3V3 to sensor VIN
Pi GND to sensor GND
Pi SCL to sensor SCL
Pi SDA to sensor SDA
Note: This breakout includes pullup resistors on the I2C lines, no external pullups are required.
© Adafruit Industries
https://learn.adafruit.com/adafruit-ina260-current-voltage-power-sensor-
breakout
Page 17 of 24