acs712 current sensor

Ian0

Joined Aug 7, 2020
13,131
It is right if VCC=5v ;)

But I agree, I should have stated VCC*0.5 where VCC is the ACS712 supply voltage.
It microcontroller and ACS712 share the same supply, and the microcontroller's A/D positive reference is the positive supply, then the A/D should read 0x8000 left-justified to 16 bits when there is no current (give or take the 4% error)
 
Top