Connecting a cable to send music or a spoken voice from one device to another is child's play. Achieving the same thing without a physical connection is a more grown-up challenge. An amplitude-modulated transmitter may look straightforward, but not everyone who sets out to build one gets it working reliably. This project lays the groundwork for an AM transmitter in whichever broadcast band interests you, and reveals some of the easily overlooked details that can derail even a basic build. The magic of radio, here at NeoTeo.
An LM386, a CD4011 and a 2N2222A are enough to open up a whole new world. Together, they make a simple, low-power AM radio transmitter with a range of only a few metres. The point is to understand how the amplitude of a carrier signal is varied to carry information wirelessly. The amplitude of a time-varying signal means its maximum and minimum levels, irrespective of its frequency. The signal carrying the information—the carrier—is generally at a much higher frequency than the information itself.
Audio frequencies span roughly 20 Hz to 20 kHz, although receiver quality limits the range that can actually be heard. A carrier can lie anywhere from the lower reaches of the radio spectrum—above ultrasound, around 100 kHz—to the highest frequencies that can practically be generated and handled. In simplified form, amplitude modulation looks like this:
Change in carrier amplitude in response to the applied modulation.
The three main circuit sections
The circuit has three sections. First, the modulator, built around a familiar LM386, takes audio from a recording or microphone and brings it to a useful level for this application. Next, a carrier oscillator generates the signal that will carry that audio. It uses a fixed oscillator based on a basic ceramic resonator, like those found in remote controls. A CMOS CD4011 drives a resonator operating in the broadcast band, 550–1700 kHz. The resonator used here was 640 kHz. The third section is a simple metal-can 2N2222A transistor.
Why use this transistor? It is robust enough to tolerate the inevitable rough handling and heat during early testing, before the circuit is adjusted. It combines the carrier from the fixed oscillator with audio from the LM386. A tuned output circuit then helps adjust the transmission for the best result. At the power input, a 1N4007 diode protects against accidentally reversing the connections to a 12-volt battery; a 9-volt battery can also be used. With those basics in mind, here is the proposed circuit. The boxed areas identify its main sections.
Proposed circuit for the amplitude-modulated transmitter.
The LM386 is marked A1. Its output has a jumper, JP2, followed by inductor L1, which should be between 1 and 5 mH. A 3.3 mH part salvaged from an old television chassis worked well here. The CD4011 section has fixed capacitors C1 and C2, plus variable capacitor CV1 for setting the exact carrier frequency, as described below. Another jumper, JP1, is important: its signal feeds the base of the 2N2222A, where amplitude modulation takes place.
A couple of component values differ from the prototype. R1 can be anywhere from 2.2 MΩ to 4.7 MΩ; the build used 4.7 MΩ. C17, 100 pF, may be omitted. It is intended to reduce EMI (electromagnetic interference) when operating near electric motors, high-voltage lines, powerful radio transmitters or other sources of interference. If these are not an issue, it can be left out. Start by assembling the power supply and LM386 modulator:
As the video shows, the design is exceptionally simple. It would be hard to use fewer components and still get acceptable modulation. The video also demonstrates JP2: if the modulator seems to be the source of a problem, take a direct output from the jumper and connect it to a 470 µF electrolytic capacitor and a loudspeaker for testing. On its own, this section is simply an LM386 audio amplifier.
You can substitute another audio amplifier if you prefer. Just keep its output level under control: this is a basic demonstration, not a bid to rival the BBC or Deutsche Welle. The route to more transmitter output power is a different one, which we will cover separately. After the initial tests, add whatever input-adaptation stage suits your needs, then check that the audio is clean and free of unpleasant distortion. Any distortion will carry through to the transmitted signal. JP2 provides a useful test point.
Generating and tuning the carrier
The oscillator produces the carrier that carries the information wirelessly in the radio-frequency spectrum. It is a familiar circuit, seen in many NeoTeo projects: a Pierce-type oscillator using two CMOS logic gates—in this case NAND gates in a CD4011. Instead of a piezoelectric crystal, this version uses a ceramic resonator like those in remote controls, but with a frequency in the AM broadcast band.
The resonator here was 640 kHz. Specialist shops may stock many values up to 1 MHz. For convenient testing on a conventional AM receiver, choose a frequency between 550 kHz and 1.7 MHz. And keep expectations realistic: this is not a clandestine station meant to disrupt the neighbourhood or stop anyone listening to a football match. It is a study of a basic principle, with a range of just a few metres.
Main parts that make up the carrier oscillator.
Pay close attention to the capacitors connected to ground when using ceramic resonators. Their values should be around 150 pF—very different from the values commonly used with 4 MHz or faster quartz crystals in microcontroller projects. A few picofarads here would produce a weak oscillation and an inadequate carrier. The circuit also includes a variable capacitor for precise frequency adjustment. With an analogue tuning dial, exact adjustment is less critical; a receiver with digital tuning benefits more from this control. A ceramic resonator has little frequency drift, unlike an L-C circuit, so the tuning should not need constant correction. See the effect in this video:
JP1 has a useful fallback purpose. If you cannot find a ceramic resonator for the frequency you want, use a quartz crystal instead—4 MHz or another frequency you can find, perhaps salvaged from an old radio or television. Then add a frequency divider to bring the oscillation into the AM band. For example, dividing a 4 MHz crystal's output by four gives 1 MHz (1000 kHz).
Higher crystal frequencies require larger division ratios, but a divider—potentially programmable with small switches—can still provide a free, useful frequency for experiments. Building that divider, along with other improvements to the experimental AM transmitter, will be the subject of a future instalment.
JP1 allows a frequency divider to be added if a resonator at a suitable frequency cannot be found.
Combining the signals and building the output stage
Once the LM386 modulator and CD4011 carrier oscillator are working, the signals meet at T1, the 2N2222A. The audio reaches the transistor through R2 and C3, and the result is amplitude modulation of the carrier. If T1 had a conventional collector bias, as in a common-emitter arrangement, its output would be the oscillator signal, amplified or not and shifted 180 degrees in phase, with a constant amplitude.
That is not how this circuit operates: the collector of T1 does not receive a fixed DC bias. Instead, its bias changes with the audio from the LM386. The carrier entering the base therefore leaves the collector with an amplitude that rises and falls according to the modulation depth applied by the LM386. The article's opening diagram exaggerated the changes with straight-sided waveforms to make the principle clear; in practice, it looks like this:
The next key section is the transmitter's output network of inductors and capacitors. Ideally, you would use an inductance meter to select parts with the specified values. Not everyone has one, so there are several ways to proceed. The simplest is to look for inductors with their values printed on them, either among parts you already have or at a local component shop.
Some inductors use a marking based on microhenries rather than millihenries, much like the code on certain capacitors. The part used here was marked “332”, meaning 3.3 mH: 33 followed by two zeros gives 3300 µH, or 3.3 mH. If you cannot find a suitable marked part, use ferrite toroids—not the yellow ones from old computer power supplies, but black ferrite cores—and wind them with enamelled copper wire 0.4–0.7 mm in diameter. As a practical guide, 30 turns on a toroid with a 2 cm outside diameter gives about 1 mH; 60 turns on the same core gives roughly 2 mH. That is how L2 was made for this build.
Circuit forming the AM transmitter's output filter.
The inductance values, together with the specified capacitances, are essential to getting good results. L1 acts as the load where the carrier is amplitude-modulated at a suitable level. If L1's inductance is too low, the load approaches a short circuit and will not produce the desired modulation depth. Too much inductance, on the other hand, consumes the audio energy and prevents the expected output amplitude. Values close to 3 mH should reproduce the results heard and seen in the video.
Detailed view of L2.
The final inductor, L2, forms a band-pass filter with C19, C13 and CV2. It sends as much useful signal amplitude as possible from T1's collector, via C12, to the output. In other words, it helps match whatever antenna you use. Basic radio practice says that a transmitter should never be operated without its proper antenna. Here, however, remember that output power is extraordinarily low—so low it barely deserves to be called power. There is only one transistor mixing two signals. Also, at 640 kHz the wavelength is nearly 470 metres (300,000/640, or 300/0.64), making a dipole antenna more than 222 metres long (142.5/0.64).
Next time, we will look at the many holes in the PCB, how to build an antenna for the greatest possible range, a frequency divider for quartz crystals, a microphone preamplifier and other useful additions to complete this simple, excellent AM transmitter. This project is dedicated to an outstanding colleague and an even better person, Lisandro, whom many of you read here every day.
PCB PDF: Download