Hello , if i use the ACS712 Current sensor , how can i detect the zero crossing ... ?
IMHO it's MUCH easier to go for an INA226 sensor.
It is calibrated, has voltage/current in one,
can sense current "off rail" and
does the power math with phase compensation for you...
PLEASE DO NOT HIJACK / NECRO POST !
Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.