Ritesh's Blog

Ham or spam?

In continuing with my tradition of irregular posts about unrelated topics, finally had a bit of time to revisit what I do to currently push to my Blog. The past me wrote a “deploy.sh” script that for reasons unknown uses a git submodule to track changes to the site - i.e. the generated files in public. I then hosted the public submodule in a separate github repo (this one). The way it worked was, I cloned the blog source code repository - made updates, and updated the git submodule. Annoying and error-prone.

Turns out this is entirely unnecessary as GitHub can easily build the site using workflows. I’ve fixed that now, which also gives me the ability to edit posts in the GitHub online editor which is very nifty. No need for a separate blog-source repository.

With the yak-shaving out of the way, I wanted to write down some notes on basic radio stuff that I was experimenting with using the kids toy walkie-talkies.

Things I have:

My understanding of radio transmissions and reception is rudimentary. Here’s how I thought they work: walkie talkies are set to some frequency, say 466.3MHz. You shout and receive on the same frequency, as long as the radios are within range and are transmitting with enough power to get through obstacles. Turns out, it’s slightly more involved than that.

In the UK, where I live, there are a bunch of frequencies that are allowed for low power radio transmissions called PMR446. These don’t require a radio license and you’re allowed to use low power (0.5W) transmissions. The theory still holds that you send and transmit on a frequency that’s set on the radio, but there are a few subtleties.

The radio adds a “privacy code” which is a tone that is below the range of human hearing to the transmission. There are two kinds of “in-band signaling” to implement privacy codes that are popular:

The Baofeng radio has a nifty feature that lets you figure out what frequency and what squelch system another radio uses. Before that I was able to hear transmissions by scanning the spectrum, but I wasn’t able to transmit at all. After using the “frequency copy” feature (it’s one green button on the right), I was able to figure out that the kids radio uses 446.04175 with a DCS code of D261N.

Now I can yell back at the kids, fun times!

Reply to this post by email ↪