An Open Hardware Modem For The Modern Era

Readers of a certain age will no doubt remember the external modems that used to sit next to their computers, with the madly flashing LEDs and cacophony of familiar squeals announcing your impending connection to a realm of infinite possibilities. By comparison, connecting to the Internet these days is about as exciting as flicking on the kitchen light. Perhaps even less so.

But while we don’t use them to connect our devices to the Internet anymore, that doesn’t mean the analog modem is completely without its use. The OpenModem by [Mark Qvist] is an open hardware and software audio frequency-shift keying (AFSK) modem that recalls some of the charm (and connection speeds) of those early devices.

It’s intended primarily for packet radio communications, and as such is designed to tie into a radio’s Push-to-Talk functionality with a standard 3.5 mm jack connector. Support for AES-128 encryption means it will take a bit more than an RTL-SDR to eavesdrop on your communications. Though if you’re really worried about others listening in, the project page says you could even use the OpenModem over a wired connection as you would have in the old days.

If you just want a simple and reliable way to get a secure AFSK communication link going, the OpenModem looks like it would be a great choice. But more than that, it offers a compelling platform for learning and experimentation. The hardware is compatible with the Arduino IDE, so you can even write your own firmware should you want to spin up your own take on this classic communications device.

The OpenModem is the evolution of the MicroModem that [Mark] developed years ago, and it’s clear that the project has come a long way since then. Of course, if you’re more about the look than the underlying technology, you could always just put a WiFi access point into the case of an old analog modem.

[Thanks to Boofdas for the tip.]

A New Digital Mode For Radio Amateurs

There used to be a time when amateur radio was a fairly static pursuit. There was a lot of fascination to be had with building radios, but what you did with them remained constant year on year. Morse code was sent by hand with a key, voice was on FM or SSB with a few old-timers using AM, and you’d hear the warbling tones of RTTY traffic generated by mechanical teletypes.

By contrast the radio amateur of today lives in a fast-paced world of ever-evolving digital modes, in which much of the excitement comes in pushing the boundaries of what is possible when a radio is connected to a computer. A new contender in one part of the hobby has come our way from [Guillaume, F4HDK], in the form of his NPR, or New Packet Radio mode.

NPR is intended to bring high bandwidth IP networking to radio amateurs in the 70 cm band, and it does this rather cleverly with a modem that contains a single-chip FSK transceiver intended for use in licence-free ISM band applications. There is an Ethernet module and an Mbed microcontroller board on a custom PCB, which when assembled produces a few hundred milliwatts of RF that can be fed to an off-the-shelf DMR power amplifier.

Each network is configured around a master node intended to use an omnidirectional antenna, to which individual nodes connect. Time-division multiplexing is enforced by the master so there should be no collisions, and this coupled with the relatively wide radio bandwidth of the ISM transceiver gives the system a high usable data bandwidth.

Whether or not the mode is taken up and becomes a success depends upon the will of individual radio amateurs. But it does hold the interesting feature of relying upon relatively inexpensive parts, so the barrier to entry is lower than it might be otherwise. If you are wondering where you might have seen [F4HDK] before, we’ve previously brought you his FPGA computer.

Bidirectional IP With New Packet Radio

There are a few options if you want to network computers on amateur radio. There are WiFi hacks of sort, and of course there’s always packet radio. New Packet Radio, a project from [f4hdk] that’s now on, is unlike anything we’ve seen before. It’s a modem that’s ready to go, uses standard 433 ISM band chips, should only cost $80 to build, and it supports bidirectional IP traffic.

The introductory documentation for this project (PDF) lays out the use case, protocol, and hardware for NPR. It’s based on chips designed for the 433MHz ISM band, specifically the SI4463 ISM band radio from Silicon Labs. Off the shelf amplifiers are used, and the rest of the modem consists of an Mbed Nucleo and a Wiznet W5500 Ethernet module. There is one single modem type for masters and clients. The network is designed so that a master serves as a bridge between Hamnet, a high-speed mesh network that can connect to the wider Internet. This master connects to up to seven clients simultaneously. Alternatively, there is a point-to-point configuration that allows two clients to connect to each other at about 200 kbps.

Being a 434 MHz device, this just isn’t going to fly in the US, but the relevant chip will work with the 915 MHz ISM band. This is a great solution to IP over radio, and like a number of popular amateur radio projects, it started with the hardware hackers first.

HamShield Puts Your Arduino On The Radio

Anybody can grab a USB TV tuner card and start monitoring the airwaves, but to get into the real meat of radio you’ll need your amateur radio license. Once you have that, the bandwidth really opens up… if you can afford the equipment. However, [spaceneedle] and friends have dramatically lowered the costs while increasing the possibilities of owning a radio by creating this ham radio shield for the Arduino.

The HamShield, is a versatile shield for any standard Arduino that allows it to function like an off-the-shelf radio would, but with a virtually unlimited number of functions. Anything that could be imagined can be programmed into the Arduino for use over the air, including voice and packet applications. The project’s sandbox already includes things like setting up mesh networks, communicating over APRS, setting up repeaters or beacons, monitoring weather stations, and a whole host of other ham radio applications.

HamShield operates on a wide range of frequencies and only uses a 250 mW amplifier. The power draw is small enough that the HamShield team operated it from a small solar panel, making it ideal for people in remote areas. The project is currently gathering funding and has surpassed their goal on Kickstarter, branding itself appropriately as the swiss army of amateur radio. The transceiver seems to be very robust, meaning that the only thing standing in the way of using this tool is simply writing the Arduino code for whatever project you want to do, whether that’s as a police scanner or even just a frequency counter. And if you want to follow along on, the project can be found here.

Continue reading “HamShield Puts Your Arduino On The Radio”

Airchat, The Wireless Mesh Network From Lulzlabs

With the lessons learned from the Egyptian, Libyan, and Syrian revolutions, a few hardware and software hackers over at Lulzlabs have taken it upon themselves to create a free-as-in-beer and free-as-in-speech digital communications protocol that doesn’t deal with expensive, highly-surveilled commercial and government controlled infrastructure. They call it Airchat, and it’s an impressive piece of work if you don’t care about silly things like ‘laws’.

Before going any further, we have to say yes, this does use amateur radio bands, and yes, they’re using (optional) encryption, and no, the team behind Airchat isn’t complying with all FCC and other amateur radio rules and regulations. Officially, we have to say the FCC (and similar agencies in other countries) have been granted the power – by the people – to regulate the radio spectrum, and you really shouldn’t disobey them. Notice the phrasing in that last sentence, and draw your own philosophical conclusions.

Airchat uses an off the shelf amateur transmitter, a Yaesu 897D in the example video below although a $30 Chinese handheld radio will do, to create a mesh network between other Airchat users running the same software. The protocol is based on the Lulzpacket, a few bits of information that give the message error correction and a random code to identify the packet. Each node in this mesh network is defined by it’s ability to decrypt messages. There’s no hardware ID, and no plain text transmitter identification. It’s the mesh network you want if you’re under the thumb of an oppressive government.

Airchat has already been used to play chess with people 180 miles away, controlled a 3D printer over 80 miles, and has been used to share pictures and voice chats. It’s still a proof of concept, and the example use cases – NGOs working in Africa, disaster response, and expedition base camps – are noble enough to not dismiss this entirely.

Continue reading “Airchat, The Wireless Mesh Network From Lulzlabs”

Extending The Range Of Wireless Weather Stations With Walkie Talkies

[Roel] wanted to put a wireless weather station in his greenhouse. Even though the weather station was supposed to transmit over fairly long distances, the geometry of his back yard and a few stone walls killed the radio signal even after putting a good antenna on the receiving side of his wireless weather station setup. Wanting to get his weather station working, [Roel] did the sensible thing and built a packet radio setup out of a pair of walkie talkies, greatly increasing the range of his weather station.

This build comes after [Roel] spent a great deal of time reverse engineering the wireless protocol of his Thierry Mugler weather station. With a little bit of code, [Roel] is able to get the current temperature and humidity reading into his Linux box. This system relies on the transmitter inside the weather station, so the system falls apart over any sufficiently large distance.

To increase the range of his weather station, [Roel] took his existing hardware and added a pair of inexpensive FRS walkie talkies. The build uses the hardware from his previous build to get the radio data from the weather station. This data is sent over to an ATmega88 where it’s converted to packet radio and sent over the walkie-talkie. On the receiving side, the output of a second walkie-talkie is piped into the Linux soundmodem app (link, but it’s down as of this writing) where it’s decoded. Sending the received data to gnuplot makes a very nice graph of the temperature and humidity.

[Roel] put the code for both the tx and rx sides of the build up on his build page. Very nice work that uses very inexpensive hardware.