[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”
[Scott Harden] is drilling teeth by day and designing radios that send secret messages by night. He’s set his sights on the Hellschreiber protocol which was used by the Germans in World War II along with their Enigma encryption system. The protocol is a viable alternative for transmitting and receiving code in environments with too much background noise for other communication systems.
His goal was to develop his own transmitter using just one microcontroller. He picked an ATmega48 and coupled it with a 40 MHz crystal oscillator. [Scott] mentions that there is no other hardware necessary, but static messages stored in an array so you’d need some other hardware to push your own characters through via the chip’s UART or otherwise. The AVR sends messages by converting the data into audio using PWM. That signal is fed into the crystal oscillator, which produces an amplitude modulated signal (AM) that can then be transmitted.
Check out his video after the break for a demonstration. He’s decoding the transmitted data using a free program called Ham Radio Deluxe.
Continue reading “[Scott] made a single-chip Hellschreiber on earth”