Hello,
Has anyone played around with using a PIC as a frequency counter? I have the Analog/Digital part with the attenuator + divide by 1000 prescaler figured out. I want a usable range of 1kHz to 100MHz, in increments of 1kHz steps. I am using a serial 2 x 20 LCD.
If I use COUNT for 1 sec
low end 1kHz/1000 = 1 count per second
high end 100,000,000 Hz/ 1000 = 100,000 counts per second
I have not figured out how to scale and display the values such that I get for example a read out :
10.001.000 Mhz or 10.111.000 Mhz
Is there a better way of doing the above stated? Any info would be appreciated.
Nick
Bookmarks