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 .
Users browsing this forum: No registered users and 17 guests