The first music played on personal computers didn’t come out of fancy audio cards, or even a DAC. the first audio system in a personal computer was simply holding an AM radio up to the case and blinking address pins furiously. This worked wonderfully for homebrew computers where EMC compliance hadn’t even become an afterthought, but the technique still works today. [Chris] is playing music on the radio by sending bits over the system bus without using any wires at all.
[Chris]’ code is based on the earlier work of [fulldecent], and works pretty much the same. To play a sound over the radio, the code simply writes to a location in memory when the waveform should be high, and doesn’t when the waveform is low.
Of course the ability to exfiltrate information over an airgap has a few more nefarious purposes, but [Chris] also has another way of doing just that which is undefeatable by a TEMPEST shielded computer. He can send one bit at a time by opening and closing a CD-ROM drive, capturing these bits with a webcam. Is it useful? It’s hard to imagine how this setup could ever capture any valuable data, but it is a proof of concept.
Here’s a question: when did you last listen to an AM radio station? If your answer is “recently”, chances are you are in the minority.
You might ask: why should you listen to AM? And you’d have a point, after all FM, digital, online, and satellite stations offer much higher quality audio, stereo, and meta information, and can now be received almost anywhere. Even digital receivers are pretty cheap now, and it’s by no means uncommon for them to not even feature the AM broadcast band at all. Certainly this has driven an exodus of listeners to the extent that AM radio has been in slow decline for decades, indeed it’s disappearing completely in some European countries.
Continue reading “AM, The Original Speech Transmission Mode”
Heathkit, the storied purveyor of high-quality DIY electronics kits that inspired a generation of enthusiasts and launched the careers of many engineers, has returned from the dead. We think. At least it seems that way from this build log by [Spritle], an early adopter of the rebooted company’s first offering. But if [Spritle]’s experience is any indication, Heathkit has a long way to go to recreating its glory days. Continue reading “Heathkit’s Triumphant Return?”
[Alex Lao] has been playing around with the CPLD-like parts of a PSoC. Which is to say, he’s been implementing simple logic functions “in hardware” in software. And after getting started with the chip by getting accustomed to the different clock sources, he built a simple AM radio that transmits at 24 MHz.
The device that [Alex] is learning on is a Cypress PSoC 5LP, or more specifically their (cheap) prototyping kit for the part. The chip itself is an ARM microprocessor core with a CPLD and some analog tidbits onboard to make interfacing the micro with the outside world a lot easier. [Alex] doesn’t even mess around with the microprocessor, he’s interested in learning the CPLD side of things.
He starts off with a 24 MHz carrier and a 1 kHz tone signal, and combines them with a logical AND function. When the tone is on, the carrier plays through; that’s AM radio at its most elemental. Everything is logic (square waves) so it’s a messy radio signal, but it’ll get the job done.
Adding a multiplexer up front allows [Alex] to play two tones over his “radio” station. Not bad for some simple logic, and a fantastic Hello World project for a CPLD. We can’t wait to see what [Alex] is up to next!
If you’re interested in getting your feet wet with either CPLDs in general or a CPLD + micro system like Cypress’s, the development kit that [Alex] is using looks like a cheap and painless way to start. (Relatively speaking — PSoCs are a step or two up a steep learning curve from the simpler 8-bit micros or an Arduino.) Hackaday’s own [Bil Herd] has a video on getting started with another member of the Cypres PSoC family, so you should also check that out.
Many of us still tune in to terrestrial radio for one reason or another, be it baseball games, talk radio, or classic rock. But do you know how the sound is transmitted to your receiver? This week, our spotlight shines upon a short film produced by KYW Radio that serves as a cheerful introduction to the mysteries of amplitude modulation (AM) radio transmission as they were in 1940.
Sound vibrations enter a microphone and are converted to electrical current, or an audio waveform. The wave is amplified and sent several miles away to the transmitting station. During this trip, the signal loses power and so is amplified at the transmitting station in several stages. This audio wave can’t be transmitted by itself, though; it needs to catch a ride on a high-frequency carrier wave. This wave is generated on-site with a huge crystal oscillator, then subjected to its own series of amplifications prior to broadcast.
The final step is the amplitude modulation itself. Here, the changing amplitude of the original audio wave is used to modulate that of the high-frequency carrier wave. Now the signal is ready to be sent to the tower. Any receiver tuned in to the carrier frequency and in range of the signal will capture the carrier wave. Within the reciever, these currents are converted back to the vibrations that our ears know and love.
Continue reading “Retrotechtacular: The Spirit of Radio”
[Angus McInnes] has been working on AM radio transmission techniques. He tried out a method of using a VGA port for the task but found the vertical blanking was audible. His latest experiments use a Teensy microcontroller board as an AM transmitter.
This is not a standalone solution, but rather a hardware extension for his laptop. This is because the microprocessor doesn’t have enough cycles to do much more than read bytes over USB and push their bits out one of the I/O pins.
To get a steady stream of data he’s using isochronous mode to push a steady data stream via the USB connection. Bulk transfer is another option but [Angus] found that it caused some jitter in the audio. Each byte is fed to the AVR SPI hardware once every eight clock cycles. His transmission can be picked up from across the room, but that’s the limit since the AVR doesn’t put out that strong of a signal. But it should be a rather trivial exercise to build a simple amplifier.
Make sure to brush up on your safety protocol if you undertake this project. The penalty for messing up when using live wiring as a radio receiver antenna is rather severe. But after reading about it in some old books [Miroslav] decided to give this technique a try.
We love the old-school chalk board he used to map out his test circuit. With safety in mind, he uses two high voltage capacitors in series. If these should somehow fail, there is also a fuse which would blow, disconnecting the apparatus from mains. But just to be sure, he isolated the circuit using a two coils. These step down the voltage, but would also burn out if hit with a voltage spike.
You can see the results he gets using the setup as an AM radio receiver in the video after the break. He tested against a meter long antenna and found that his setup far outperforms it. Actually, he found that a six foot extension cord which is not plugged into the wall will also outperform the 1m antenna. Something to keep in mind the next time the ball game isn’t coming in as clear as you would like.
Continue reading “Using mains wiring as an antenna”