2 different Voltages measured with INA219

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wweetts
 
Posts: 3
Joined: Thu Dec 19, 2013 6:19 am

2 different Voltages measured with INA219

Post by wweetts »

Is it possible to measure 2 different voltages (12V and 24V) with the INA219 when I take out the 100 Ohm resistor?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: 2 different Voltages measured with INA219

Post by adafruit_support_mike »

It's technically possible, but would be complicated.

You'd only get a direct reading for the lower voltage. Then you'd get a value for the difference between the two voltages, calculated as a current through the sense resistor. You'd have to go through a fairly complicated set of equations to configure the INA219 so it would give you reasonable output values, then you'd have to convert those back to a voltage in the microcontroller.

It would be much easier to use a regular ADC.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”