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
Project Source on GitHub Return to the LEAP Catalog

LEAP is just 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 PR!). See the individual projects for credits where due.

For a while I have also included various scale modelling projects here too, but I've now split those off into a new repository. Check out LittleModelArt if you are looking for the modelling projects!

Project Gallery Notebook LittleCodingKata LittleModelArt More on my blog