Professional Documents
Culture Documents
Branch: master LittleArduinoProjects / Equipment / FrequencyCounterKit / Create new file Find file History
tardate remove catalog link from readmes Latest commit 82d362f on Apr 21
..
README.md
#295 FrequencyCounterKit
Build and test a common PIC-based frequency counter kit.
Notes
I picked up a kit similar to this one after watching Julian Ilett's videos on the kit build.
Not that I really need another frequency counter, but it is interesting to see how this one is constructed.
Julian's investigation of the circuit was thorough, including the discovery that the kits available are deritative from original
work by Wolfgang "Wolf" Büscher, DL4YHF, in his Frequency counter with a PIC and minimum hardware.
Specifications
From seller product information pages:
Color: Red, Simple Construction , compact design, easy to install and debug. Designed to measure the frequency of
oscillation of most crystal oscillators. Based on PIC microcontroller can measure the frequency of 1 Hz to 50 MHz. Five
digits of precision, for example kHz x.xxxx, MHz or xx.xxx x.xxxx MHz. General for feeding USB interface can be used for
power supply, AC adapter or a battery of 9 V can be used too, it is used. Color: Red, Simple Construction , compact
design, easy to install and debug.
Designed to measure the frequency of oscillation of most crystal oscillators.
Based on PIC microcontroller can measure the frequency of 1 Hz to 50 MHz.
Five digits of precision, for example kHz x.xxxx, MHz or xx.xxx x.xxxx MHz.
General for feeding USB interface can be used for power supply, AC adapter or a battery of 9 V can be used too, it is
used.
Optional mode of power saving: can automatically convert the display if the frequency does not change significantly in
15 seconds
Very small number of components: a PIC16F628, 5, 7-segment LED screens, a 20 MHz crystal and some resistors
Frequency range: 1 Hz-50 MHz
Glass Test Range: 4 KHz-48 KHz
Built Item Size: 8 * 5.5 * 0.7 cm / 3.2 * 2.2 * 0.3 inches
Parts
IC1 PIC16F628 1
Q2 S9018 transistor 1
J3 barrel jack 1
S1 pushbutton switch 1
DIP socket 1
PCB 1
Construction
The circuit in this kit is based on Construction - Variant 2 by Wolfgang "Wolf" Büscher, DL4YHF. Modifications:
Performance
Julian and others have reported issues with the frequency counter (temperature effects; failure to register). However in my
tests I didn't see any of these problems. I tested crystals from 4MHz to 16MHz and got quite accurate results in all cases.
Here's an example of a 7MHz crystal under test:
With a function generator, I also got accurate readings form 1kHz to 24MHz (the upper limit of the function generator). The
input signal is a 0V to 5V square wave:
Configuration
The press-button is used to access a control menu for the device. To get good results, I had to make two changes:
"Zero" - resets the frequency offset. When I first tried the device, it had a 5MHz offset which needed clearing.
"PSave" - enables/disables power save feature. When I first tried the device, power save was enabled, which causes the
device to keep turning off (may be misleading and make you think it is not working).
Input Connections
Input connections are not fully documented. Here's how they seem to work. The connector and pin identifications refer to
the schematic:
J1 2 no connection
J1 3 crystal leg 2
J2 and J3 and configured to allow by-pass power supply. J3 is the barrel jack - when power is plugged in here, it by-passes
any power supply connected on J2. For my tests, I just had power connected on J2.
no over-voltage protection
unable to read small signals
AC-coupled signals may not have sufficient high-side amplitude
© 2019 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub Pricing API Training Blog About