Hacking A Quansheng Handheld To Transmit Digital Modes

Have you ever thought about getting into digital modes on the ham bands? As it turns out, you can get involved using the affordable and popular Quansheng UV-K6 — if you’re game to modify it, that is. It’s perfectly achievable using the custom Mobilinkd firmware, the brainchild of one [Rob Riggs].

In order to efficiently transmit digital modes, it’s necessary to make some hardware changes as well. Low frequencies must be allowed to pass in through the MIC input, and to pass out through the audio output. These are normally filtered out for efficient transmission of speech, but these filters mess up digital transmissions something fierce.  This is achieved by messing about with some capacitors and bodge wires. Then, one can flash the firmware using a programming cable.

With the mods achieved, the UV-K6 can be used for transmitting in various digital modes, like M17 4-FSK. The firmware has several benefits, not least of which is cutting turnaround time. This is the time the radio takes to switch between transmitting and receiving, and slashing it is a big boost for achieving efficient digital communication. While the stock firmware has an excruciating slow turnaround of 378 ms, the Mobilinkd firmware takes just 79 ms.

Further gains may be possible in future, too. Bypassing the audio amplifier could be particularly fruitful, as it’s largely in the way of the digital signal stream.

Quansheng’s radios are popular targets for modification, and are well documented at this point.

Ham Busts The Myth Of Ground

Everyone who deals with electronics knows that grounding is important. Your house has a copper rod in the ground. But [Kristen K6WX] has news: the idea of ground is kind of a myth. She explained at a talk at the recent ARRL National Convention, and if you didn’t make it, you can watch it in the video below.

The problem is analogous to finding something that is standing still. You really can only talk about something standing still relative to something else. Sure, you might be standing still outside a building, but seen from the moon, you and the building are spinning around at about one revolution per day. If you were sitting on the sun and not burning up, you’d see lots of motion of everything, and, of course, the sun itself is moving in the right frame of reference.

 

So what’s ground? Just a common reference between two things. [Kristen] gets into RF grounds, DC grounds, and phasors. If you’ve ever wanted to ground your antenna or deal with RF interference, you’ll find a lot of information in this 45-minute video.

The name ground is, perhaps, unfortunate. You do want earth grounding for lightning protection, but what most of us think of as ground is just a convention. Need a -9V battery? Just reverse your meter leads, and there you go.

Getting a good common reference can be maddening. We’ve looked at way too many ground loops before.

 

Passive Diplexer Makes One Antenna Act Like Two

Stay in the amateur radio hobby long enough and you might end up with quite a collection of antennas. With privileges that almost extend from DC to daylight, one antenna will rarely do everything, and pretty soon your roof starts to get hard to see through the forest of antennas. It may be hell on curb appeal, but what’s a ham to do?

One answer could be making one antenna do the work of two, as [Guido] did with this diplexer for dual APRS setups. Automatic Packet Reporting System is a packet radio system used by hams to transmit telemetry and other low-bandwidth digital data. It’s most closely associated with the 2-meter ham band, but [Guido] has both 2-meter (144.8-MHz) and 70-cm LoRa (433.775-MHz) APRS IGates, or Internet gateway receivers. His goal was to use a single broadband discone antenna for both APRS receivers, and this would require sorting the proper signals from the antenna to the proper receiver with a diplexer.

Note that [Guido] refers to his design as a “duplexer,” which is a device to isolate and protect a receiver from a transmitter when they share the same antenna — very similar to a diplexer but different. His diplexer is basically a pair of filters in parallel — a high-pass filter tuned to just below the 70-cm band, and a low-pass filter tuned just above the top of the 2-m band. The filters were designed using a handy online tool and simulated in LTSpice, and then constructed in classic “ugly” style. The diplexer is all-passive and uses air-core inductors, all hand-wound and tweaked by adjusting the spacing of the turns.

[Guido]’s diplexer performs quite well — only a fraction of a dB of insertion loss, but 45 to 50 dB attenuation of unwanted frequencies — pretty impressive for a box full of caps and coils. We love these quick and dirty tactical builds, and it’s always a treat to see RF wizardry in action.

A Tiny Tuner For The Low Power Ham

Something that all radio amateurs encounter sooner or later is the subject of impedance matching. If you’d like to make sure all that power is transferred from your transmitter into the antenna and not reflected back into your power amplifier, there’s a need for the impedance of the one to match that of the other. Most antennas aren’t quite the desired 50 ohms impedance, so part of the standard equipment becomes an antenna tuner — an impedance matching network. For high-power hams these are big boxes full of chunky variable capacitors and big air cored inductors, but that doesn’t exclude the low-power ham from the impedance matching party. [Barbaros Aşuroğlu WB2CBA] has designed the perfect device for them: the credit card ATU.

The circuit of an antenna tuner is simple enough, two capacitors and an inductor in a so-called Pi-network because of its superficial resemblance to the Greek letter Pi. The idea is to vary the capacitances and inductance to find the best match, and on this tiny model it’s done through a set of miniature rotary switches. There are a set of slide switches to vary the configuration or switch in a load, and there’s even a simple matching indicator circuit.

We like this project, in that it elegantly provides an extremely useful piece of equipment, all integrated into a tiny footprint. It’s certainly not the first ATU we’ve brought you.

Thanks [ftg] for the tip!

 

A Practical Guide To Understanding How Radios Work

How may radios do you own? Forget the AM/FM, GMRS/FRS radios you listen to or communicate with. We’re talking about the multiple radios and antennae in your phone, your TV, your car, your garage door opener, every computing device you own- you get the idea. It’s doubtful that you can accurately count them even in your own home. But what principles of the electromagnetic spectrum allow radio to work, and how do antenna design, modulation, and mixing affect it? [Michał Zalewski] aka [lcamtuf] aims to inform you with his excellent article Radios, how do they work?

A simple illustration compares a capacitor to a dipole antenna.
A simple illustration compares a capacitor to a dipole antenna.

For those of you with a penchant for difficult maths, there’s some good old formulae published in the article that’ll help you understand the physics of radio. For the rest of us, there are a plethora of fantastic illustrations showing some of the less obvious principals, such as why a longer diploe is more directional than a shorter dipole.

The article opens with a thought experiment, explaining how two dipole antennae are like capacitors, but then also explains how they are different, and why a 1/4 wave dipole saves the day. Of course it doesn’t stop there. [lcamtuf]’s animations show the action of a sine wave on a 1/4 wave dipole, bringing a nearly imaginary concept right into the real world, helping us visualize one of the most basic concepts of radio.

Now that you’re got a basic understanding of how radios work, why not Listen to Jupiter with your own homebrew receiver?

 

How Much Bandwidth Does CW Really Occupy?

Amateur radio license exams typically have a question about the bandwidths taken up by various modulation types. The concept behind the question is pretty obvious — as guardians of the spectrum, operators really should know how much space each emission type occupies. As a result, the budding ham is left knowing that continuous wave (CW) signals take up a mere 150 Hertz of precious bandwidth.

But is that really the case? And what does the bandwidth of a CW signal even mean, anyway? To understand that, we turn to [Alan (W2AEW)] and his in-depth look at CW bandwidth. But first, one needs to see that CW signals are a bit special. To send Morse code, the transmitter is not generating a tone for the dits and dahs and modulating a carrier wave, rather, the “naked” carrier is just being turned on and off by the operator using the transmitter’s keyer. The audio tone you hear results from mixing the carrier wave with the output of a separate oscillator in the receiver to create a beat frequency in the audio range.

That seems to suggest that CW signals occupy zero bandwidth since no information is modulated onto the carrier. But as [Alan] explains, the action of keying the transmitter imposes a low-frequency square wave on the carrier, so the occupied bandwidth of the signal depends on how fast the operator is sending, as well as the RF rise and fall time. His demonstration starts with a signal generator modulating a 14 MHz RF signal with a simple square wave at a 50% duty cycle. By controlling the keying frequency, he mimics different code speeds from 15 to 40 words per minute, and his fancy scope measures the occupied bandwidth at each speed. He’s also able to change the rise and fall time of the square wave, which turns out to have a huge effect on bandwidth; the faster the rise-fall, the larger the bandwidth.

It’s a surprising result given the stock “150 Hertz” answer on the license exam; in fact, none of the scenarios [Allen] tested came close to that canonical figure. It’s another great example of the subtle but important details of radio that [Alan] specializes in explaining.

 

 

Super-Portable, Tunable VHF Antenna

Ham radio is having a bit of a resurgence these days, likely due to awards programs like Parks on the Air (POTA) and Summits on the Air (SOTA), which encourage amateur radio operators to head outside and “activate” at various parks and mountaintops. For semi-mobile operations like this, a low-power radio is often used, as well as other portable gear including antennas. In the VHF/UHF world, the J-pole is a commonly used antenna as well, and this roll-up tunable J-pole antenna is among the most versatile we’ve seen.

The antenna uses mostly common household parts which keeps the cost down tremendously. The structure of the antenna is replacement webbing for old lawn chairs, and the conductive elements for the antenna are made out of metallic HVAC tape which is fixed onto the chair webbing after being cut to shape. The only specialized parts needed for this is a 3D printed bracket which not only holds the hookup for the coax cable feeding the antenna, but is also capable of sliding up and down the lower section of the “J” to allow the antenna to be easily tuned.

As long as you have access to a 3D printer, this antenna is exceptionally portable and pretty easy to make as well. Although VHF and UHF aren’t too popular for POTA and SOTA, portable equipment like this for the higher frequency bands is still handy to have around when traveling or operating remotely. With the antenna situation sorted out, a DIY radio that can make use of it might be in order as well.

 

 

HF In Small Spaces

Generally, the biggest problem a new ham radio operator will come across when starting out on the high frequency (HF) bands is finding physical space for the antennas. For a quick example, a dipole antenna for the 20 m band will need around 10 m of wire, and the lower frequencies like 80 m need about four times as much linear space. But if you’re willing to trade a large space requirement for a high voltage hazard instead, a magnetic loop antenna might be just the ticket.

Loop antennas like these are typically used only for receiving, but in a pinch they can be used to transmit as well. To tune the antennas, which are much shorter than a standard vertical or dipole, a capacitor is soldered onto the ends, which electrically lengthens the antenna. [OM0ET] is using two loops of coax cable for the antenna, with each end soldered to one half of a dual variable capacitor which allows this antenna to tune from the 30 m bands to the 10 m bands, although he is using it mostly for WSPR on 20 m. His project also includes the use of an openWSPR module, meaning that he doesn’t have to dedicate an entire computer to run this mode.

The main downsides of antennas like these is that they are not omnidirectional, are not particularly good at transmitting, and develop a significantly high voltage across the capacitor as this similar mag loop antenna project demonstrated. But for those with extreme limitations on space or who, like [OM0ET] want a simple, small setup for running low-power applications like WSPR they can really excel. In fact, WSPR is a great mode for getting on the air at an absolute minimum of cost.

 

Decoding JS1YMG: First Ham Radio Station On The Moon After SLIM Mission

When Japan’s SLIM lunar lander made a rather unconventional touch-down on the lunar surface, it had already disgorged two small lunar excursion vehicles from its innards: LEV-1 and LEV-2. Of these, the LEV-1 is not only capable of direct to Earth transmission, but it also has been assigned its own amateur radio license: JS1YMG, which makes it the first Ham radio station on the Moon. LEV-1 receives data from LEV-2, which is transmitted to Earth using its 1 Watt UHF circular polarization antenna as Morse code at 437.410 MHz. Although the data format hasn’t been published, [Daniel Estévez] (EA4GPZ) has been sleuthing around to figure it out.

Using captures from the 25 meter radiotelescope at Dwingeloo in the Netherlands, [Daniel] set to work deciphering what he knew to be telemetry data following a CCSDS standard. After some mix-and-matching he found that the encoding matched PCM/PSK/PM with a symbol rate of 64 baud and 2048 kHz subcarrier. The residual carrier is modulated in amplitude with Morse code, but initially this Morse code made no sense.

 

Waterfall of the LEV-1 signal (Credit: Daniel Estévez)
Waterfall of the LEV-1 signal (Credit: Daniel Estévez)

Fortunately a few fellow Hams pitched in and figured out that the amplitude signs for the Morse code were inverted. By inverting the amplitude, suddenly the Morse code looked a lot more clear, with the LEV-1’s call sign and what looked like hexadecimal data following it. Each of the frames is also followed by a CRC-16, which should make it possible to start decoding the data transmitted in each frame.

Simulating A Time-Keeping Radio Signal

As far as timekeeping goes, there’s nothing more accurate and precise than an atomic clock. Unfortunately, we can’t all have blocks of cesium in our basements, so various agencies around the world have maintained radio stations which, combined with an on-site atomic clock, send out timekeeping signals over the air. In the United States, this is the WWVB station located in Colorado which is generally receivable anywhere in the US but can be hard to hear on the East Coast. That’s why [JonMackey], who lives in northern New Hampshire, built this WWVB simulator.

Normally, clocks built to synchronize with the WWVB station include a small radio antenna to receive the 60 kHz signal and the 1-bit-per-second data transmission which is then decoded and used to update the time shown on the clock. Most of these clocks have internal (but much less precise) timekeeping circuitry to keep themselves going if they lose this signal, but [JonMackey] can go several days without his clocks hearing it. To make up for that he built a small transmitter that generates the proper timekeeping code for his clocks. The system is based on an STM32 which receives its time from GPS and broadcasts it on the correct frequency so that these clocks can get updates.

The small radio transmitter is built using one of the pins on the STM32 using PWM to get its frequency exactly at 60 kHz, which then can have the data modulated onto it. The radiating area is much less than a meter, so this isn’t likely to upset any neighbors, NIST, or the FCC, and the clocks need to be right beside it to update. Part of the reason why range is so limited is that very low frequency (VLF) radios typically require enormous antennas to be useful, so if you want to listen to more than timekeeping standards you’ll need a little bit of gear.