Need Help with the ACS 756 50A Current Sensor

Hello, I don't understand how the 50A current sensor is connected to measure the DC current. How is the current sensor is connected to the battery and does a load is needed?
ZaM WROTE:Current reading is depends on your connection. as long as the connection in series, the reading should be same.You can place your multimeter connected directly with ACS sensor to read the actual current value.
ober WROTE:Can you measure the 5V of Arduino board? The exact voltage of 5V pin. It might not be exactly 5V, it might be higher, or lower. Can you share that information?
This is because if the voltage is not exactly 5V, then your formula cannot use 5000 for multiplication to get milliVolt.
And that voltage will also affect the ACoffset, because according to datasheet, the 0A is VCC/2, but in code, we assume is 2.5V.
And there is also noise of 10mV
So try to consider this and put in the code .