This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adafruit INA219B board and INA226

Other Parts Discussed in Thread: INA219, INA226

Hi

Total hardware rookie here with a dead INA219 on the Adafruit Arduino board.  

http://www.adafruit.com/products/904

It went over the 26v max and now gives weird readings.  

I see the 226 chip goes up to 32V.  Any thought if it would work exchanging the chips over, just regarding the hardware side.  

Getting the arduino library working should be fine.

Cheers!

  • Hi James, INA219B on that board is a SOT23-8 package (part marking from the link you sent B219). The INA226 is a MSOP-10 (different package and pin count 8 vs 10). So, the INA226 will not work for this board. What is the highest voltage the application requires? Could the voltage be clamped for the INA219B? Regards, Jamieson Wardall Sensing Applications
  • Oops!  Like I said, hardware is not my thing yet (slowly slowly!)  

    Ok, the board is on a 24V solar setup.  A new charge controller was fitted, this took the battery bank up to 27-28 I think in hindsight, maybe more when it was in equalisation mode.  The old charge controller didn't go this high so the board was ok.

    If I just get another 219B board, I am thinking a simple idea would be to use on voltage divider.  It is only the voltage I am interested in, not the current or power so much.  Software could handle that on Arduino.

    Forgive me but 'clamping voltage' on the INA219B is above my head right now, can you explain?  Also I will google now.  Appreciate the very quick reply to the 1st post, thank you

  • Hi James, Picking up what your putting down. The voltage clamp would limit the voltage into the INA219B ( put in 20v but limit to 10v, AKA->zener diode) but, you are more interested in the acctual charge voltage and not current so this will not work. A voltage divider with precision resistance would be a quick functional solution. How accurate does the voltage measurement need to be? How accurate does the current need to be? Regards, Jamieson
  • I'm only looking to be accurate to tenths of volts really, nothing more.  

    I know the ina219 is a bit over kill for this, I could just use a voltage divider on an arduino adc pin directly but it was laying about idle.  If I did use the current measurements, it would be 0-10A needed.

  • Hi James, With the INA219, we can't use a voltage divider and measure the current. Let me think about an alternative to do both. Could you measure current and voltage separate with Ardunio ADCs? Regards, Jamieson
  • Sorry, maybe you misunderstood, current is not needed really.  Just would be a nice add on so don't worry too much, really appreciate the help so far.  

    I'll get another ina219 hooked up to a resistor divider first and then think up another plan.  Any suggestions on resistor values, I have read about dividers needing to match the impedance of what is connected?  I have a couple of 1% 1M ohm handy to halve the voltage

  • Those resistors should work. Make sure that the shunt resistance is removed and the high side of the load is attached to supply (highest voltage). If this isn't clear, let me know. Regards, Jamieson