I am using MSP430F247 controller which is having internal 12 bit ADC.so , i want to know the logic how to measure the variable analog frequecy i.e in the range from 50 - 60Hz +/- 2%. Please suggest some logics as earliest.
Nothing is wrong, but needless. It is like reading a push-button switch with an ADC, sure you can do it, but why? You are not looking for analog information, so why do you want to do things analog. All you want is the moment of the zero crossings. This is a digital event so it seems obvious to do it digital.Whats wrong with doing zero crossing detection in software? Seems like it would just be a few if statements...
by Jake Hertz
by Aaron Carman
by Duane Benson