Help with ACS712 DC Current sensor.

Hi,
Thanks.
Another advice: do things one by one. Try first to make sure you're reading the sensor (by sending the value to the serial monitor; one of the "examples" in the IDE is almost that). Then you can make the comparation and chech if it works ... and so on.
Regards