Description: This project explains a very powerful frequency counter which has many useful software functions. The software can add or subtract 3 different IF frequencies (±455 kHz, ±10.7 MHz, and ±21.4 MHz). You have also two levels of resolutions, 1 kHz and 100 Hz. The main oscillator can be on-board 13 MHz or external 10 MHz. The counter data can easily be transmitted to a computer with an RS232 cable. The counter is based around an LCD display with 2 lines and 16 characters. A HD44780 based display is used, which is very common. A PIC16F870 circuit controls all counting and display functions. A prescaler is added to make it possible to measure up to 2.5 GHz with high sensitivity. The Display Module Size (W x H x T): 80 mm x 36 mm. The controller PCB has the same size. This makes the unit very small and slim. In the menu system of this frequency counter, you can choose between two reference frequencies: On-board 13.000 MHz crystal or External 10.000 MHz signal. The reason for using an external 10.000 MHz reference frequency is that it is common among reference oscillators, such as the HP Z3801 GPS locked frequency source. The main components of this project are an LCD, PIC16F870, and a prescaler LMX2322. The LCD is a standard 2 line 16 characters display connected in 4-wire mode to the PIC. At the bottom, you will find a 13.000 MHz or external 10.000 MHz frequency connected to the PIC. Capacitor C9 is variable and is used to calibrate the frequency counter. If you have an external 10 MHz oscillator, you should remove the crystal, C8, C9, and connect the signal to pin 9 of the PIC16F870. At pin 5, you have an output that can be connected to a piezo buzzer or similar to generate a beep whenever any button is pressed. If you don't want to use it, you can leave this pin as it is. Pin 2 is the switch SW1, which you can toggle choices in the menu system. Pin 4 is the switch SW2, which guides you through a seven-stage menu system.
When a 13 MHz crystal is used, the calibration of the counter is made by the variable capacitor C9. It will be able to change the timing ±100 ppm (±10 kHz at 100 MHz). Most people do not have a good reference to calibrate against, making it a bit difficult. The frequency counter is designed to be a measuring tool with good accuracy.
A "poor man calibration" can be performed using a good TCXO or similar with good frequency tolerance. A VCTCXO 12.800 MHz Crystal Oscillator manufactured by NDK (NKG3001B) has been tested, which has ±2.5 ppm tolerance. This oscillator is connected to the input pin 11 (RC0) of the PIC. Feeding the input with 12.8 MHz simulates an input RF signal of 1,638,400,000 Hz. The display should now show 1,638,400,000 Hz. Tuning C9 until this value is reached on the display results in a frequency counter with an accuracy of ±2.5 ppm (±250 Hz at 100 MHz).
The frequency counter circuit integrates several critical components to ensure accurate frequency measurements. The PIC16F870 microcontroller serves as the central processing unit, managing input from the frequency source and controlling the LCD display for output. The prescaler LMX2322 allows the counter to handle high-frequency signals up to 2.5 GHz, enhancing its measurement capabilities.
The LCD interface is designed for ease of use, featuring a two-line, 16-character display that presents frequency readings and menu options. The 4-wire connection mode to the PIC allows for efficient communication and control of the display. The variable capacitor C9 is crucial for calibration, enabling fine-tuning of the frequency counter's accuracy.
The design also includes user-friendly features such as a menu system navigated by switches SW1 and SW2, allowing users to select reference frequencies and access various functions. The option to connect an external 10 MHz reference signal provides flexibility for users seeking enhanced accuracy with external oscillators.
Overall, this frequency counter project combines a robust hardware design with versatile software capabilities, making it a valuable tool for various applications in electronics and signal measurement.This project explain a very powerful frequency counter which has many useful software functions. The software can add or subtract 3 different IF frequencies (±455 kHz ,±10.7 MHz and ±21.4 MHz). You have also two level of resolutions, 1kHz and 100Hz. The main oscillator can be on-board 13MHz or external 10 MHz. The counter data can easy be transmitted to computer with RS232 cable. The counter is based around a LCD display with 2 lines and 16 chars. I have used a HD44780 based display which is very common. A PIC16F870 circuit controls all counting and display functions. A prescaler is added to make it possible to measure up to 2.5GHz with high sensitivity. The Display Module Size (W x H x T): 80mm X 36mm. The controller PCB has the same size. This makes the unit very small and slim. In the menu system of this frequency counter, you can choose between two reference frequencies. On-board 13.000MHz crystal (picture at right), or
External 10.000MHz signal. The reason of using a external 10.000 MHz reference frequency is because it is common among reference oscillators, as HP Z3801 GPS locked frequency source. The main part of this project is a LCD, PIC16F870 and a prescaler LMX2322. The LCD is a standard 2 line 16 chars display connected in 4-wire mode to the PIC. At the bottom you will find a 13.000 MHz or external 10.000 MHz frequency connected to the PIC. Capacitor C9 is variable and is used to calibrate the Frequency counter. If you have an external 10 MHz oscillator you should remove the crystal, C8, C9 and connect the signal to pin 9 of the PIC16F870.
At pin 5 you have an output. It can be connected to a piezo buzzer or equal to generate a beep whenever any button is pressed. If you don't want to use it, you can leave this pin as it is. Pin 2 is the switch SW1 which you can toggle choices in the menu system. Pin 4 is the switch SW2 which guide you through a seven stages menu system. When a 13 MHz crystal is used, the calibration of the counter is made by the variable capacitor C9. It will be able to change the timing ±100ppm (±10kHz at 100MHz). Most people has no good reference to calibrate against and then it is a bit difficult. The frequency counter is supposed to be a measuring tool with good accuracy. One thing you can do is a "poor man calibration". You can use a good TCXO or equal with good frequency tolerance. I do have tested VCTCXO 12.800 MHz Crystal Oscillators manufactured by NDK (NKG3001B) which I have on my component page and it has ±2.5 ppm tolerance. I connect the 12.8 MHz ±2.5 ppm to the input pin 11 (RC0) of the PIC. Since I feed the input with 12.8MHz, I simulate an input RF signal of 1,638,400,000 Hz. The display should show now show 1,638,400,000 Hz. All you need to do is to tune C9 until you reach that on the display. Now you have frequency counter where the accuracy is ±2.5ppm (±250Hz at 100MHz).
The multifunction frequency meter is an instrument that can measure various parameters on a single display using an 8-digit 7-segment LED. The controls measure...
The multifunction frequency meter is designed to provide accurate measurements of frequency, voltage, current, and other electrical...
The PIC16F870 chosen for this project has several analog channels. One of these is used to capture the DTMF tones and decode the digits. The actual phone connections are made using a 'hacked' 5 line expander from Radio Shack. This...
To connect a microcontroller project to the COM port of a PC, an RS-232 converter is required. Various chips are available to address this need, such as the MAX232 and DS275.
The RS-232 standard is widely used for serial communication between...
The circuit is a direct-reading frequency meter that utilizes an amplifier and a one-shot trigger circuit, along with table-top components. It is capable of directly detecting a 1mA signal at the read head, with a maximum signal frequency of up...
Large LCD devices with one or more displays exhibit significant driving capacitance to the driver circuits. To address this issue, the drive circuit incorporates a buffer amplifier for each of the three common lines. Each amplifier can be programmed independently...
This circuit was designed to control a 32 channel Christmas light show from the PC serial port. Originally designed with TTL logic, it has been simplified using CMOS circuits to reduce component count. It is a fairly simple, reliable circuit...
The circuit for the RS232 serial interface exhibits mild complexity. The primary components of the circuit include the 18F4520 microcontroller, MAX233A level shifter, and a DB-9 connector. This circuit utilizes a basic +5V power regulator to supply the digital signals...
Our present car controller runs on a single PIC16F870 micro and provides functions for remote door locks, headlight reminder, and car finder. It is constructed using wire-wrap to allow for future expansion and is mounted using Velcro on the passenger...
The schematic is illustrated in figure 10. The circuit can be hardwired onto a breadboard, or a printed circuit board (PCB) can be purchased, as shown in figure 11. The LCD display utilized is a 2-line by 16-character display. An...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more