Arduino Forum

Topics => Science and Measurement => Topic started by: n8w1ng on May 26, 2012, 09:26 pm

Title: Uno+energy shield(olimex)-Zero crossing detection problem
Post by: n8w1ng on May 26, 2012, 09:26 pm
Hey guys
Im currently working on a project measuring energy consumption by using arduino UNO and Olimex energy shield+Non-Invasive Current Sensor .
Ive been trying to get the shield working for some time,but no success.


My problem is that im not able to detect Zero Crossing by using the ADE7753 library. The library provides methods for zero crossing detection, however it doesnt seem to work. After some debugging, Ive found out that the variable for Zero crossing is always -1.

note: the wiring energy shield+clamps has been done according to the manual(Voltage probe,Current probe)

I would be very grateful for any help regarding this issue