Ina3221 write register values i2c

Hello everyone. Please point me to right direction on how to program this IC ( ina3221) I`m working on a big DIY project and one of the aspect to make battery low voltage cut off. My batteries are LTO, and battery control circuits are expensive. I came up with a plan to use Ina 3221 and latching relay to make low power adjustable battery cut off. On one forum i read that it could be done by using arduino

"I would use the ATMega chip from an Arduino Uno, or the Arduino itself. It is easy enough to interface via a terminal from a PC, then link commands from the terminal to the Arduino and have it do things with the I2C bus. " windows - What is the simplest way to interact with an I2C peripheral? - Electrical Engineering Stack Exchange but i cant find anything related to this aproach.
Thank you in advance

star1k:
Please point me to right direction on how to program this IC ( ina3221)

I came up with a plan to use Ina 3221 and latching relay to make low power adjustable battery cut off. On one forum i read that it could be done by using arduino

"I would use the ATMega chip from an Arduino Uno, or the Arduino itself.

Just use a library. Try Googling "Arduino INA3221 library".
Libraries usually come with examples.

Most charging boards have bidirectional mosfet switches to do that.

There is also the Nano (USB<>serial interface) and the ProMicro (no USB).
Leo..

Wawa:
Just use a library. Try Googling "Arduino INA3221 library".
Libraries usually come with examples.

Most charging boards have bidirectional mosfet switches to do that.

There is also the Nano (USB<>serial interface) and the ProMicro (no USB).
Leo..

Thank you for your answer. It definitely brought me closer to my goal :slight_smile:
Ina 3221 arduino library programmed only to read values and after some manipulations on raw data prints values.
This circuit ( ina3221) originally designed to do quite opposite - measure current and voltage on 3 channels - but it has feedback ( actualy 4 modes of feed back : Critical, Warning,
PV (power valid), and TC (timing control) and i want to access those functions : i.e. read register values, change them when arduino boots up ( values are volitile) and use it as a customizable battery protection circuit.

Update : using raspberry pi i was able to access register and successfully read them via i2c utility. Now i just need to figure out proper values to program it, and later how to do it using arduino ( probably using wire liabrary).
any additional help will be appreciated.

star1k:
Hello everyone. Please point me to right direction on how to program this IC ( ina3221) I`m working on a big DIY project and one of the aspect to make battery low voltage cut off. My batteries are LTO, and battery control circuits are expensive. I came up with a plan to use Ina 3221 and latching relay to make low power adjustable battery cut off. On one forum i read that it could be done by using arduino

"I would use the ATMega chip from an Arduino Uno, or the Arduino itself. It is easy enough to interface via a terminal from a PC, then link commands from the terminal to the Arduino and have it do things with the I2C bus. " windows - What is the simplest way to interact with an I2C peripheral? - Electrical Engineering Stack Exchange but i cant find anything related to this aproach.
Thank you in advance


There is only one library I am trying to expand to enable all the functions that this controller has. I have it modified to hold three independent readings

[[/center]

SDL_Arduino_INA3221 Versión 1.1 de (21 enero 2015)

Modification of the printed circuit board

](El rincón de kacitran: INA 3221)