Oscillators come in a wide variety of designs and serve countless purposes. They can be built around inductors and capacitors, resistors and capacitors, crystals, or even specific diodes. An active semiconductor—such as a transistor or integrated circuit—is also needed. Some oscillator circuits are highly sophisticated; others are remarkably simple. This one is in the latter category, yet it has a surprisingly broad range of uses: a 10 MHz crystal, a CMOS 74HC00 IC, and a few unexpected possibilities are all it takes.

One of the first oscillator circuits encountered in electronics is the LC, or tank, circuit. In principle, it can operate across an enormous range of frequencies; practical limits come from the physical construction of its inductor and capacitor. We have already explored this kind of radio-frequency oscillator in our article on the Dip Meter. Quartz piezoelectric crystals offer another, simpler approach. The design here uses a CMOS NAND gate in a 74HC00.

C897.jpg
Proposed oscillator circuit

The circuit itself is straightforward, but oscillators operating above 2 MHz call for care. Keep connections short, provide generous ground planes, and, if possible, add a small shield to prevent the oscillation from affecting nearby equipment. This is particularly important when the oscillator is built into another device.

The illustrated setup runs from a 9-volt battery. A Zener diode regulates the supply to the 74HC00 at 5.1 volts. That makes the circuit a possible master oscillator for microcontroller projects, and a ready-made oscillator can also be handy for experiments and testing. The design works with crystals across a broad range of values, so it can double as a quartz-crystal tester: check the resonant frequency with a frequency counter and inspect the waveform on an oscilloscope.

C898.jpg
A small metal enclosure is ideal for the assembly
C899.jpg
The PCB should fit comfortably inside the enclosure
C89A.jpg
The 74HC00 is responsible for the circuit’s distinctive operation

The IC can also operate at 3.3 volts, making it useful as a master oscillator in experiments with many kinds of microcontrollers. As the video and images show, we fitted the circuit inside a metal case to help contain unwanted emissions and connected its output to a female F connector.

You are not limited to the 74HC00. With the appropriate pinout changes, other inverting NAND gates, such as the CD4093B, can be used. Simple inverters in the CD4069B can also get an oscillator running. In fact, any CMOS inverting gate can be used to build a quartz-crystal oscillator. The CMOS CD40XX family can run directly from a 9-volt battery. The 74HCXX family is also CMOS, but its operating voltage is limited to 6 volts, according to manufacturers’ datasheets; see this power supply.

What can you do with this oscillator?

It can serve as a signal injector for tuning receivers, a fixed-frequency oscillator for radio transmitters, a clock source for microcontroller experiments, a quartz-crystal tester, or a simple CMOS gate tester. Those are just a few of its many possible applications.

There is another feature worth noting about the 74HC00: the circuit acts as a harmonic generator. Alongside the fundamental frequency determined by the quartz crystal, it produces multiples of that frequency. With a 10 MHz crystal, for example, the output includes signals at 20, 30, 40, and 50 MHz, and continues generating harmonics as far as the IC can operate. Depending on the manufacturer and the 74HCXX gate used, that can mean frequencies above 200 MHz. This makes the circuit a useful marker for the NeoTeo Spectrum Analyzer.

Known frequencies in different bands can help identify unknown signals. FM stations, aviation transmission towers, AM radio program links, and over-the-air or cable TV channels can all provide useful reference points. With its known crystal frequency and harmonics, this oscillator can help estimate unfamiliar frequencies. It is simple to build and can prove effective in a range of situations.

We hope this project introduces you to one of the many ways to build an oscillator. What other use would you find for it, and if you already have one, what do you use it for? It is a fun circuit for experimenting with quartz crystals and their harmonics. Remember that deliberately causing interference is punishable by law. Choose crystals that will not disrupt public services. Have fun, learn, and enjoy the surprises of electronics!