Frequency counter

Thread Starter


Joined Dec 13, 2011
Hi all

I am using PICDEM2 plus board with PIC18F4620 to develop a frequency counter. My frequency input is on RC1 of the PIC.
My frequency counter displays 0 when i connect my frequency source to the PIC. Withnothing connected it displays 1958 on the hyperterminal!

Any suggestion as to where the problem lies?



Joined Apr 16, 2011
What is your frequency source? PIC RC1 will be expecting 0V or +5V - is that what you are giving it?

If the input is 5V TTL levels, then the problem is probably with your code.
Post your code and forum members will no doubt tell you where the problems lie.

Either way - we need more information in order to help you

Oh... and are you using the 2002 board (usually red) or the later board (usually green)?