News:

Let's find out together what makes a PIC Tick!

Main Menu

INA260 current & voltage monitor

Started by RGV250, May 04, 2025, 12:56 PM

Previous topic - Next topic

RGV250

Hi,
Here is my code for the INA260 current & voltage monitor. I have only tested it with an LED but it all seems to work as expected.

There are a couple of things I have not completed.
Alerts as I have no need for them, also seems a bit pointless as all it does is toggle a pin. If anyone need them let me know and I will have a look.
High speed I2C mode (1kHz to 2.94MHz) as I am not sure if the PIC could operate at that speed.

Link to device overview https://www.adafruit.com/product/4226

INA260.zip

Regards,
Bob