About a decade ago I started a strange little journey in my free time that cut a path across electronics manufacturing from over the last century. One morning I decided to find out how the little glowing glass bottles we sometimes call electron tubes worked. Not knowing any better I simply picked up an old copy of the Thomas Register. For those of you generally under 40 that was our version of Google, and resembled a set of 10 yellow pages.
I started calling companies listed under “Electron Tube Manufacturers” until I got a voice on the other end. Most of the numbers would ring to the familiar “this number is no longer in service” message, but in one lucky case I found I was talking to a Mrs. Roni Elsbury, nee Ulmer of M.U. Inc. Her company is one of the only remaining firms still engaged in the production of traditional style vacuum tubes in the U.S. Ever since then I have enjoyed occasional journeys down to her facility to assist her in maintenance of the equipment, work on tooling, and help to solve little engineering challenges that keep this very artisanal process alive. It did not take too many of these trips to realize that this could be distilled down to some very basic tools and processes that could be reproduced in your average garage and that positive, all be it rudimentary results could be had with information widely available on the Internet.
When buying anything, you’re going to have a choice: good, fast, or cheap. Pick any two. A plumber will fix a drain good and fast, but it won’t be cheap. The skeezy guy you can call will fix a drain fast and cheap, but it won’t be good.
Such it is with radios. You can have long-range (good), high bandwidth (fast), or a low price (cheap). Pick any two. The Internet of Things demands a cheap, long-range radio module, but until now this really hasn’t existed. At Electronica last week, Microchip demoed their IoT solution, the LoRa. This module has a 15km (rural) or ~3km (heavy urban) range, works for a year on two AAA batteries, and is very cheap. Bandwidth? That’s crap, but you’re not streaming videos to your shoe.
Often the Morse Code centered projects that we feature are to help you practice transmitting messages. This one takes a tack and builds an automatic decoder. We think [Nicola Cimmino’s] project is well worth featuring simply based on his explanation of the Digital Signal Processing used on the signal coming in from the microphone. Well done. But he’s really just getting warmed up.
What makes this really stand out is a brilliant algorithm that allows conversion from Morse to ASCII using a lookup table of only 64 bytes. This provides enough room for A-Z and 0-9 without chance of collision but could be expanded to allow for more characters. Below is a concise description of how the algorithm works but make sure you take the time to read [Nicola’s] project description in its entirety.
The algorithm can be decribed as follows. Have an index inside the lookup string inizialied to zero. Have an initial dash jump size of 64. At every received element (dot or dash) halve the initial dash jump and then increase by 1 the index inside the lookup string if a dot was received and by dash jump size if a dash was received. Repeat until a letter separator is reached, at that point the index inside the lookup string will point to the ASCII corresponding to the decoded morse.
The Sony-Ericsson MMR-70 radio transmitter apparently used to connect to a cell phone and broadcast music. But the Walkman cellphones in question are a little bit old in the tooth, so one can buy the transmitter units for cheap on the resale market. What makes the transmitters even more interesting is that you can activate and deactivate the radio, change frequency or output power, and even send RDS station and song information.
It turns out (link in German) that the radios have an AVR ATMega32 microcontroller and a NS73 radio transmitter module, which can be entirely controlled over I2C. (Schematic here as PDF.) The units also have handy test points strewn all around. Once the test points were mapped out, one could completely ignore the on-board AVR microcontroller and control the FM transmitter module directly using the Raspberry Pi’s I2C outputs.
And that’s where [Tobias] stepped in. He wrote an I2C daemon for the Raspberry Pi that lets you control the FM transmitter via simple commands. All you have to do is solder up a bunch of test points, install [Tobias]’s software, write a batch script, and you’re on the air. For instance, this makes building a FM radio retransmitter for online streamed audio a one-day project. You can see his working example on youtube. Of course, you’ll want a web-based remote control interface to go with that.
If you’re interested in hacking along, and don’t have a Raspberry Pi application in mind, Sparkfun used to sell the NS73 radio transmitter so you can find lots of good information about the chip. We’d love to see a stand-alone broadcasting gizmo that actually utilizes the onboard AVR chip, but our hats are off to [Tobias] for making the Raspberry Pi version so accessible.
[Konstantinos] wrote in to tell us about his CDW project: a digital encoding scheme for ham radio that uses CW (continuous wave) Morse code for digital data transfer. CW operation with Morse code is great for narrow-bandwidth low-speed communication over long distances. To take advantage of this, [Konstantinos] developed a program that takes binary or text files, compresses them, and translates them to a series of letters and numbers that can be represented with Morse code.
The software translates the characters into sequences of Morse code pulses, and plays an audio stream of the result. His software doesn’t support decoding Morse from an audio stream, so [Konstantinos] recommends using one of many existing programs to get the job done. Alternatively those with a good ear and working knowledge of Morse can transcribe the characters by hand.
After receiving a broadcast, the user pastes received characters back in the software. The software re-assembles the binary file from the Morse characters and decompresses the result. [Konstantinos] also added a simple XOR encryption feature, but keep in mind that using encryption on ham radio bands is technically illegal.
No, not a real fox! [KM4EFP] is a ham radio operator with a passion for fox hunting, which is an event where several radio operators attempt to find a broadcasting beacon (a “fox”) using radio direction finding techniques. [KM4EFP] has just built his own portable fox using a Raspberry Pi in a very well-built enclosure.
Since the fox could be outside for a while, the project was housed in a reasonably weatherproof ammunition case. A mount for an antenna was attached to the side, and it is hooked up to a GPIO pin on the Raspberry Pi. The entire device is powered by a 6000 mAh battery pack which allows the fox to broadcast long enough to be found.
The software running on the Raspberry Pi is very similar to the Pi FM transmitter program but it is specially made for ham radio broadcasting instead. Almost no extra hardware is needed to get the Pi broadcasting radio, as these software packages can drive the antenna directly from the GPIO pin. This is a great twist on the standard FM transmitter that ham radio enthusiasts everywhere can use to start finding those wily foxes!
Halloween may be over, but [happysat] has found a way to listen to the dead. Satellites, that is, specifically those in the 136-138 MHz and 150-400 MHz ranges. He’s using an RTL-SDR dongle and a QFH antenna to detect the death throes of decommissioned navigation and space research satellites.
[happysat] was listening to NOAA/Meteor on the 137MHz band when he made this discovery. When a satellite is near end of life, the last bit of fuel is used to push it into graveyard orbit. This doesn’t always work, however, and when the light is just right, a chemical reaction makes the long-dead batteries conduct and these satellites in purgatory transmit once more.
They’re not sending out anything proprietary useful, just unmodulated carrier that sometimes interferes with currently operational satellites on the 136-138 MHz band. [happysat] captured some audio from two of the oldest satellites that are still broadcasting, and links to a TLE set of dead satellites he created. Check out his frequency database for SDR# as well. Don’t have a weather satellite-capable antenna? Buildone!