# Great Scott Gadgets

# Software Defined Radio with HackRF, Lesson 3

# What is a Decibel?

You can download this video in high resolution (720p). (torrent)

## in this lesson

- understanding decibels
- mistakes people make with decibels
- how to master decibels

## homework

I'd like you to exercise your knowledge of powers of two and make a table that will help you understand decibels even better. Get out a pencil and paper for this one.

Make a column of whole decibels down the left side of the page. Fill in 0 dB, 1 dB, 2, 3, and so forth all the way to 30 dB.

Then fill in ratios in a second column in this order:

- 0 dB (1:1), 3 dB (2:1), 6 dB (4:1), 9 dB (8:1), and so forth through 30 dB (1024:1)
- 10 dB (10:1), 13 dB (
**Hint**: It is 3 dB more than 10 dB.), 16 dB, and so forth through 28 dB - 20 dB (100:1), 23 dB, 26 dB, and 29 dB
- 2 dB (
**Hint**: It is 10 dB less than 12 dB.), 5 dB, 8 dB, and so forth through 17 dB - 1 dB (
**Hint**: It is 10 dB less than 11 dB.), 4 dB, and 7 dB

Now you have a complete table of approximations! The worst approximation is 30 dB which should be exactly 1000:1.

Make a third column. This column will contain ratios just like the second column, but start at 30 dB instead of 0 dB. Fill in the ratios in this order:

- 30 dB (1000:1), 27 dB (
**Hint**: It is 3 dB less than 30 dB.), 24 dB, and so forth through 15 dB - 20 dB (100:1), 17 dB (
**Hint**: It is 3 dB less than 20 dB.), 14 dB, and so forth through 5 dB - 10 dB (10:1), 7 dB (
**Hint**: It is 3 dB less than 10 dB.), 4 dB, and 1 dB

It is possible to do more (for example, by starting with 12, 9, 6, and 3 dB) from this direction, but you start having to deal with more decimal places. It isn't as convenient as working with the powers of two that you used in the second column. However, just filling in a few values in the third column can give you a feeling for the amount of error introduced by using the 3 dB approximation. Notice, for example the discrepancy between the ratios in the second and third columns for 7 dB. The true value of the 7 dB ratio is between those two approximations.

Can you figure out a way to determine the precise amount of error introduced by the 3 dB approximation?

Thanks to Tim Shepard for teaching me this exercise!

## errata

- My brother is actually 0.2 dB taller than me.
- I said that dBm is decibels relative to milliwatts, but it would be more correct to say that dBm is decibels relative to one milliwatt.
- 31 August 2014: Fixed a typo (1 dB changed to 0 dB) in homework text.

Software Defined Radio with HackRF is copyright 2014, 2015 by Michael Ossmann and is released under the CC BY license.