Adafruit INA260 High or Low Side Voltage, Current, Power Sensor (ADA4226)

This is a placeholder topic for “Adafruit INA260 High or Low Side Voltage, Current, Power Sensor” comments.

This breakout board may well be the last current sensing solution you every need to buy. Not only can it do the work of two multimeters, but it can do it with amazing…

Read more

Will this work with Pico and Micropython?

1 Like

Hi there, Mark,

Absolutely it will.

I’m uncertain whether the INA260 library is included natively on MicroPython, but either way, please find the Github Repository for the library:

It looks very simple to use:

from ina260 import INA260
from machine import I2C

ina260 = INA260(I2C())

print("Current:", ina260.current)
print("Voltage:", ina260.voltage)
print("Power:", ina260.power)
1 Like

Thanks Jane.

1 Like

Got that going on the Pico after some fault finding!

All of my coding errors aside, the main issue was that pull up resistors are required between SDA/3v3 and SLA/3v3. I used 5k.

Used one Pico W with a blinking LED as a load and a second Pico W running the INA260 code.

1 Like

Fantastic, Mark, glad to see you got that working. :slight_smile:

I hope your experiences help someone else out there on the road.

1 Like