DC Current measurement using Arduino

I want to measure DC current. I have attached circuit I want to know capacity of my circuit

VCC = 60 V DC Max current = 20 A
VCC = 5 V DC Max current = 2 A

Is my circuit is able to measure current between 2 A to 20 A

Consult the data sheet of your module.

Yes, as long as the circuit board can handle 20A. (The chip can go to at least 30A.)

The [u]datasheet[/u] for the chip says 66mV/A so that's 0.132V at 2 Amps and 1.32V at 20 Amps.

With the 10-bit Arduino ADC referenced at 5V that gives you a an ADC reading of 27 at 2A and 270 at 20A. i.e. ADC = (V/5) x 1023.

I didn't check the tolerance/accuracy, and accuracy will also depend on the accuracy of the 5V reference, and the resolution is also somewhat limited. (i.e. there are no possible integer readings between 26 & 27 or between 27 & 28).

If you have the 30Amp version of this sensor, then yes.
This sensor can measure 0-20Amp bi-directional with about 0.1A resolution.
Plenty of ACS712 examples on this site.
Use the search field on top of this page.
Leo..

Thanks its excellent help

Do I need any other part to measure DC current (2 A to 30 A and 5v to 60 V) through device?