Doing WiFi With Software Defined Radio

Software defined radio lets RF hardware take on a broad spectrum of tasks, all based on how that hardware is utilized in code. The bladeRF 2.0 micro xA9 is one such device, packing a fat FPGA with plenty of room for signal processing chains on board. As a demonstration of its abilities, [Robert Ghilduta] set about writing a software-defined WiFi implementation for the platform.

The work is known as bladeRF-wiphy, as it implements the PHY, or physical layer of the WiFi connection, in the 7-layer OSI networking model. Modulation and demodulation of the WiFi signal is all handled onboard the Cyclone V FPGA, with the decoded 802.11 WiFI packets handed over to the Linux mac80211 module which handles the MAC level, or medium access control. Thanks to the capability baked into mac80211, the system can act as either an access point or an individual station depending on the task at hand.

[Robert] does a great job of explaining the why and the how of implementing WiFi modulation on an FPGA, as well as some basics of modem development in both software and hardware. It’s dense stuff, so for those new to the field of software defined radio, consider taking some classes to get yourself up to speed!

Manual Antenna Tuner Shows How Homebrewing Is Done

If there’s anything about amateur radio that has more witchcraft in it than the design and implementation of antennas, we don’t know what it would be. On the face of it, hanging out a chunk of wire doesn’t seem like it should be complicated, but when you dive into the details, building effective antennas and matching them to the job at hand can be pretty complex.

That doesn’t mean antenna topics have to remain a total mystery, of course, especially once someone takes the time to explain things properly. [Charlie Morris (ZL2CTM)] recently did this with a simple antenna tuner, a device used to match impedances between a transmitter and an antenna. As he explains in the first video below, his tuner design is really just a Wheatstone bridge where the antenna forms half of one leg. A toroidal transformer with multiple taps and a variable capacitor forms an LC circuit that matches the high impedance antenna, in this case a multi-band end-fed halfwave, with the nominal 50-ohm load expected by the transceiver. A small meter and a diode detector indicate when the bridge is balanced, which means the transceiver is seeing the proper load.

The second video below shows the final implementation of the tuner; as a fan of QRP, or low-power operation, [Charlie] favors simple, lightweight homebrew gear that can be easily taken into the field, and this certainly fits the bill. A final video shows the tuner in use in the field, with a NanoVNA proving what it can do. As usual, [Charlie] protests that he not an expert and that he’s just documenting what he did, but he always does such a good job of presenting the calculations involved in component selection that any ham should be able to replicate his builds.

Continue reading “Manual Antenna Tuner Shows How Homebrewing Is Done”

Starlink Satellite Dish X-Rayed To Unlock RF Magic Inside

When [Kenneth Keiter] took apart his Starlink dish back in November, he did his best to explain the high-level functionality of the incredibly complex device in a video posted to his YouTube channel. It was a fascinating look at the equipment, but by his own admission, he wasn’t the right person to try and explain the nuances of how the phased array actually functioned. But he knew who could do the technology justice, which is why he shipped the dismembered dish over to [Shahriar Shahramian] of The Signal Path.

Don’t be surprised if you can’t quite wrap your head around his detailed analysis after your first viewing. You’ll probably have a few lingering questions after the second re-watch as well. But that’s OK, as [Shahriar] still has a few of his own. Even after cutting out a section of the dish and putting it under an X-ray, it’s still not completely clear how the SpaceX engineers managed to cram everything into such a tidy package. Though there seems to be no question that the $500 price for the early-access hardware is an absolute steal, all things considered.

The layered antenna works on multiple frequencies.

Most of the video is spent examining the stacked honeycomb construction of the phased antenna array, which as expected, holds a number of RF secrets if you know what to look for. Put simply, there’s no such thing as an insignificant detail to the trained eye. From the carefully sized injection molded spacer sheet that keeps the upper array a specific distance from the RF4-like radome, to the almost microscopic holes that have been bored through each floating patch to maintain equalized air pressure through the stack up, [Shahriar] picks up on fascinating details which might otherwise seem like arbitrary design decisions.

But a visual inspection will only get you so far. Eventually [Shahriar] has to cut out a slice of the PCB so he can fit it into the X-ray machine, but don’t feel too bad, the dish was long dead before he got his hands on it. While he hasn’t yet completed his full analysis, an initial examination indicates that each large IC and the eight chips surrounding it make up a 16 channel beam forming module. Each channel is further split into two RX and TX pairs, which provides the necessary right and left hand polarization. That said, he admits there’s some room for interpretation and that further work would be necessary before any hard conclusions could be made.

Between this RF analysis and the initial overview provided by [Kenneth], we’ve already learned a lot more about this device than many might have expected considering how rare and expensive the hardware is. While we admit it’s not immediately clear what kind of hijinks hardware hackers could get into once this device is fully understood, we’re certainly eager to find out.

Continue reading “Starlink Satellite Dish X-Rayed To Unlock RF Magic Inside”

Bringing Modern Control To An Old Radio

The modern ham radio shack can take many forms. Some are shrines the “boat anchor” radios of old, named for their considerable weight. Others are simply a small, unassuming software-defined radio (SDR) hooked up to a laptop. Nowadays, many shacks fall somewhere in the middle. It’s not uncommon to find a sleek Icom IC-7300 sitting atop an ancient Hallicrafters SX-115 (which sounds suspiciously like the author’s setup). When a ham wants to work a digital mode such as FT-8, they will undoubtedly reach for a newer radio complete with USB (Universal Serial Bus in this case, not Upper Sideband) rig control — but what if the newest piece of equipment they have is a thirty-year-old Kenwood?

If that sounds like you, then fear not because [Steve Bossert] has you covered. He took his trusty Kenwood TS-50, a classic radio from 1993 whose most advanced feature is fuzzy logic, and upgraded it with USB (again, the serial bus) control.

When Kenwood designed the TS-50, they had computer control in mind. There’s a hidden port on the bottom of the unit which reveals a connector that mates with Kenwood’s proprietary (and expensive) set of serial control cables. Thankfully, the engineers over at Kenwood decided to use UART for PC communication, so slapping a USB port in the radio’s case isn’t as daunting as it may sound. [Steve] picked up a CP2104 USB-TTL UART Serial Adapter and wired it up to the radio’s control port. After a bit of drilling, screwing, and gluing, the radio had an upgraded (and non-proprietary!) interface compatible with the ever-popular hamlib. While this doesn’t cover all radio control functions, it gets you tuning, which is pretty important. For a fully modern radio experience, [Steve] suggests using the 8-pin mic connector along with an interface such as Rigblaster or Signalink. This adds PTT and audio signal routing.

If you want to try this for yourself, be sure to check out [Steve]’s extremely well-documented writeup. You could even take this a step further and control your TS-50 from your smartphone with this HTML5 interface we saw a few months back.

Solar Flares And Radio Communications — How Precarious Are Our Electronics?

On November 8th, 2020 the Sun exploded. Well, that’s a bit dramatic (it explodes a lot) — but a particularly large sunspot named AR2781 produced a C5-class solar flare which is a medium-sized explosion even for the Sun. Flares range from A, B, C, M, and X with a zero to nine scale in each category (or even higher for giant X flares). So a C5 is just about dead center of the scale. You might not have noticed, but if you lived in Australia or around the Indian Ocean and you were using radio frequencies below 10 MHz, you would have noticed since the flare caused a 20-minute-long radio blackout at those frequencies.

According to NOAA’s Space Weather Prediction Center, the sunspot has the energy to produce M-class flares which are an order of magnitude more powerful. NOAA also has a scale for radio disruptions ranging from R1 (an M1 flare) to R5 (an X20 flare). The sunspot in question is facing Earth for the moment, so any new flares will cause more problems. That led us to ask ourselves: What if there were a major radio disruption?

Continue reading “Solar Flares And Radio Communications — How Precarious Are Our Electronics?”

A Tracker For Radio Sondes

Radiosondes – the telemetry packages carried aloft by sounding balloons for atmospheric weather data measurements – are regularly used by weather bureaus around the world to collect data, and there are quite a number of launches daily. Most of them are in Europe, but they also happen at many locations in North and South America, Japan, and Australia. The balloons burst when they reach a high enough altitude, the radiosonde falls back, and most often there is no effort made to recover them since they are deemed “expendable”. So it’s Finders Keepers, and rich pickings for any hacker who is fortunate enough to grab the fallen radiosondes. For successful recovery, you need to first be able to track those radiosondes, and that’s why leet guy [Robert Stefanowicz aka p1337] built his Weather ballon tracker (sic) project.

The hardware is all off-the-shelf, packaged in a pretty cool 3D printed package designed to make it look like the hand held radio that it is. At its heart is the ESP32 based TTGO T-BEAM V1.0 which has almost everything needed for this project. Add an OLED display, 18650 Li-Po cells, antenna and connectors and you can put it all together in an evening over your favourite beverage.

[DL9RDZ] wrote the software which runs on the T-Beam, available at the RDZ-Sonde repo on Github, that allows hunting these balloons. Setup is straightforward, and you need to fiddle with just a couple of well-explained config parameters. Once connected to your WiFi, config and settings can be accessed via convenient web URL’s and the single user action button on the TTGO offers quick access to different functional modes. At the moment, the software is written to decode signals from the widely used Vaisala RS41, Graw DFM06 and Graw DFM09 radiosondes. This LINK provides details for some of the popular radiosonde models.

Once you’re done building this piece of hunting gear, you’ll need some additional help finding out when and where the launches are taking place. If you’re in Europe, you luck out – there is a live radiosonde tracker map, thanks to the great work done by [Michał Lewiński – SQ6KXY]. If you live else where and know of similar resources, let us know in the comments. As a side note, Wikipedia tells us there are about 1300 launch sites worldwide and twice a day missions, so there’s quite a number of fallen pieces of hardware lying around just waiting to be picked up. At the very least, each will have a GPS module and temperature and humidity sensors that you can recover.

So, what do you do with the recovered radiosondes ? Here’s a tip on a “Fallen Radiosonde reborn as active L-band antenna“. And If you’d like to get the skinny on radiosondes, check out “Radiosondes: getting data from upstairs

Thanks for the tip, [Alex aka MD23F3].

Fox Hunting With Software-Defined Radio

Fox hunting, or direction finding, is a favorite pastime in the ham radio community where radio operators attempt to triangulate the position of a radio transmission. While it may have required a large amount of expensive equipment in the past, like most ham radio operations the advent of software-defined radio (SDR) has helped revolutionize this aspect of the hobby as well. [Aaron] shows us how to make use of SDR for direction finding using his custom SDR-based Linux distribution called DragonOS.

We have mentioned DragonOS before, but every iteration seems to add new features. This time it includes implementation of a software package called DF-Aggregator. The software (from [ckoval7]), along with the rest of DragonOS, is loaded onto a set of (typically at least three) networked Raspberry Pis. The networked computers can communicate information about the radio waves they receive, and make direction finding another capable feature found in this distribution.

[Aaron] has a few videos showing the process of setting this up and using it, and all of the software is available for attempting something like this on your own. While the future of ham radio as a hobby does remain in doubt, projects like this which bring classic ham activities to the SDR realm really go a long way to reviving it.

Continue reading “Fox Hunting With Software-Defined Radio”