I guess in that case it's best to do without it then. It would be nice if someone who knows how to read the code could take a look at it. As for me, it was something fun to play with for a bit, but it's not something I'd use all the time in all my houses.Ĭomparator output is logic high if the positive voltage is greater than the negative voltage, and logic low if the positive voltage is lower than the negative voltage. Totally we’ve 6 events: Phase A zero crossing: from high to low and from low to high Phase B zero crossing: from high to low and from low to high Phase C zero crossing: from high to low and from low to high How to detect the zero crossing: The easiest way to detect the zero crossing events is by using comparators. Basically 3 comparators are needed for this project, connections are done as shown in the figure below (example for phase B). The comparator has 3 main terminals: 2 inputs (positive and negative) and an output. It is a good idea, but it still needs some work. I have been noticing some odd things since installing it, nothing major, but just some things that didn't seem 'right,' so I think I'm going to take it out to see if that fixes it. BTW: I am still running NLp2 with Inge's noemptypotty hack, and I didn't notice it stop working.