Power Measurement with an INA260 sensor @McuOnEclipse

For a research project and demonstrator at HSLU university, Erich Styger wished to measure a DC voltage and current. For this Erich used a Texas Instrument Texas Instruments INA260 with a custom software driver.

The TI INA260 is a really cool and flexible power sensor. It can be used for up to +36 V DC and up to 15 A current, both on the high and low side. The I2C interface makes it easy to use, and has the shunt resistor integrated.

To support the research project, a new driver for the INA260 has been added to the McuLib. To develop the driver, I have used the Adafruit INA260 breakout board.

To verify the driver and accuracy, a test bench with an RP2040 and MCU-Link Pro is used, below the software running on the RP2040 is measuring its own current consumption, and checked by the power measurement of the MCU-Link Pro.

It only took me a few hours to develop the INA260 driver, thanks to the Adafruit INA260 breakout board. The driver implements all the necessary functions and configuration needed. The driver currently supports a single INA260 on a bus So if you need a simple driver for the INA260, it is available on GitHub.

See the complete post here.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.