Fork me on GitHub

Project Notes

#590 74HC04 Relaxation Oscillator

Testing a simple relaxation oscillator using the 74HC04 hex inverter with an RC network.

Build

Notes

The 74HC04 is a high-speed CMOS hex inverter, consisting of six independent NOT gates that perform logical inversion. It operates within a voltage range of 2V to 6V and features low power consumption with fast switching times. Unlike the 74HC14, it does not include Schmitt-trigger inputs, meaning it is best suited for clean digital signals rather than noisy or slowly changing inputs. Common applications include logic level conversion, signal inversion, and clock signal generation in digital circuits.

Circuit Design

circ131

This relaxation oscillator uses two inverters with an RC network to slow down the state changes.

It is not necessary to use a Schmitt trigger input for this circuit, so the 74HC04 is used here.

bb

schematic

bb_build

Test Result

The frequency is determined by the RC time constant (f = 1 / (1.2 * R * C)). With R=1kΩ and C=100nF, the expected frequency is 8.333 kHz.

Running on a breadboard, I am getting a somewhat different result: 7.04 kHz at 64.7% +duty cycle

scope_1k_100n

Credits and References

About LEAP#590 CMOS/TTL74HC04Oscillators

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