I need to build a display with a frequency counter, but the 2 options I'm considering (the only 2 I know) won't work well for the frequency ranges I need: 1Hz to 300MHz.
The first method I know is using a counter IC (something like this using a CD4047 http://www.tradeofic.com/uploadfile/ic-circuit/2009713213549917.gif). I already built one of this with 2 ranges -Hertz and Kilohertzs-, and it works well in the high range; but with low frequencies -the Hertzs range- the display needs to be off for a full second while it counts; so I get an annoying one second on one second off flicker.
The second method I know is using a microcontroller. The problem is that I need it to display frequencies up to 300 MHz; so, I'm not sure how to achieve this -or even if it's possible- with a 20Mhz PIC. I saw a website with the code for a 20MHz PIC that can count frequencies up to 80Mhz; but it's in assembly (which I'm not familiar with) and it doesn't explain exactly how it achieves this with a microcontroller that's 4 times slower.
I was wondering if anyone knows other alternatives to these 2 methods that could handling ranges from 1 Hz to 300 MHz.
Thanks in advance for your help...
The first method I know is using a counter IC (something like this using a CD4047 http://www.tradeofic.com/uploadfile/ic-circuit/2009713213549917.gif). I already built one of this with 2 ranges -Hertz and Kilohertzs-, and it works well in the high range; but with low frequencies -the Hertzs range- the display needs to be off for a full second while it counts; so I get an annoying one second on one second off flicker.
The second method I know is using a microcontroller. The problem is that I need it to display frequencies up to 300 MHz; so, I'm not sure how to achieve this -or even if it's possible- with a 20Mhz PIC. I saw a website with the code for a 20MHz PIC that can count frequencies up to 80Mhz; but it's in assembly (which I'm not familiar with) and it doesn't explain exactly how it achieves this with a microcontroller that's 4 times slower.
I was wondering if anyone knows other alternatives to these 2 methods that could handling ranges from 1 Hz to 300 MHz.
Thanks in advance for your help...
Last edited: