Fork me on GitHub

Project Notes

#668 Code Practice Oscillator

Build and test a simple 2-transistor code practice oscillator.

Build

Here’s a quick demo..

clip

Notes

There’s a long history of simple audio oscillator circuits intended to practice morse code.

Some of the circuits found on the internet are from the very early days of vacuum tubes or early transistors. I’ve tried to make a few of those circuits work with little success, and suspect many are no longer a practical designs because of how good our components are these days. A couple of examples…

codeosc1

simple-audio-amplifier-circuit-with-two-transistors

Circuit Design

The circuit I’ve used here - that does work - is based on Simple Two Transistor Oscillator (www.homemade-circuits.com).

I’ve modified some of the values for a tighter audio range. At 5V it is very loud;-)

bb

schematic

bb_build

Waveform

Here’s a trace of the oscillator output with R1 in a random mid-position, pitching it at 415Hz. As can be seen, the oscillator is a pretty harsh for an audio tone:

  • square wave
  • unbalanced duty cycle
  • appears to be quite a flyback voltage spike

scope

Credits and References

About LEAP#668 BJTRCOscillators

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