News:

;) This forum is the property of Proton software developers

Main Menu

INA226 any code

Started by John Drew, Today at 07:41 AM

Previous topic - Next topic

John Drew

I'm starting on a project using the INA226 by TI. It's a power/voltage/current measuring device.
It comes on a tiny board with a load resistor and the necessary parts for a few dollars. It's programmed and accessed by I2C.
Has anyone used this device successfully? If so it would save me a lot of time to get some help. The datasheet is OK but moderately complex.
I reckon I can do the fundamentals such as setting up the I2C. Data comms are 16 bit.
Best wishes
John

RGV250

Hi John,
I wonder how it differs from INA260?

Bob

John Drew

Hi Bob,
I'll check in the morning. I may have it worked out after reading the datasheet three times in between having a piece of chocolate, talking to the next door neighbour and making my wife a cup of coffee :-)
My attention span is becoming a bit short of late.
I'd be very interested in any code you might have for the other device though.
Cheers
John

RGV250


RGV250

Hi John,
I had a quick look at the datasheet and some of the registers are different (probably most) but I think the code I posted should give you a good start.

Bob