Sie sind auf Seite 1von 15

Weekend Radio

Projects you can build - By: Mike Maynard, K4ICY

The Pleasant Code Practice Oscillator - An Amplified Shaped Sine-Wave Oscillator

As Presented in The Printed Circuit, Newsletter of the Tallahassee Amateur Radio Society
(TARS). December 2012 - Page 12 Click Here for an index of Electronics Projects

Many hams that get the electronics or CW bug try a Code Practice Oscillator (CPO) kit
sooner or later, or maybe orders a pre-made set, like one offered by MFJ. After a while, anyone
that uses a certain type of CPO will eventually tire of hearing the harsh tone that comes from
it. There’s a good chance the annoying sound quality is caused by the CPO’s circuit itself. Many
such circuits make use of the venerable and ever-versatile “555” timer IC. It’s not the IC’s fault
but the waveform produced by the circuit that uses it. Generally what you get is a ‘squarewave’-
based tone that, by its nature, sounds raspy, and when keyed on and off abruptly creates sound
artifacts such as clicks and pops. On top of that, many oscillator circuits used for CPOs have
their main power turned on and off as part of the keying process which often causes ‘chirps’ and
slight fluctuations in pitch because it takes a split-second to settle the levels, so to speak. With
an abrupt starting and stopping of the signal you also end up with ‘clicks’ and ‘pops’ and other
artifacts. The sound produced by a circuit with these issues can grate on the hearer’s ears and
actually cause fatigue in longer practice sessions. Real radios use sine-waves! Since there are
practical reasons why your transceiver uses sine-waves in its operation – why shouldn’t your Code
Practice Oscillator? Try this one!

UPDATE: Please check out the improved version [2.0] of the Pleasant Code Practice
Oscillator by Steve Smith, G0TDJ,
at: http://www.projectavr.com/esp-01-esp-03-flash-prototyping-board/
Steve has added LM386 AF amplification and other improvements and has
produced an attractive PCB (prototype) for use
as an educational tool for Foundation students.
Steve's site includes a comprehensive PDF schematic of V 2.0 as well as resource
files for professional PCB reproduction.

Enjoy my tutorial for the original version! :::


A Sine-wave is the purest
A Square-wave is not a pure signal and is
A tone composed of a signwave has a pleasant an

This ‘Pleasant’ Code Practice Oscillator produces a smooth-sounding sign-wave at your


favorite frequency, and during keying is turned on and off with smooth transitions which
eliminates ‘key clicks’. The oscillator is left running constant to reduce ‘chirping’. I show the
complete circuit schematic broken into two parts:
Part 1 – 3-Transistor Audio Amplifier
Part 2 – Twin-T Audio Oscillator with Edge Shaping

Part 1 – 3-Transistor Audio Amplifier


Click on pic for printable version.

You can build these circuits on a “breadboard” if you wish. Also known as a “solderless
prototype board”, they’re available at Radio Shack for as little as $10 with jumper wires for $7
and consist of strips of metal contacts encased in plastic that allow you to plug in wires and
components to build circuits. Without solder they’re ‘recyclable’, which means you can build
as many circuits as you wish.
To see how to use one, check out this site: www.instructables.com/id/How-to-use-a-
breadboard/

Here is a graphical layout of the ‘Pleasant’ CPO on a typical (64x2-row) breadboard:

Click on pic for printable version.

This 3-Transistor audio amplifier can provide a modest amount of volume for any audio project
and doesn’t require many parts. It was a common design used in some later transistor radio
designs and will provide 100mW of audio power to a 25 ohm speaker. A Small PM speaker
should be used. An 8 or 16 ohm speaker can be used just as well with down to around 50mW
of output. This is a forgiving circuit and many parts values can be substituted including the
transistors such as using the common 3900-types. Q2 is used as the pre-amp, and Q1 and Q3
are the speaker drivers. Diodes D1 and D2 are used to create constant bias voltage. R2 can be
adjusted from 50k-500k to peak the transistor’s bias but consider using heat sinks if the
transistors get too warm. Try it once constructed by applying a very low-volume signal to the
input from any audio source such as an mp3 player. You should get about a 5-times gain factor.

Part 2 – Twin-T Audio Oscillator with Edge Shaping


Click on pic for printable version.
The “Twin-T” oscillator is a classic design. It produces a sign-wave audio signal with very little
distortion by using a complementary pair of high-pass and low-pass RC filters - shown in the
schematic by the two obvious ‘T’ configurations. C1 and C2 must be the same value, and C3
must be exactly double the value used for C1 and C2. Just use two 0.01μF caps tied
together in parallel. Adjusting R1 will change the resonance frequency of the oscillator: A 10k
potentiometer can be used and a value of 3-10k will get you a range of around 500Hz–
1400Hz.

Actual wave-scope display of a 15wpm ‘dit’

You can try any type of NPN transistor and there should be enough output to drive a small
high-impedance earphone. The second part of the schematic shows a common
2N7000 MOSFET and other various discrete components. Used in this configuration, the
MOSFET will smoothly ‘ramp’ the signal level of the oscillator in and out. When the ‘Key’ circuit
is brought to ground potential through R7, C5 is bled at a fixed rate and Q2 loses gate
saturation. The ‘Twin-T’ audio signal is now left untouched. When the ‘Key’ is released, the
voltage potential to Q2’s gate is brought to positive through R6 while re-charging C5 thus the
audio signal is now gradually shunted to ground. R6 and R7’s values are chosen for around a
10ms transition time. You can adjust these to change the attack and decay of the CW envelope.
The image above is an actual wave-scope display of a 15wpm ‘dit’. The result produces an easy
to listen to CW sound and I was able to build everything on a Radio Shack prototyping
breadboard in about half an hour. Using a breadboard is the next step up from the spring-
terminal project labs that were once offered by Radio Shack, and they allow you to do so much
more. This circuit can be transferred to a throughhole and soldered Vero prototyping board
and then into a project box. Once finished you can enjoy hours of smooth and pleasant-to-the-
ears CW practice!
Here is a quick and dirty layout on a solderless breadboard.

Check out this version built by Chris Waldrup, KD4PBJ

Chris incorporated an LM386 audio amplifier and is shown here using the CPO to get great
practice with his newly acquired Vibroplex bug.

Chris also suggested changing the value of R5 in the oscillator circuit from a 33k ohm resistor
to 100k when using an OP-amp or such type as the LM386 to reduce audio bleed-through due
to too much gain.

And check out this build by Walter Anderson, AF5WH

Walter also uses an LM386 audio amplifier, and just look at that "Manhattan" style
construction - This is definitely a major upgrade for his old MFJ Code Practice Key!

And again, here is the updated schematic for the improved version [2.0] designed by Steve
Smith, G0TDJ:
CW_Practice_Oscillator_v2.01_SCHEMATIC.pdf

Have some fun this weekend… For goodness sakes - get out your breadboard and build
something!

73! DE Mike, K4ICY k4icy@arrl.net

Edited: 07/11/18
©2012-2018 Copyright - Michael A. Maynard

Source:
http://k4icy.com/weekend_radio_3tr-audio-amp.html
Non-AVR Projects

Twin ‘T’ CW (Morse) Practice Oscillator


For a while now, I’ve had need of an easily portable oscillator to be able to practice Morse
Code or give the occasional lesson. Recently, I have also discovered Network Radio and all
the delights of chatting to people all over the world. I have been asked several times for
lessons/workshops utilising the Network Radios channels.
To this end, I had a good search around and eventually found a design by Michael Maynard
(K4ICY) of a Twin ‘T’ oscillator. On his page, he pairs it with a simple transistor amplifier, but I
wanted to get a little more volume. I rooted around and found a circuit utilising an LM386 and
added it to Michael’s oscillator design. The resultant circuit looks like this:

CW Practice Oscillator v2.00 Schematic


PDF Version available with other files below. Michael’s oscillator is simply fed into the LM386
via a 220uF capacitor. I found the original wave shaping to be a little aggressive for my tastes
so I substuted R7 for a 220R resistor. This changed the attack and created a much more
reactive tone for me. You may need to experiment to find a value that works in your own
builds.
CW Practice Oscillator v2.00 KiCad 3D Front
The pcb is laid out pretty much the same as the schematic. I included the potentiometer RV3,
but I find it is wound all the way up to drive the 8ohm speaker I am using on the prototype.
For speed, I soldered the pitch and volume pots directly to the board, but this was just for
speed of testing. When I house the board in a case, I will mount the controls on the case and
run wires appropritely.

CW Practice Oscillator v2.00 Prototype


The circuit runs happily on 9V. I tested it with a bench power supply but it works equally well
when powered by a standard PP3 9V Battery.

Here are all the files for fabricating the CW Practice Oscillator v2.00:
 CW Practice Oscillator v2.00 PCB .SCH schematic file
 CW Practice Oscillator v2.00 PCB .PCB board file
 CW Practice Oscillator v2.00 PCB .PRO file
 CW Practice Oscillator v2.00 PCB .LIB file
 CW Practice Oscillator v2.00 PCB Gerbers .ZIP file
 CW Practice Oscillator v2.00 PCB Schematic .PDF file
 CW Practice Oscillator v2.00 PCB Images .ZIP file
 CW Practice Oscillator v2.00 PCB BOM .TXT File [To Follow]
Please note, due to the way the website server stores and accesses files, I have added underscores to
filenames.
On Michael’s site, he mentions the possibility of the transistors getting hot. I haven’t noticed
this on my prototype as yet but it may be because I have only tested it in brief sessions. It’s
certianly something to bear in mind.

I housed my unit in an ABS Instrument case 140x110x35mm I found on eBay. I also purchased
a 9V battery compartment to keep things neat. The front panel was printed on a laser printer
on standard A4 photocopy paper. I used spray adhesive to affix the case panel to the paper.
To line it up, I suspended the A4 sheet on a window so I could see the guide rectangle
through it.

CW Practice Oscillator v2.00 Front Panel


Download the PDF from HERE. Remember to print at 100%. I also used a paper template to
drill the holes for the speaker mounted on the top of the case After drilling, I carefully peeled
away the template and cleaned off the residual glue.

CW Practice Oscillator Internals

CW Practice Oscillator Internals from the Rear


It is a tight fit but everything is cleared and there is just enough space to close the case. I put
two large rubber feet on the bottom front corners of the case and two smaller ones on the
rear. This inclines the case slightly upwards.

Completed CW Practice Oscillator


This will be a useful piece of kit to have around the shack and also to use if asked to help out a
fellow ‘Ham’ learn the code.

Source:
http://www.projectavr.com/esp-01-esp-03-flash-prototyping-board/

compile by YC9DRB
Denpasar, Jun 2017

Das könnte Ihnen auch gefallen