I’m trying to measure the frequency (60hz) but I’m puzzled by the wiring. I have a 120 to 24vac transformer going straight into pins 1 and 2. Also getting -1 #qnan on the xval value in the project.
I just have it wired with a 24v AC step down transformer.
I also have the low pass filter with the capacitor and resistor that I talk about in the blog, but do note that the filter will not stop it from working, it just removes the spikes, so the qnan error has nothing to do with the filter.
For this module to give a #qnan error, the frequency has to be out of range.
How have you got the module scaled?