Archive for category Amateur Radio

Baofeng UV-5R Squelch Settings

The Baofeng UV-5R radios on our bikes seem absurdly sensitive to intermodulation interference, particularly on rides across the Walkway Over the Hudson, which has a glorious view of the repeaters and paging transmitters atop Illinois Mountain:

Walkway Over The Hudson - Illinois Mountain Antennas
Walkway Over The Hudson – Illinois Mountain Antennas

A better view of the assortment on the right:

Illinois Mountain - North Antennas
Illinois Mountain – North Antennas

And on the left:

Illinois Mountain - South Antennas
Illinois Mountain – South Antennas

Not shown: the Sheriff’s Office transmitter behind us on the left and the Vassar Brothers Hospital / MidHudson pagers on either side at eye level. There’s plenty of RFI boresighted on the Walkway.

Anyhow, none of the Baofeng squelch settings had any effect, which turned out to be a known problem. The default range VHF covered a whopping 6 dB and the UHF wasn’t much better at 18 dB, both at very low RF power levels.

We use the radios in simplex mode, generally within line of sight, so I changed the Service Settings to get really aggressive squelch:

Baofeng UV-5R - Improved Squelch Settings
Baofeng UV-5R – Improved Squelch Settings

I have no way to calibrate the new signal levels, but I’d previously cranked the squelch up to 9 (it doesn’t go any higher) and, left unchanged, the new level makes all the previous interference Go Away™. Another ride over the Walkway with the squelch set to 4 also passed in blissful silence.

If the BF-F9 levels mean anything on a UV-5R, that’s about -100 dBm, 20 dB over the previous -120 dBm at squelch = 9.

The new squelch levels may be too tight for any other use, which doesn’t matter for these radios. As of now, our rides are quiet.

[Update: Setting the squelch to 5 may be necessary for the Walkway, as we both heard a few squawks and bleeps while riding eastbound on a Monday afternoon. ]



Baofeng Big Battery Capacity

I bought a pair of third-party 3800 mA·h batteries for the Baofeng UV-5RE Plus (whatever that means) radios on our bikes. Oddly, the packs carry the same “Model BL-5” identification as 1800 mA·h batteries shipped with the radio:

Baofeng BL-5 Batteries - 1.8 and 3.8 Ah
Baofeng BL-5 Batteries – 1.8 and 3.8 Ah

The obviously mislabeled “Baofeng” battery eliminator also sported a 3800 mA·h label:

Baofeng Battery Eliminator - overview
Baofeng Battery Eliminator – overview

I conjured a “test fixture” from a clamp, copper sheet, and copper tape snippets:

Baofeng battery - test setup
Baofeng battery – test setup

Which produced interesting results:

Baofeng BL-5 3800 mAh packs - Ah - 2019-05
Baofeng BL-5 3800 mAh packs – Ah – 2019-05

The 250 mA load = 15 hour rate seemed reasonable to simulate radios spending most of their time in power-save mode, but the packs still delivered only 2.8 A·h.

The packs also claim an unnaturally precise 28.12 W·h, but they’re still underperformers at 20 W·h:

Baofeng BL-5 3800 mAh packs - 2019-05
Baofeng BL-5 3800 mAh packs – 2019-05

Anyhow, I can run the radios for a week without (worrying about) running out of juice during a ride.

Leave a comment

JYE Tech DSO150 Oscilloscope vs. Actual Signals

The DSO150 oscilloscope’s specs give a 200 kHz bandwidth, so a 50 kHz sine wave looks pretty good:

DSO150 - sine wave 50 kHz 10 us-div

DSO150 – sine wave 50 kHz 10 us-div

A 100 kHz sine wave looks chunky, with maybe 25 samples per cycle:

DSO150 - sine wave 100 kHz 10 us-div

DSO150 – sine wave 100 kHz 10 us-div

The DSO150 tops out at 10 µs/div, so you can’t expand the waveform more than you see; 25 samples in 10 µs seems to be 2.5 Msample/s, exceeding the nominal 1 Msample/s spec. I have no explanation.

A 10 kHz square wave shows a blip just before each transition that isn’t on the actual signal:

DSO150 - square wave 10 kHz 20 us-div

DSO150 – square wave 10 kHz 20 us-div

At 50 kHz, there’s not much square left in the wave:

DSO150 - square wave 50 kHz 10 us-div

DSO150 – square wave 50 kHz 10 us-div

And, just for completeness, a 200 kHz square wave completely loses its starch:

DSO150 - square wave 200 kHz 10 us-div

DSO150 – square wave 200 kHz 10 us-div

A 10% (-ish) duty cycle pulse at 25 kHz has frequency components well beyond the scope’s limits, so it’s more of a blip than a pulse:

DSO150 - pulse 25 kHz 10 us-div

DSO150 – pulse 25 kHz 10 us-div

The pulse repetition frequency beats with the scope sampling and sweep speeds to produce weird effects:

DSO150 - pulse 25 kHz 100 us-div

DSO150 – pulse 25 kHz 100 us-div

Tuning the pulse frequency for maximum weirdness:

DSO150 - pulse 15 kHz 200 us-div

DSO150 – pulse 15 kHz 200 us-div

None of this is unique to the DSO150, of course, as all digital scopes (heck, all sampled-data systems) have the same issues. The DSO150’s slow sampling rate just makes them more obvious at lower frequencies.

Key takeaway: use the DSO150 for analog signals in the audio range, up through maybe 50 kHz, and it’ll produce reasonable results.

Using it for digital signals, even at audio frequencies, isn’t appropriate, because the DSO150’s low bandwidth will produce baffling displays.


1 Comment

Baofeng UV-5: Squelch Tail Elimination

Baofeng UV-5 radios can (mostly) eliminate the loud hiss heard at the end of a transmission before the squelch kicks in after the received carrier drops: Menu → 34 STE → ON. A detailed description of the option suggests it’s a 55 Hz subaudible tone sent for 250 milliseconds after the sender releases the PTT and before the transmitter stops sending, with the receiver muting its audio during the tone. Obviously, this requires a Baofend radio at each end of the conversation, which applies to our bikes.

Saying “laaaa” while kerchunking (into a smaller dummy load than the hulk) with STE OFF:

Baofeng - STE OFF - laaaa

Baofeng – STE OFF – laaaa

Compared to the received audio, the squelch tail hiss is really really loud.

Then with STE ON:

Baofeng - STE ON - laaaa

Baofeng – STE ON – laaaa

You can see the STE tone reception start about 250 ms before the audio cuts off, although it’s not at all clear the audio is muted on either end. In any event, there’s no squelch tail worth mentioning, even if there’s an audible tick when the STE tone starts.

Saying nothing with STE ON:

Baofeng - STE ON - silent

Baofeng – STE ON – silent

It’s unlikely the audio output would include the subaudible tone, but you might convince yourself something happens in the 250 ms between the STE blip near midscreen and the final pop (now clipped) as the audio drops.

All in all, a definite improvement!


Baofeng UV-5: Audio Attenuation and Knob Pointer

Perhaps because we’re using better quality earbuds, the Baofeng UV-5 radios on our bikes produce extremely loud audio, even with the volume knob just above its power-on click. Reducing the volume requires a series resistor downstream of the diodes clipping the pops:

Baofeng Headset Audio Attenuation

Baofeng Headset Audio Attenuation

The color codes come from previous work.

Because we have different earbuds and different hearing, my radio has a 140 Ω resistor and Mary’s has a 430 Ω resistor. Getting the right value requires a few iterations of on-road testing, but it’s not particularly critical; the volume knob should end up roughly in the middle of its range.

For now, all the “circuitry” lives among layers of Kapton tape:

Baofeng headset wire plate - detail

Baofeng headset wire plate – detail

Speaking of volume knobs, Baofeng radios have large flat-top cylindrical knobs (unlike Wouxun’s fluted knobs), so I added a pointed snippet of reflective tape to make the position visible:

Baofeng volume knob - reflective pointer

Baofeng volume knob – reflective pointer

The flash lights it up, but there’s enough backlighting behind your (well, my) head to make it easily visible under normal conditions. Once you figure out the proper volume, it’s easy to set the pointer in that direction before every ride.

To the road!

Leave a comment

Baofeng UV-5: Squelch Pop Suppression

Our first ride with the Baofeng UV-5 radios subjected us to loud pops around each transmission. Back on the bench, this is the signal applied to the earbud during a no-audio simplex kerchunk:

Baofeng - squelch pops

Baofeng – squelch pops

The small noise burst to the right of the center, just before the downward pulse, happens after the carrier drops and before the squelch closes; it’s familiar to all HT users.

The huge pulses, upward at the start and downward at the end, cause the pops. They’re nearly 3 V tall, compared with the 300-ish mV squelch noise, and absolutely deafening through an earbud jammed in my ear. Mary refused to listen, so we finished the first ride in companionable silence.

I think the radio switches the audio amp power supply on and off to reduce battery drain. It’s obviously a single-supply design, so we’re looking at a hefty DC blocking capacitor charging and discharging through the earbud resistance. I suppose that’s to be expected in a $25 radio.

The obvious solution: clamp the audio signal to something reasonable, perhaps with a pair of nose-to-tail Schottky diodes across the earbud. Rather than using axial diodes, along the lines of the 1N5819 diodes in the WWVB preamp, I used a BAT54S dual SMD diode as a tiny clamp:

BAT54S dual-Shottky diode - SMD package

BAT54S dual-Shottky diode – SMD package

No pix of the final result, but it’s basically two wires soldered alongside the SMD package, surrounded by a snippet of heatstink tubing to stabilize the wires and protect the SMD leads. It might actually survive for a while, even without the obligatory epoxy blob.

The BAT54S clamps the pops to 200-ish mV, as you’d expect:

Baofeng - squelch pops - clamped - 500mV-div

Baofeng – squelch pops – clamped – 500mV-div

That’s a kerchunk at twice the vertical scale. The very thin spike at the start of each pop isn’t audible, as nearly as we can tell, and I’ve cranked up the audio gain to make the squelch noise more prominent. Your ears will determine your knob setting.

With the audio amp applying 3 V to the diodes at the start of each pop, you’re looking at an absurdly high pulse current. I’m sure the radio exceeds the BAT54 datasheet’s 600 mA surge current limit by a considerable margin, but I’m hoping the short duration compensates for some serious silicon abuse.

Tamping those pops down made the radios listenable.

I’ve often observed that Baofeng radios are the worst HTs you’d be willing to use.



Baofeng UV-5 to Bike Helmet Wiring

Rather than 3D print and hand-wire a plug adapter to fit the socket around the Baofeng UV-5 mic and speaker jacks, I cheated:

Baofeng headset - harvested plug

Baofeng headset – harvested plug

Un-wearably bad Baofeng headsets now cost just over a buck apiece in lots of five, delivered halfway around the planet, and provide:

  • A compatible molded mic+speaker plug
  • A decent length of four-conductor cable with solder-meltable insulation
  • An unlistenably bad earbud on a stick
  • A lump with an electret mic and PTT switch
  • Various junk I’ll never use

The “hook earpiece” seems to have been designed by someone who had read the specs for a human head, but had never actually met a human being.

The wire colors from the dual plug, along with the wire colors for the repurposed USB cable to the headset, and the PTT connection:

Baofeng headset cable vs helmet cable - wire colors

Baofeng headset cable vs helmet cable – wire colors

Then wire it up accordingly:

Baofeng headset wire plate - first wiring

Baofeng headset wire plate – first wiring

The small heatstink tubing surrounding each connection isn’t easily visible, which, in the case of the ground / common lump, is a Good Thing. I chivied a strip of Kapton under the whole mess, folded it over on top, squished it together, then secured it with 1/4 inch tape extending over the plate edges. The cable ties stick out far enough to keep the joints from rubbing on anything; it’s not built to last for a thousand years, but should let us hear how this lashup works.

Now, to the bikes:

Baofeng headset wire plate - in use

Baofeng headset wire plate – in use

I’m convincing myself a little supporting ring under the SMA-to-UHF adapter won’t actually stabilize the precarious-looking joint.

1 Comment