RPiTX Turns Rasberry Pi Into Versatile Radio Transmitter

Since the discovery that some USB TV tuner dongles could be used to monitor radio waves across a huge amount of spectrum, the software-defined radio world has exploded with interest. The one limiting factor, though, has been that the dongles can only receive signals; they can’t transmit them. [Evariste Okcestbon, F5OEO] (if that is his real name! Ok c’est bon = Ok this is good) has written some software that will get you transmitting using SDR with only a Raspberry Pi and a wire.

There have been projects in the past that use a Pi to broadcast radio (PiFM), but this new software (RPiTX) takes it a couple steps further. Using just an appropriately-sized wire connected to one of the GPIO pins, the Raspberry Pi is capable of broadcasting using FM, AM, SSB, SSTV, or FSQ signals. This greatly increases the potential of this simple computer-turned-transmitter and anyone should be able to get a lot of use out of it. In the video demo below the break, [Evariste] records a wireless doorbell signal and then re-transmits it using just the Rasbperry Pi.

The RPiTX code is available on GitHub if you want to try it out. And it should go without saying that you will most likely need an amateur radio license of some sort to use most of these features, depending on your locale. If you don’t have a ham radio license yet, you don’t need one to listen if you want to get started in the world of SDR. But a ham license isn’t hard to get and at this point it shouldn’t take much convincing for you to get transmitting.

Continue reading “RPiTX Turns Rasberry Pi Into Versatile Radio Transmitter”

Secret Radio Stations By The Numbers

One thing has stayed with the James Bond movie franchise through the decades: Mr. Bond always has the most wonderful of gadgets. Be it handheld, car-based, or otherwise, there’s always something to thrill that is mostly believable.

The biggest problem with all of those gadgets is that they mark Commander Bond as an obvious spy. “So Mr. Bond, I see you have a book with many random five character groups. Nothing suspicious about that at all!” And we all know that import/export specialists often carry exploding cufflinks or briefcases full of unknown electronics in hidden compartments.

Just as steganography hides data in plain sight, the best spy gadgets are the ones that don’t seem to be a spy gadget. It is no wonder some old weapons are little more than sticks or farm implements. You can tell a peasant he can’t have a sword, but it is hard to ban sticks.

Imagine you were a cold war era spy living in a hostile country with a cover job with Universal Exports. Would you rather get caught with a sophisticated encryption machine or an ordinary consumer radio? I’m guessing you went with the radio. You aren’t the only one. That was one of the presumed purposes to the mysterious shortwave broadcasts known as number stations. These were very common during the cold war, but there are still a few of them operating.
Continue reading “Secret Radio Stations By The Numbers”

Thumbnail that say The Hacklet

Hacklet 19 – Ham Radio

19

Amateur, or ham radio operators have always been hackers. For much of the early 1900’s, buying a radio was expensive or impossible. Hams would build their own rigs, learning electronics and radio theory along the way. Time moves on, but hams keep hacking. Today we’re highlighting some of the best ham radio projects on Hackaday.io!

rtl

We start with [DainBramage1991] and his very practical RTL-SDR With Upconverter and Case. [DainBramage1991] fell in love with his low-cost RTL software defined radio dongle. He even added a Ham-It-Up upconverter to cover HF bands. The only problem was RF noise. the Realtek USB sticks tend to have little or no filtering, which means they are very susceptible to noise. [DainBramage1991] used the time-honored technique of insulating with copper clad board. Bits of PCB hold the RTL-SDR and upconverter in place. More PCB separates the two boards. Everything goes into a steel enclosure which keeps that unwanted RF at bay.

foxhunt-attenNext up is [Ryan Miller’s aka KG7HZQ]’s  ham radio fox hunt attenuator. Ham radio fox hunt’s don’t involve baying dogs or horses. In this case a fox hunt is a contest to find hidden low power transmitters. If you’ve never tried one, it’s a heck of a lot of fun. One of the challenges with a fox hunt is to find the direction to the transmitter when you’re very close. Even with directional antennas, reflections and swamped receivers make it hard to figure out just where the transmitter is. The solution is an attenuator, which simply reduces the signal to a more reasonable value. [Ryan] also used copper clad PCB for his circuit. Since the attenuator parts are soldered directly to the PCB, this is more of a Manhattan style design. Two ceramic 1k pots help him achieve his goal of near perfect linear attenuation. We’re betting this attenuator will help [Ryan] win some contests!

psdrWho says amateur radio won’t take you places? It may well be taking [Michael R Colton] to space! [Michael’s] project PortableSDR is one of the five finalists in The Hackaday Prize. We covered Michael earlier in the contest. PortableSDR started as a ham radio project: a radio system which would be easy for hams to take with them on backpacking trips. It’s grown into so much more now, with software defined radio reception and transmission, vector network analysis, antenna analysis, GPS, and a host of other features. We seriously love how [Michael] optimized a small LCD for waterfall display, tuning, and bandpass filter adjustment.

e2ra[W5VO] is working on an Ethernet to Radio Adapter. Every foot of coax in a radio system loses signal. Connections are even worse. It can all add up to several dB loss. [W5VO] wants to put an SDR at the antenna feed-point. With the signal path minimized, more watts make it out when transmitting, and more signal gets back to the receiver when listening. The interface between the SDR and host computer will be all digital; Ethernet to be precise. [W5VO] isn’t the first person to do something like this, microwave systems have had the transmitter and LNB at the antenna for years. That doesn’t take away from [W5VO’s] design at all  He’s been quiet for a while, but we’re hoping he continues on his design!

Where is everyone else? We’re a bit light on projects this week, but we have a good reason. There just aren’t enough ham radio projects on Hackaday.io! We’re hoping to change that though. Are you an amateur radio enthusiast? Document your project on the site. Get input from other hams and push the envelope! You might even find yourself on the Ham Radio List!

That’s all for this episode of The Hacklet. As always, QRX is next week. Same hack time, same hack channel, bringing you the best of Hackaday.io! 73’s!

[Balint]’s GNU Radio Tutorials

Waterfall

[Balint] has a bit of history in dealing with software defined radios and cheap USB TV tuners turned into what would have been very expensive hardware a few years ago. Now [Balint] is finally posting a few really great GNU Radio tutorials, aimed at getting software defined radio beginners up and running with some of the coolest hardware around today.

[Balint] is well-known around these parts for being the first person to create a GNU Radio source block for the implausibly inexpensive USB TV tuners, allowing anyone with $20 and enough patience to wait for a package from China to listen in on everything from 22 to 2200 MHz. There’s a lot of interesting stuff happening in that band, including the ACARS messages between airliners and traffic control, something that allowed [Balint] to play air traffic controller with a minimal amount of hardware.

Right now the tutorials are geared towards the absolute beginner, starting at the beginning with getting GNU Radio up and running. From there the tutorials continue to receiving FM radio, and with a small hardware investment, even transmitting over multiple frequencies.

It’s not much of an understatement to say software defined radio is one of the most versatile and fun projects out there. [Balint] even demonstrated triggering restaurant pagers with a simple SDR project, a fun project that is sure to annoy his coworkers.

Continue reading “[Balint]’s GNU Radio Tutorials”

Hacking Radio Controlled Outlets

It’s no surprise that there’s a lot of devices out of there that use simple RF communication with minimal security. To explore this, [Gordon] took a look at attacking radio controlled outlets.

He started off with a CC1111 evaluation kit, which supports the RFCat RF attack tool set. RFCat lets you interact with the CC1111 using a Python interface. After flashing the CC1111 with the RFCat firmware, the device was ready to use. Next up, [Gordon] goes into detail about replaying amplitude shift keying messages using the RFCat. He used an Arduino and the rc-switch library to generate signals that are compatible with the outlets.

In order to work with the outlets, the signal had to be sniffed. This was done using RTL-SDR and a low-cost TV tuner dongle. By exporting the sniffed signal and analyzing it, the modulation could be determined. The final step was writing a Python script to replay the messages using the RFCat.

The hack is a good combination of software defined radio techniques, ending with a successful attack. Watch a video of the replay attack after the break.

Continue reading “Hacking Radio Controlled Outlets”

Audio Networking With GNU Radio

fsk

Thought GNU Radio was just for radio? Think again. [Chris] has been hard at work turning the signal generation and analysis of the best tool for software defined radio into a networking device for speakers and a microphone.

The setup uses GNU Radio to generate a carrier signal whose frequency is modulated with a data stream. With this modulated signal piped over a laptop’s speakers, [Chris] is able to send UDP packets across his desk using nothing but sound.

[Chris] had recently used a similar technique to transmit data via audio with GNU Radio, but this latest build is a vast improvement; this is now a duplex networking, meaning two computers can transmit and receive at the same time.

In the end, [Chris] created a strange, obsolete device called a “modem”. It’s not exactly fast; sending ‘Hello World’ takes quite a bit of time, as you can see in the video below.

Continue reading “Audio Networking With GNU Radio”

Build A Cheap Airplane ADS-B Radio Receiving Tracking Station

Do you have commercial or general aviation flying over your home or near your home? Would you like to know more about these airplanes: identity, heading, speed, altitude and maybe GPS data along with even more information? Well then [Rich Osgood] has just the project for you and it’s not that expensive to set up. [Rick] demonstrates using a cheap USB dongle European TV tuner style SDR (software defined radio) tuner that you can get for under $30 to listen in on the Automatic Dependent Surveillance-Broadcas (ADS-B) (dead link, try the Internet Archive version) 1090 MHz mode “S” or 978 MHz mode “UAT” signals being regularly transmitted from these aircraft.

He steps us through configuring the radio to use a better antenna for improved reception then walks through detailed software installation and set up to control the radio receiver as well as pushing the final decoded data to mapping software. This looks like a fascinating and fun project if you live near commercial airways. You won’t need a license for this hack because you’re only listening and not transmitting, plus these are open channels which are legal to receive.

There are some frequencies you are not legally allowed to eavesdrop on—private communications for residential wireless telephones and cellular frequencies to name just a few (Code of Federal Regulations Title 47, Part 15.9). So remember you do have to be careful and stay within legal frequencies even if your equipment is not restricted from such reception. Also note that just because you have a legal right to intercept conversations or data on some frequencies it could be illegal to publicly share the intercepted content or any details on the reception or decoding (just saying for the record).

We wonder if [Rick] could partner with [G. Eric Rogers] to upgrade [Eric’s] motorized telescope airplane tracking system to extrapolate the radio telemeter data into vector data so his Arduino can track without relying on a video feed. That merger might just get them both on a short TSA list.

Join us after the break for some extra informational links and to watch the video on setup, installation and usage of this cheap airplane tracking rig.

Continue reading “Build A Cheap Airplane ADS-B Radio Receiving Tracking Station”