Fork me on GitHub

Project Notes

#688 Crystal-locked 4MHz Oscillator

Testing a 4MHz crystal-locked Pierce oscillator using CD4001 CMOS NOR gates.

Build

Notes

This circuit is a variation on the theme from LEAP#656 Crystal-Locked Schmitt Oscillator using NOR gates and a 4MHz crystal.

Circuit Design

Key design notes:

  • Instead of simple inverters, the design uses NOR gates from a CD4001 chip. The NOR gate may either be wired:
    • both inputs tied together, so the output is always the inverse of the input
    • one input tied to ground, so the output is always the inverse of the other input
  • With a 4MHz crystal, so I needed to add small stabilization capacitors to maintain oscilation (in this case 30pF)
  • R1 is a feedback resistor uses the gate output to ensure sufficient charge on the gate input to oscillate. Values are not critical but as a rule : the higher the frequency, the lower resistance required. 4.7MΩ works fine in this case.

bb

schematic

bb_build

Test Results

Measuring 3.99991MHz, with scope connections as follows:

  • CH1 Yellow: buffered oscillator output
  • CH2 Blue: oscillator output

At 4MHz, waveforms are far from perfect square waves. Aside from breadboard inefficiencies, this is mainly because the oscillator is running in the region of the CD4001’s max propagation delay of 250ns i.e 4MHz

scope

Credits and References

About LEAP#688 CMOS/TTLOscillators

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader