50 MHz frequency counter, voltage meter & SWR/PWR indicator using PIC16C71

Circuit schematic PCB HEX code, V1.11 (operates with 4,000 MHz quartz) Hex code, V1.12 (operates with 4,1943 MHz quartz) PIC config bits


Photo – Top view Photo – Bottom view Photo – Latest PCB version with TO-92 style 78L05 housing – Top view (132 kbyte) Photo – Latest PCB version with TO-92 style 78L05 housing – Bottom view (138 kbyte)

voltage meter

This is a successor of the PIC16C71 4-digit LED f-counter & V-meter. Some hard to find parts used in the previous version, which are out of production for some time, has been omitted. A rather early PIC16C71 has also been replaced by 28-pin device PIC16F876. The later is capable of driving 4 digit LED display in multiplexed mode while measuring frequency, power supply voltage as well as handle two analog inputs to display SWR/PWR signal strength in a bargraph manner. There is no need for external LED display driver chip as well as external data EEPROM since it is already implemented in PIC16F876. Reduction in the number of used chips also results in smaller dimensions of the counter compared to its predecessor.

The latest software version (V1.1) supports following functionality:

Measurement of the frequency up to 50MHz
Measurement of power supply voltage in the range of 0.0 V … 25.5 V
Measurement of the input voltage at two analog inputs, simultaneously displayed as bargraph (PWR/SWR or S) indicator. The input sensitivity could be chosen between 0.25V, 0.5V, 1.0V and 2.0V for maximum bargraph indication.
Power save mode: Automatic display shut-down in case the push-button action or frequency change does not occur for a certain time. Display switches on againt after frequency change or push-button action. The available shut-down time periods are 3s, 10s, 30s, 60s, 120s, 180s and 240s. This function can be disabled in set-up menu.
Programmable frequency offset added or subtracted from measured frequency, settable in the range of 0 to 99,999.9 kHz. This is convenient for use with heterodyne type of RX/TX
Different display modes: XX.XX MHz, X.XXX MHz, XXX.X kHz
Display resolution 100 Hz
Measurement resolution 12,5 Hz
Hysteresis of displayed value 25 Hz


For more detail: 50 MHz frequency counter, voltage meter & SWR/PWR indicator using PIC16C71

Current Project / Post can also be found using:

  • swr and cwr in microcontrollers

Leave a Comment

= 3 + 1

Read previous post:
IR Widget
The IR Widget Using pic12f629

Simple IR capture for multitasking operating systems The IR Widget captures the infrared signals used by remote controls. It operates...

Scroll to top