Electronics Lab

100MHZ Frequency Counter with PIC16F628A

This project shows how to build a very simple yet very useful tool that every DIY enthusiast should have in his lab: a 100MHz+ frequency counter. The schematic is fairly simple and straightforward and uses a PIC16F628A microcontroller for measuring frequency and a high speed comparator for signal amplification and conditioning.



FreqCounter16F628ALCD1-1024x906

This project shows how to build a very simple yet very useful tool that every DIY enthusiast should have in his lab: a 100MHz+ frequency counter.

The schematic is fairly simple and straightforward and uses a PIC16F628A microcontroller for measuring frequency and a high speed comparator for signal amplification and conditioning.

The microcontroller uses its internal 4MHz oscillator for the CPU clock. Timer1 uses an external crystal resonator (watch crystal) with 32768Hz frequency for setting the 1 second time base.

Timer0 is used to count the input signal at pin RA4.

100MHZ Frequency Counter with PIC16F628A – [Link]

Subscribe
Notify of
guest

2 Comments
Inline Feedbacks
View all comments
Board27

Hi,
congratulations , this seems a really interesting project and i would like to implement it in another one that i’m working in. Just a simple question since i’m new in Micro World. What i should add to the code to have an RS232 output directly to a serial?

Thanks in advance.