Between decibels and milliwatts ...

Between decibels and milliwatts ...

Author: Onno (VK6FLAB) September 23, 2023 Duration: 5:27
Foundations of Amateur Radio

Between decibels and milliwatts ...

As you might recall, I've been working towards using a cheap $20 RTL-SDR dongle to measure the second and third harmonic of a handheld radio in an attempt to discover how realistic that is as a solution when compared to using professional equipment like a Hewlett Packard 8920A RF Communications Test Set.

I spent quite some time discussing how to protect the receiver against the transmitter output and described a methodology to calculate just how much attenuation might be needed and what level of power handling. With that information in-hand, for reference, I used two 30 dB attenuators, one capable of handling 10 Watts and one capable of handling 2 Watts. In case you're wondering, it's not the dummy load with variable attenuation that I was discussing recently.

I ended up using a simple command-line tool, rtl-power, something which I've discussed before. You can use it to measure power output between a set of frequencies. In my case I measured for 5 seconds each, at the base frequency on the 2m band, on the second and on the third harmonic and to be precise, I measured 100 kHz around the frequencies we're looking at.

This generated a chunk of data, specifically I created just over a thousand power readings every second for 15 seconds. I then put those numbers into a spreadsheet, averaged these and then charted the result. The outcome was a chart with three lines, one for each test frequency range. As you'd expect, the line for the 2m frequency range showed a lovely peak at the centre frequency, similarly, there was a peak for the other two related frequencies.

The measurement data showed that the power measurement for 146.5 MHz was nearly 7 dB, for 293 MHz it was -44 dB and for 439.5 MHz it was -31 dB. If you've been paying attention, you'll notice that I used dB, not dBm or dBW in those numbers, more on that shortly.

From a measurement perspective we learnt that the second harmonic is 51 dB below the primary power output and the third harmonic was about 38 dB below the primary power output.

First observation to make is that these numbers are less than shown on the HP Test Set where those numbers were 60 dB and 62 dB respectively.

Second observation, potentially more significant, is that pesky dB thing I skipped over earlier.

If you recall, when someone says dB, they're referring to a ratio of something. When they refer to dBm, they're referring to a ratio in relation to 1 milliwatt. This means that when I say that the power reading was 7 dB, I'm saying that it's a ratio in relation to something, but I haven't specified the relationship. As I said, that's on purpose.

Let me explain.

When you use an RTL-SDR dongle to read power levels, you're essentially reading numbers from a chip that is converting voltages to numbers. In this case the chip is an Analog to Digital Converter or an ADC. At no point has any one defined what the number 128 means. It could mean 1 Volt, or it could mean 1 mV, or 14.532 mV, or something completely different. In other words, we don't actually know the absolute value that we're measuring. We can only compare values.

In this case we can say that when we're measuring on the 2m band we get a range of numbers that represent the voltage measured along those frequencies. When we then measure around the second harmonic, we're doing the same thing, possibly even using the same scale, so we know that if we get 128 back both times we might assume the voltage is the same in both cases, we just don't actually know how much the voltage is. We could say that there's no difference between the two, or 0 dB, but we cannot say how high or low the voltage is.

This is another way of describing something I've discussed before, calibration.

So, if I had a tool that could output a specific, known RF power level, and fed that into the receiver and measured, I could determine the relationship between my particular receiver and that particular power level. I could then measure at all three frequencies and determine if the numbers were actually the same for these three frequencies, which is what I've been assuming, but we don't actually know for sure right now.

So, at this point we need a known RF signal generator. The list of tools is growing. I've already used a NanoVNA to calibrate my attenuators and I've used a HP RF Communications Test Set to compare notes with.

At this point you might realise that we're not yet able to make any specific observations about using a dongle to make harmonic measurements, but you can make pretty pictures...

There's a good chance that you're becoming frustrated with this process, but I'd like to point out that at the beginning of this journey I can tell you that I had no idea what the outcome might be and obviously, that's the nature of experimentation.

If you have some ideas on how to explore further, feel free to get in touch.

I'm Onno VK6FLAB


For anyone curious about the crackle of a distant voice emerging from the static or the thrill of making a contact across the globe using nothing but radio waves, Foundations of Amateur Radio offers a friendly, steady guide. Hosted by Onno (VK6FLAB) from Australia, this long-running podcast acts as a companion for newcomers navigating the initial, often overwhelming, steps into this vast hobby. Each episode deliberately unpacks a single facet of amateur radio, breaking down technical concepts, equipment, and operating practices into digestible pieces. You'll hear practical advice on how to get started, find your place within the global community, and discover which of the hobby's countless avenues-from building antennas to satellite communication or emergency service-might spark your passion. It’s not about dry theory; it’s about demystifying the process and sharing the genuine rewards that keep enthusiasts engaged for a lifetime. Having evolved from its earlier incarnation in 2011, this podcast builds from the ground up, week by week, creating a solid resource that grows with you. Tune in for a down-to-earth conversation that makes the airwaves feel a little more accessible and a lot more inviting.
Author: Language: English Episodes: 579

Foundations of Amateur Radio
Podcast Episodes
What's in an S-unit? [not-audio_url] [/not-audio_url]

Duration: 10:43
Foundations of Amateur Radio The other day fellow amateur Randall VK6WR raised an interesting question. Using his HP 8920A RF Communications Test Set, which you might recall from our adventures in measuring radio harmoni…
Where is the spark .. gap? [not-audio_url] [/not-audio_url]

Duration: 8:35
Foundations of Amateur Radio The thing I love most about this amazing hobby of amateur radio is the sheer size of the community and the depth of knowledge that comes with it. Case in point, the other day I mentioned the…
Bald Yak 18: Everything Everywhere All at Once? [not-audio_url] [/not-audio_url]

Duration: 7:02
Foundations of Amateur Radio The other day I was playing around with RDS, or Radio Data System, it's a digital signal that's often embedded in a commercial broadcast FM transmission. Among other things it contains inform…
Bald Yak 17: Adventures in Radio Data Systems [not-audio_url] [/not-audio_url]

Duration: 5:01
Foundations of Amateur Radio While spending some quality time discovering what I don't know about GNU Radio, I explored the notion of attempting to at least understand a little more about how an FM signal works. Dependin…
Bald Yak 16: How do you decode FM? [not-audio_url] [/not-audio_url]

Duration: 6:51
Foundations of Amateur Radio How do you make a hole? That's a pretty straightforward kind of question, and by the time this sentence is finished, there's going to be at least as many answers as people who considered it.…
One step forward ... three steps back. [not-audio_url] [/not-audio_url]

Duration: 5:38
Foundations of Amateur Radio Still excited from my minor victory in discovering a missing puzzle piece associated with the project I'm working on, I spent the past week introducing my head, if not literally, at least fig…
Bald Yak 15, Playing with Radio .. now with software [not-audio_url] [/not-audio_url]

Duration: 6:48
Foundations of Amateur Radio A little while ago I discussed a lovely article by programmer, artist, and game designer "blinry" called "Fifty Things you can do with a Software Defined Radio". This week it occurred to me t…
How to go about documenting your setup? [not-audio_url] [/not-audio_url]

Duration: 5:22
Foundations of Amateur Radio How to go about documenting your setup? Possibly the single most important thing that separates science from "fiddling around" is documentation. Figuring out how to document things is often n…
Transmitting into a dummy load .. for a year .. on purpose. [not-audio_url] [/not-audio_url]

Duration: 8:34
Foundations of Amateur Radio Just under a year ago I started an experiment. I set-up a beacon for WSPR, or Weak Signal Propagation Reporter, transmitting at 200 mW into a dummy load using eight bands between 80m and 10m.…
How to become a radio amateur today? [not-audio_url] [/not-audio_url]

Duration: 6:02
Foundations of Amateur Radio The other day a fellow amateur revealed that they qualified for membership of the QWCA, the Quarter Century Wireless Association .. twice over .. there may have been some innocent whistling i…