Article
1 MHz Frequency Counter
-
The XR 2206 function generator chip is a very popular device and forms the basis of many analogue function generator designs. A disadvantage of this chip is that in its most basic configuration the output frequency is adjusted manually by rotating an output frequency control knob and lining it up on a printed scale. Without a frequency counter its difficult to tell the value of the output frequency, especially at the high end of the scale. The frequency counter design presented here offers a low cost solution to this problem and achieves good accuracy.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Extra info / Update
The original software contained a few errors and a new version may be obtained from our website (ref. 030045-11.zip).
The software has been written for a 4.194304-MHz quartz crystal. To enable the microcontroller to be used with an 8.388608-MHz crystal, the program has to be modified as explained in the source code file, and then compiled again.
The software has been written for a 4.194304-MHz quartz crystal. To enable the microcontroller to be used with an 8.388608-MHz crystal, the program has to be modified as explained in the source code file, and then compiled again.
Component list
Resistors:
R1 = 10k
P1 = 1k preset
Capacitors:
C1, C2 = 27pF
C3 = 1µF / 16V radial
C4, C6 = 100nF
Semiconductors:
IC1 = 78L05
IC2 = AT90S2313-10PI, programmed, order code 030045-41
Miscellaneous:
X1 = 4.194304MHz or 8.388608MHz quartz crystal (see text)
LCD1 = LCD Module, 1 line, 16 characters
PCB, ref. 030045-1
project software, ref. 030045-11
R1 = 10k
P1 = 1k preset
Capacitors:
C1, C2 = 27pF
C3 = 1µF / 16V radial
C4, C6 = 100nF
Semiconductors:
IC1 = 78L05
IC2 = AT90S2313-10PI, programmed, order code 030045-41
Miscellaneous:
X1 = 4.194304MHz or 8.388608MHz quartz crystal (see text)
LCD1 = LCD Module, 1 line, 16 characters
PCB, ref. 030045-1
project software, ref. 030045-11
Discussion (0 comments)