Here is a Basic PIC Frequency Counter design. For Arduino version click here. It doesn’t not attempt to compete with some advance designs and has a very limited frequency range, however it can be used as a starting point to implement a frequency counter or simply provide you a simple way to count pulses with PIC microcontroller. Current circuit is based on PIC16F876A
Circuit schematic is very similar to Digital Timer design. Also some functions like 7-Segment multiplexing and counter code were reused from earlier projects. It should be relatively easy to extend available measurement range by adding a frequency divider subroutine to the code or extend the number of digit shown by connecting another LED display module. Assembly source code can be downloaded here.