# How to measure high current (20A DC) using arduino

I would like to be able to measure the power of a load connected to a 12V battery - this load takes around 20A and I would like to be able to store this using an arduino.

My first attempt was using a shunt resistor to calculate the series current then multiply this by the voltage recorded across the terminals of the battery using a voltage divider - but the issue was that the ADC couldn't pick up the small voltage of the shunt (14mV) and I'm wondering whether i should use an op-amp to amplify the voltage or to take a whole different approach, because I would like a voltage resolution of 0.1mV.

I've been looking into using an INA219, but i'm unsure if it's capable of this resolution or able to measure the voltage considering the high current.

Thanks

• The main thing to be concerned for a precise measurement, is to use the full range of your ADC. I believe the ADC reference voltage is 5V, so at 20A the ADC voltage should be around 5V. Then, depending on your shunt resistor, you might need to amplify the voltage across the shunt with the correct gain, ex: if at 20A you have 14mV a gain of 360 might be required, to use the full range of your ADC. – Delphesk Feb 18 '20 at 15:11 