100MHZ Frequency Counter with PIC16F628A

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.

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]

Please follow and like us:
Pin Share
About mixos

Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)

view all posts by admin
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.

Get new posts by email:
Get new posts by email:

Join 97,426 other subscribers

Archives