augustinetez
Active Member
I'm having a bit of a brain fart here.
With regard to the following text from a PIC Frequency Meter/Counter project (uses 4MHz xtal)
We're talking counting/measuring frequencies in the 1 - 50MHz range.
I've noticed several such projects around the 'net that do the same/similar thing.
With regard to the following text from a PIC Frequency Meter/Counter project (uses 4MHz xtal)
unless I'm completely missing something here re "counting for 0.4 seconds and dividing the result by 4", wouldn't you just get the same result by counting for 0.1 seconds?The PIC implements a 32 bit counter, partly in internal hardware and partly in software. Counting is enabled by turning off the internal pull-down transistor for "exactly" 0.4 second. At the end of this time, the PIC divides the count by 4, then adds or subtracts the appropriate IF frequency to get the actual frequency. The resulting count is converted to printable characters and delivered to the display.
We're talking counting/measuring frequencies in the 1 - 50MHz range.
I've noticed several such projects around the 'net that do the same/similar thing.