Exploring Software - Raspberry Book
Exploring Software - Raspberry Book
Exploring Software
Defined Radio
(featuring Raspberry Pi Projects)
Table of Contents
04 CHAPTER - 1 Introduction
2 https://community.element14.com/learn/publications/ebooks/
Introduction to SDR
element14 is a Community of over 800,000 makers, professional engineers, electronics enthusiasts, and
everyone in between. Since our beginnings in 2009, we have provided a place to discuss electronics, get
help with your designs and projects, show off your skills by building a new prototype, and much more. We
also offer online learning courses such as our Essentials series, video tutorials from element14 Presents,
and electronics competitions with our Design Challenges.
Today’s modern devices have become smarter, with communications capabilities that are becoming
increasingly advanced. Many devices offer wireless connectivity. This eBook will explore topics related
to RF and wireless communications, such as antennas and Software Defined Radio, featuring projects
utilizing the Raspberry Pi.
https://community.element14.com/learn/publications/ebooks/ 3
CHAPTER - 1 Introduction
RF and wireless communications is an area that is becoming more prominent in the maker community.
This may have to do with the popularity of emerging wireless devices. Technologies such as the
Internet of Things (IoT), software-defined radio (SDR), and Bluetooth have spawned a large number
of development boards that have made it very simple to begin exploring the complex topic of RF and
wireless communications.
In this eBook, we will review RF and introduce SDR, as well as explore some hardware options that
allow users to begin tinkering in the wireless space. Finally, we will dive into some examples of SDR
projects with the Raspberry Pi.
Radio frequency (RF) refers to wireless signals that propagate over the air in the form of electromagnetic
waves. These waves oscillate at a specific rate which is known as the frequency of the signal. RF
technologies utilize a vast array of frequencies from 3KHz to 300GHz. Hertz [Hz] is the unit of measurement
which defines the oscillation rate of the wave. For example, 1Hz refers to 1 cycle per second, whereas 1MHz
refers to 1 million cycles per second. RF signals are used for wireless communications, radar technology,
medical devices, and more. In fact, light and colors in general are a form of electromagnetic waves that
propagate at specific frequencies.
The frequency of a signal can offer many advantages and disadvantages. Generally speaking, higher
frequencies do not travel as far as low-frequency signals; however, operating at higher frequencies can allow
for larger amounts of data throughput. In addition, the desired frequency of operation of a communication
system will affect the overall size of the antenna needed, as we will see later.
4 https://community.element14.com/learn/publications/ebooks/
Primary
Secondary
SERVICE
FIXED
MOBILE
SATELLITE
SATELLITE
Mobile
FIXED
ACTIVITY CODE
AERONAUTICAL
BROADCASTING
BROADCASTING
AERONAUTICAL
AERONAUTICAL
EXAMPLE
FIXED SATELLITE
FEDERAL EXCLUSIVE
RADIONAVIGATION
MOBILE SATELLITE
AMATEUR SATELLITE
EARTH EXPLORATION
NON-FEDERAL EXCLUSIVE
JANUARY 2016
Capital Letters
DESCRIPTION
MOBILE
MARITIME
SATELLITE
METEOROLOGICAL
METEOROLOGICAL
MOBILE SATELLITE
RADIONAVIGATION
NTIA. As such, it may not completely reflect all aspects, i.e. footnotes and recent changes made to the Table
of Frequency Allocations. Therefore, for complete information, users should consult the Table to determine the
This chart is a graphic single-point-in-time portrayal of the Table of Frequency Allocations used by the FCC and
RADIO SERVICES COLOR LEGEND
RADIOLOCATION
SPACE RESEARCH
RADIODETERMINATION
STANDARD FREQUENCY
RADIONAVIGATION SATELLITE
30.0 3.0 300.0 30.0 3.0 300 0
MARITIME FIXED MOBILE AERONAUTICAL
FIXED - MOBILE - RADIONAVIGATION RADIOLOCATION Radiolocation FIXED MOBILE 30.56 MOBILE (R)
SATELLITE SATELLITE 3.1 3.025
and
(Earth-to-space) (Earth-to-space) 328.6 AERONAUTICAL
Satellite
0 kHz
Space research FIXED
Time Signal
Earth
31.0 RADIOLOCATION Radiolocation LAND MOBILE
3MHz
(active)
AERONAUTICAL RADIONAVIGATION
satellite
MOBILE (OR)
(space-to-Earth)
exploration-
3 GHz
MARITIME
Standard Frequency
FIXED MOBILE (active) 335.4
30GHz
Aeronautical
3.155
300 kHz
(radiobeacons)
(radiobeacons)
Radionavigation
30 MHz
3.3 32.0
3GHz
SPACE EARTH
31.3 FIXED MOBILE MOBILE
300 MHz
RADIONAVIGATION
RADIO except aeronautical mobile (R)
FIXED
RESEARCH EXPLORATION -
BY
ASTRONOMY (passive) SATTELLITE (passive) Radiolocation Radiolocation 399.9 FIXED MOBILE 3.23 325
Amateur MOBILE SATELLITE Maritime AERONAUTICAL
31.8 RADIONAVIGATION SATELLITE Aeronautical
SPACE RESEARCH (Earth-to-space) 33.0 Radionavigation RADIONAVIGATION
(deep space) (space-to-Earth) RADIONAVIGATION 3.5 400.05 Mobile
AERONAUTICAL (radiobeacons) (radiobeacons)
mobile
RADIONAVIGATION
FIXED
RADIOLOCATION Radiolocation (400.1 MHz) FIXED LAND MOBILE
MOBILE
400.15
Radiolocation
RADIONAVIGATION INTER-SATELLITE 3.6
except aeronautical
AERONAUTICAL MET. AIDS MOBILE SPACE RES. Space Opn. MET. SAT.
JUNE 1, 2011
33.0 (ground based) (space-to-Earth) Radiolocation 401.0 34.0
MET-SAT. EARTH Met-Satellite
RADIONAVIGATION 3.65 MET. AIDS SPACE OPN. EXPL Earth Expl Sat AERONAUTICAL
33.4 FIXED-SATELLITE (Radiosonde) (S-E) (E-S) SAT. (E-S) (E-S) (E-S) FIXED MOBILE MOBILE (R)
RADIOLOCATION Radiolocation MOBILE** (space-to-Earth) FIXED 402.0
3.7 MET. AIDS MET-SAT. EARTH EXPL Met-Satellite Earth Expl Sat 35.0 3.5
34.2 (Radiosonde) (E-S) SAT. (E-S) (E-S) (E-S)
Space research
(deep space) Radio- SPACE RESEARCH RADIO- 403.0
(Earth-to-space) location (deep space) (Earth-to-space) LOCATION METEOROLOGICAL AIDS (RADIOSONDE) FIXED
34.7 406.0 LAND MOBILE
DELMON C. MORRISON
RADIOLOCATION MOBILE SATELLITE (Earth-to-space)
Mobile
Radiolocation 406.1
35.5 36.0
(radiobeacons)
Earth EARTH RADIO
AERONAUTICAL
Aeronautical
FIXED MOBILE
AMATEUR
RADIONAVIGATION
exploration - EXPLORATION -
Radio
Space
LOCATION
(active)
location
RESEARCH
SATTELLITE (active) 410.0 FIXED MOBILE
research
sattellite (active)
SPACE EARTH EXPLORATION -
36.0 SPACE RESEARCH
FIXED MOBILE (space-to-space) 37.0
FIXED MOBILE RESEARCH SATELLITE 420.0
FIXED
(passive) (passive)
LAND MOBILE
37.0 37.5
SPACE RESEARCH
MOBILE FIXED Radio astronomy LAND MOBILE
(space-to-Earth)
(space-to-Earth) RADIOLOCATION Amateur 38.0
FIXED-SATELLITE
37.5 RADIO ASTRONOMY
SPACE RESEARCH FIXED-SATELLITE MOBILE FIXED 4.0
MOBILE FIXED (space-to-Earth) 38.25
(space-to-Earth) 450.0 FIXED MARITIME MOBILE 405
38.0 LAND MOBILE FIXED MOBILE 4.063 Aeronautical Mobile RADIONAVIGATION
454.0 39.0
NOT ALLOCATED
MOBILE FIXED FIXED-SATELLITE FIXED LAND MOBILE LAND MOBILE 415
(space-to-Earth) 455.0 40.0
38.6 4.2 LAND MOBILE 456.0 AERONAUTICAL MARITIME
MOBILE FIXED-SATELLITE FIXED FIXED LAND MOBILE
(space-to-Earth) 460.0 FIXED MOBILE RADIONAVIGATION MOBILE
39.5 AERONAUTICAL LAND MOBILE FIXED
462.5375 435
FIXED-SATELLITE MOBIL-ESATELLITE
MOBILE
FIXED RADIONAVIGATION LAND MOBILE
MARITIME
(space-to-Earth) (space-to-Earth)
MOBILE 462.7375 42.0
40.0 LAND MOBILE FIXED
467.5375
Earth exploration EARTH EXPLORATION
Satellite
satellite SATELLITE
4.4 LAND MOBILE
FIXED-
SPACE
MOBILE
467.7375
SATELLITE
SATELLITE
4.438
RESEARCH
Meteorological
(Earth-to-space)
(space-to-Earth)
(space-to-Earth)
(space-to-Earth)
(Earth-to-space)
(space-to-Earth)
40.5 FIXED MOBILE LAND MOBILE FIXED FIXED LAND MOBILE
4.5 470.0
BROADCASTING- MOBILE FIXED
BROADCASTING
MOBILE-
except aeronautical mobile (R)
SATELLITE
SATELLITE 43.69
(space-to-Earth)
(space-to-Earth)
FIXED-SATELLITE
Mobile
41.0 4.65
FIXED
(TELEVISION)
spectrum real estate; there is only so much
BROADCASTING
FIXED- BROADCASTING- AERONAUTICAL MOBILE (R)
Radionavigation
LAND MOBILE
BROADCASTING
FIXED
SATELLITE SATELLITE LAND MOBILE 4.7
Fixed FIXED
MOBILE
Mobile MOBILE
(space-to-Earth)
(space-to-Earth)
512.0
FIXED-SATELLITE
42.0 AERONAUTICAL MOBILE (OR)
BROADCASTING SATELLITE BROADCASTING MOBILE FIXED 4.8 4.75
42.5 46.6 MOBILE
FIXED-SATELLITE FIXED
RADIO ASTRONOMY (Earth-to-space)
MOBILE** FIXED FIXED MOBILE FIXED MOBILE except aeronautical mobile (R) 495
43.5 4.94 47.0 4.85
MOBILE-SATELLITE (Earth-to-space)
MOBILE (distress and calling)
FIXED-SATELLITE (Earth-to-space) FIXED MOBILE**
45.5 FIXED MOBILE 505
RADIONAVIGATION- 4.99
MOBILE-SATELLITE (Earth-to-space) MOBILE MARITIME MOBILE
of spectrum to specific purposes. As wireless
48.2
(TELEVISION)
FIXED-SATELLITE (Earth-to-space)
BROADCASTING
MOBILE FIXED AERONAUTICAL RADIONAVIGATION
technologies have advanced, the allocation has
mobile
SPACE RESEARCH EARTH EXPLORATION- 5.15 RADIONAVIGATION
FIXED
MOBILE
(passive) SATELLITE (passive) AERONAUTICAL FIXED-SATELLITE (radiobeacons)
except aeronautical
50.4 (Earth-to-space)
RADIONAVIGATION 535
to companies within the cell phone industry. The
AMATEUR
FIXED
Since there is only a finite number of frequencies
MOBILE
available, and some real estate is more attractive
Earth
RADIOLOCATION LAND MOBILE 54.0
(active)
51.4
(active)
EARTH
(medical telemetry and
AERONAUTICAL MOBILE (R)
SATELLITE
exploration-
MOBILE FIXED RADIO ASTRONOMY
Radiolocation
medical telecommand)
satellite (active)
Space research
SPACE RESEARCH
52.6 614.0 5.68
changed, and some have even been auctioned off
55.78
Earth
RADIOLOCATION
(active)
EARTH EXPLORATION-SATELLITE (passive)
(active)
(active)
EARTH
INTER- MOBILE
exploration-
RADIONAVIGATION
SATELLITE
MOBILE FIXED
Radiolocation
Space research
satellite (active)
SPACE RESEARCH (passive)
except aeronautical mobile (R)
SATELLITE 5.35 5.59
EARTH EXPLORATION-SATELLITE (passive)
56.9
(10MHz to 10GHz), with most of it being in the UHF
INTER-
SPACE RESEARCH (passive)
Earth
SATELLITE
(active)
(active)
BROADCASTING
(active)
EARTH
exploration-
SATELLITE
57.0
AERONAUTICAL
RADIOLOCATION
Space research
EARTH EXPLORATION-SATELLITE (passive)
satellite (active)
Radiolocation
RADIONAVIGATION
(TELEVISION)
INTER- 5.46
than others. For wireless communications, the prime
BROADCASTING
58.2
SPACE
radio spectrum can be thought of as electromagnetic
Earth
EARTH EXPLORATION-
(active)
(active)
(active)
EARTH
RESEARCH
exploration-
SATELLITE
SATELLITE (passive)
RADIONAVIGATION
SPACE RESEARCH SPACE RESEARCH SPACE RESEARCH
(passive)
MOBILE
SPACE RESEARCH (passive)
FIXED
(TELEVISION)
6.525
Earth
(active)
(active)
EARTH
(active)
59.3 763.0
exploration-
SATELLITE
Space research
INTER-
satellite (active)
SPACE RESEARCH
EXPLORATION-
MOBILE FIXED RADIOLOCATION
AERONAUTICAL MOBILE (R)
SATELLITE 5.57 FIXED MOBILE 6.685
(TELEVISION )
64.0 RADIOLOCATION MARITIME RADIONAVIGATION
BROADCASTING
5.6 AERONAUTICAL MOBILE (OR)
Fixed
Earth)
6.525 STANDARD FREQUENCY AND TIME SIGNAL (20 kHz)
MOBILE
FIXED
Earth)
(space-to-
FIXED-
809.0
MOBILE
SATELLITE
FIXED-SATELLITE 72.0
(space-to-
(Earth-to-space) FIXED FIXED LAND MOBILE 7.3
74.0 6.7 849.0 FIXED MOBILE 20.05
BROADCASTING FIXED-SATELLITE (Earth-to-space)(space-to-Earth) AERONAUTICAL MOBILE 73.0 BROADCASTING
FIXED 6.875 851.0 7.4
Earth)
Space
BROADCASTING
Earth)
FIXED-SATELLITE (Earth-to-space)(space-to-Earth) LAND MOBILE
research
FIXED-
MOBILE FIXED
(space-to-
SATELLITE FIXED
RADIO ASTRONOMY
MOBILE
(space-to-
854.0
SATELLITE
SATELLITE 7.025 74.6
76.0 MOBILE FIXED-SATELLITE (Earth-to-space) FIXED FIXED LAND MOBILE FIXED MOBILE
Space research RADIO 7.075 894.0
(space-to-Earth)
RADIOLOCATION Amateur AERONAUTICAL MOBILE 74.8
ASTRONOMY MOBILE FIXED
77.0 896.0 AERONAUTICAL RADIONAVIGATION
mobile (R)
FIXED
FIXED-SATELLITE (space-to-Earth) MOBILE-SATELLITE (space-to-Earth) Fixed FIXED LAND MOBILE MARITIME MOBILE
930.0
Space
RADIO
7.3
BROADCASTING
FIXED-
research
FIXED
MOBILE-
FIXED MOBILE
MOBILE
SATELLITE
8.815
SATELLITE
(Earth-to-space)
ASTRONOMY
FIXED-SATELLITE (space-to-Earth) Mobile-satellite (space-to-Earth)
(space-to-Earth)
FIXED 931.0
FIXED-
FIXED-SATELLITE (space-to-Earth) Mobile-satellite (space-to-Earth) FIXED
FIXED
SATELLITE
ASTRONOMY FIXED LAND MOBILE FIXED
MOBILE
(Earth-to-space) (Earth-to-space)
(TELEVISION)
7.75 940.0 9.4
BROADCASTING
86.0 METEOROLOGICAL- FIXED MOBILE
SATELLITE (space-to-Earth) FIXED 941.0
7.85 FIXED
FIXED 944.0 BROADCASTING
7.9 FIXED
FIXED-SATELLITE (Earth-to-space) MOBILE-SATELLITE (Earth-to-space) Fixed
RADIO
SPACE
960.0
EARTH
(passive)
8.025 88.0
(passive)
Mobile-satellite
SATELLITE
RESEARCH
9.9
ASTRONOMY
EARTH EXPLORATION- FIXED SATELLITE (Earth-to-space)
EXPLORATION-
SATELLITE (space-to-Earth) (Earth-to-space) FIXED FIXED
92.0 (no airborne) 9.995
METEOROLOGICAL- Mobile-satellite
8.175 STANDARD FREQUENCY AND TIME SIGNAL (10 MHz)
FIXED-SATELLITE EARTH EXPLORATION- 10.005
RADIO- RADIO SATELLITE (Earth-to-space)
FIXED MOBILE (Earth-to-space) SATELLITE (space-to-Earth) FIXED AERONAUTICAL MOBILE (R)
(space-to-Earth) (no airborne) 10.1
LOCATION ASTRONOMY 8.215 AMATEUR
94.0 Mobile-satellite
EARTH EXPLORATION-SATELLITE FIXED-SATELLITE (Earth-to-space) 10.15
(space-to-Earth) (Earth-to-space) FIXED
(no airborne)
FIXED
AERONAUTICAL
(R)
(active)
EARTH
(active)
SPACE
8.45
RADIONAVIGATION
except
(FM RADIO)
RADIO-
ASTRONOMY
SATELLITE
SPACE RESEARCH (space-to-Earth)
RESEARCH
FIXED
FIXED
Mobile
LOCATION
EXPLORATION-
8.5
BROADCASTING
aeronautical mobile
Earth
AERONAUTICAL MOBILE (OR)
EARTH
(active)
(active)
satellite
Space
RADIO-
Radio-
SPACE
LOCATION
SATELLITE
(active)
(active)
ASTRONOMY
research
location
exploration -
(space-to-Earth)(space-to-space) RADIONAVIGATION
LOCATION
EXPLORATION-
RESEARCH
95.0 1215.0 11.275
8.65 RADIONAVIGATION-
RADIOLOCATION Radiolocation SATELLITE AERONAUTICAL MOBILE (R)
Earth
(active)
EARTH
satellite
(active)
(active)
(active)
SPACE
RADIO-
9.0 (space-to-Earth)
SATELLITE
exploration-
RESEARCH
LOCATION
Space research
EXPLORATION-
AERONAUTICAL RADIONAVIGATION Radiolocation (space-to-space)
11.4
RADIO
RADIO-
RADIO-
FIXED
RADIO-
MOBILE
9.2 108.0
SATELLITE
FIXED
ASTRONOMY
NAVIGATION-
LOCATION
1240.0
NAVIGATION
MARITIME RADIONAVIGATION Radiolocation 11.6
100.0 9.3
Earth
(active)
(active)
EARTH
satellite
RADIO -
(active)
RADIONAVIGATION Meteorological Aids Radiolocation
RADIO-
SPACE
Amateur
(active)
SATELLITE
exploration-
EARTH
NAVIGATION
SPACE
LOCATION
Space research
AERONAUTICAL
EXPLORATION-
BROADCASTING
RESEARCH
RADIO EXPLORATION- 9.5
RESEARCH 1300.0 12.1
ASTRONOMY SATELLITE
Earth
EARTH
(active)
(active)
satellite
Space
RADIO-
Radio-
(passive)
SPACE
SATELLITE
(active)
(active)
location
exploration -
research
AERONAUTICAL RADIONAVIGATION
LOCATION
(passive) Radiolocation
EXPLORATION
FIXED
RESEARCH
102.0 1350.0
9.8 12.23
RADIO RADIOLOCATION Radiolocation FIXED MOBILE RADIOLOCATION
MOBILE FIXED 10.0 1390.0
ASTRONOMY RADIOLOCATION Radiolocation Amateur MOBILE ** Fixed-satellite (Earth-to-space)
10.45 FIXED MARITIME
105.0 1392.0
AERONAUTICAL
RESEARCH SATELLITE RADIO ASTRONOMY SPACE RESEARCH (passive) EARTH EXPLORATION-SATELLITE (passive) (medical telemetry and 121.9375 13.36
ASTRONOMY 10.7 medical telecommand (telemetry and telecommand) (telemetry) AERONAUTICAL MOBILE
(passive) (passive) 1429.5 123.0875 RADIO ASTRONOMY
111.8 FIXED FIXED-SATELLITE (space-to-Earth) FIXED (telemetry and 13.41
LAND MOBILE (telemetry & telecommand) AERONAUTICAL MOBILE
SPACE 11.7 telecommand) 123.5875 FIXED Mobile
RADIO FIXED (telemetry and Fixed-satellite
1430.0 except aeronautical mobile (R)
FIXED MOBILE RESEARCH FIXED-SATELLITE (space-to-Earth) LAND MOBILE
ASTRONOMY telecommand) (telemetry & telecommand) (space-to-Earth) 13.57
(passive) 12.2 1432.0 AERONAUTICAL
114.25 BROADCASTING-SATELLITE FIXED FIXED MOBILE **
BROADCASTING
SPACE EARTH 12.7 1435.0 MOBILE (R) 13.87
RADIO EXPLORATION- FIXED-SATELLITE (Earth-to-space) MOBILE FIXED 59
RESEARCH 13.25 MOBILE (aeronautical telemetry) 128.8125 FIXED Mobile
ASTRONOMY SATELLITE 1525.0
(passive) AERONAUTICAL except aeronautical mobile (R) STANDARD FREQUENCY AND TIME SIGNAL (60 kHz)
(passive) Aeronatuical
Earth
(active)
(active)
EARTH
MOBILE SATELLITE (space-to-Earth)
satellite
116.0
Space
14.0
SPACE
(active)
(active)
SATELLITE
exploration -
research
EARTH MOBILE (R) 61
EXPLORATION -
RESEARCH
SPACE Radionavigation 1559.0 132.0125 AMATEUR AMATEUR SATELLITE
INTER- EXPLORATION- 13.4 RADIONAVIGATION-SATELLITE AERONAUTICAL
RESEARCH SATELLITE AERONAUTICAL 14.25
SATELLITE (space-to-Earth)(space-to-space) RADIONAVIGATION AERONAUTICAL MOBILE (R)
Earth
(active)
EARTH
(passive) 136.0 AMATEUR
(active)
satellite
SPACE
Radio-
Space
SATELLITE
location
RADIO -
1610.0
exploration -
research
EXPLORATION
RESEARCH
122.25
LOCATION
INTER-SATELLITE Amateur RADIODETERMINATION- AERONAUTICAL MOBILE SATELLITE 14.35
satellite
1610.6 except aeronautical mobile (R)
(space-to-Earth) (space-to-Earth) (space-to-Earth) (space-to-Earth)
FIXED
14.99
FIXED-
RADIONAVIGATION
(Earth-to-space)
Space
(Earth-to-space) 137.025
research
Radio -
SATELLITE (Earth-to-space)
MARITIME
LOCATION
STANDARD FREQUENCY AND TIME SIGNAL (15 MHz)
location
research
ASTRONOMY MET. SATELLITE
SATELLITE
SPACE RESEARCH SPACE OPERATION
MOBILE-
Mobile-satellite
FIXED-
Standard frequency
Radio
RADIO-
RADIO-
SATELLITE
(Earth-to-space)
15.01
SATELLITE
SATELLITE
(space-to-Earth) (space-to-Earth)
(space-to-Earth)
1613.8 (space-to-Earth) (space-to-Earth)
NAVIGATION
astronomy
NAVIGATION-
14.0
(space-to-Earth)
Mobile-satellite RADIODETERMINATION- AERONAUTICAL MOBILE SATELLITE 137.175 70
Space RADIONAVIGATION
AERONAUTICAL MOBILE (OR)
130.0 Mobile-satellite (Earth-to-space) FIXED-SATELLITE (Earth-to-space) (space-to-Earth) SATELLITE (Earth-to-space) (Earth-to-space) MOBILE-SATELLITE SPACE RESEARCH SPACE OPERATION MET. SATELLITE 15.1
EARTH research 1626.5 (space-to-Earth) (space-to-Earth) (space-to-Earth) (space-to-Earth)
EXPLORATION- RADIO 14.2 137.825
Mobile-satellite (space-to-Earth) FIXED-SATELLITE (Earth-to-space) MOBILE SATELLITE(Earth-to-space) Mobile-satellite SPACE RESEARCH SPACE OPERATION MET. SATELLITE 1605
SATELLITE
INTER-
ASTRONOMY
FIXED
(space-to-Earth) (space-to-Earth) (space-to-Earth) (space-to-Earth) BROADCASTING
MOBILE
SATELLITE
(active) 14.4 1660.0 138.0 MOBILE BROADCASTING
134.0 Mobile-satellite FIXED-SATELLITE 1615
Fixed Mobile (Earth-to-space) (Earth-to-space) MOBILE SATELLITE
Radio astronomy AMATEUR AMATEUR - SATELLITE 14.5 RADIO ASTRONOMY (Earth-to-space) FIXED MOBILE 15.8
136.0 FIXED Mobile Space research 1660.5
RADIO RADIO 14.7145 144.0
Amateur Amateur - satellite RADIO ASTRONOMY SPACE RESEARCH (passive) AMATEUR AMATEUR- SATELLITE
notorious for its fine print.)
BROADCASTING
FIXED
ASTRONOMY (passive) (passive) RADIONAVIGATION (Earth-to-space) SATELLITE (space-to-Earth) Fixed MOBILE ** FIXED LAND MOBILE 17.48
158.5 15.63 1710.0 152.855
MOBILE- FIXED- AERONAUTICAL RADIONAVIGATION BROADCASTING
bandwidth, and antenna size.
MOBILE FIXED
RADIO-
MARITIME MOBILE
(active)
EARTH
Space
SPACE
(active)
(active)
SATELLITE
Radio-
research
exploration-
MOBILE FIXED
location
FIXED-
LOCATION
157.0375
EXPLORATION-
satellite (active)
RESEARCH
SPACE
SATELLITE
174.8 18.3
FIXED
(space-to-space)
RESEARCH
MARITIME MOBILE
MOBILE
(Earth-to-space)
EXPLORATION-
(space-to-space)
(Earth-to-space)
19.68
(space-to-space)
EARTH 18.8 2180.0 MOBILE except aeronautical mobile STANDARD FREQUENCY AND TIME SIGNAL (20 MHz)
SPACE RESEARCH 161.9625
MARITIME
ASTRONOMY SATELLITE (passive) (passive) MOBILE FIXED (space-to-Earth) FIXED Mobile 2000
185.0 FIXED-SATELLITE (space-to-Earth) FIXED 2200.0 161.9875
19.7 MOBILE except aeronautical mobile 21.0 MARITIME
SPACE RESEARCH INTER- EARTH 162.0125 AMATEUR AMATEUR SATELLITE MOBILE FIXED 130
EXPLORATION- FIXED-SATELLITE (space-to-Earth) MOBILE-SATELLITE (space-to-Earth) MOBILE
(passive) SATELLITE SATELLITE (passive) MARITIME MOBILE (AIS) 21.45
aircraft)
20.2
EARTH
SPACE
SPACE
FIXED-SATELLITE (space-to-Earth)
FIXED
RESEARCH
(ling of sight only
(space-to-Earth)
MOBILE
EXPLORATION-
OPERATION
(space-to-space)
(space-to-Earth)
21.85
(space-to-space)
including aeronautical
(line of sight only)
MARITIME MOBILE
telemetry, but excluding
(space-to-Earth)
SPACE RESEARCH
and
(space-to-space)
(space-to-
time signal
RADIONAVIGATION- 2170
MOBILE
FIXED
MOBILE
BROADCASTING - SATELLITE
SATELLITE
MOBILE**
Figure 2. Frequency allocation of services used in the United States. Image Source: www.ntia.gov
FIXED MOBILE SATELLITE 22.5 SATELLITE location Fixed except aeronautical mobile
ASTRONOMY FIXED MOBILE 2360.0 24.89
(Earth-to-space) 22.55 MOBILE Fixed RADIOLOC ATION
217.0 2390.0 AMATEUR AMATEUR SATELLITE MARITIME MOBILE
FIXED MOBILE INTER-SATELLITE MARITIME MOBILE
FIXED-SATELLITE (Earth-to-space) MOBILE AMATEUR 24.99 (telephony)
23.55
FIXED
RADIO FIXED MOBILE 2395.0 STANDARD FREQ. AND TIME SIGNAL (25 MHz)
MOBILE
FIXED
ASTRONOMY 25.33
(Passive)
(Passive)
SATELLITE
Now that we covered a bit of what RF is, how exactly does information get transmitted wirelessly
FIXED Fixed RADIO ASTRONOMY RADIONAVIGATION
exploration -
MOBILE
SPECTRUM OCCUPIED.
INTER-SATELLITE RADIOLOCATION-SATELLITE (Earth-to-space) MOBILE** FIXED LAND MOBILE 26.48
(space-to-Earth) 24.75 Fixed Mobile FIXED aeronautical mobile Amateur 2495
FIXED-SATELLITE 2655.0 MOBILE
ISM - 2450.0± .50 MHz
(passive)
(passive)
(passive)
FIXED
FIXED
Earth exploration-
238.0
MOBILE**
MOBILE
astronomy
25.25
FIXED INTER-SATELLITE MOBILE 2690.0 except aeronautical mobile 2505
RADIO- RADIO- 25.5 27.23
Mobile
FIXED-
LOCATION
MOBILE
SATELLITE
(space-to-Earth)
EARTH
RADIO
(passive)
(passive) 27.41
ISM - 27.12 ± .163 MHz
SATELLITE
Aeronautical
EXPLORATION-
240.0
ASTRONOMY
EARTH
SPACE
FIXED
Inter-satellite
LAND MOBILE
FIXED
SATELLITE
RESEARCH
(Earth-to-space)
MOBILE
AERONAUTICAL
2700.0
(space-to-Earth)
FIXED
MOBILE
RADIONAVIGATION
Amateur-satellite
241.0 28.0
FIXED
SPACE RESEARCH
250.0 27.5 29.7 275
EARTH EXPLORATION- LAND MOBILE
FIXED
FIXED
through radio waves? Well, all radio waves have an amplitude, frequency, and phase. This is expressed
MARITIME
MOBILE-SATELLITE
Radiolocation
3 GHz
300 MHz
3 MHz
30 MHz
3000.0
SEGMENTS SHOWN IS NOT PROPORTIONAL TO THE ACTUAL AMOUNT OF
PLEASE NOTE: THE SPACING ALLOTTED THE SERVICES IN THE SPECTRUM
https://community.element14.com/learn/publications/ebooks/
occurs. It offers the best trade-off between range,
5
frequencies. Indeed, UHF is the range of frequencies
With today’s technologies, digital communication is the prevalent method of wireless communication. The topic
is very complex and in-depth, but from a very high level, the amplitude and phase of a signal are used to encode
data into wireless signals. The advantage digital communication offers is that it can transmit more information
in a smaller bandwidth. As a result, the spectral efficiency of the communication system is improved. Spectral
efficiency is of utmost importance in today’s communication systems due to the crowded RF spectrum. Many
different digital communication protocols exist, including phase shift keying (PSK), Gaussian frequency shift
keying (GFSK), and quadrature amplitude modulation (QAM).
There are many advantages SDRs offer over traditional radios. These include but are not limited to the following:
• More Flexibility - The ability to define signal processing digitally allows the radio to support various protocols.
• Bandwidth - SDRs are generally more wideband than their traditional radio counterparts. This allows them to
perform multiple tasks in parallel, such as demodulating and spectrum monitoring.
• Upgradability - The ability to update or re-configure a device after it is sold or purchased makes the device
more robust to technological changes. Previously, to update or upgrade a device, a hardware change would be
needed to accomplish the task, a costly and timely activity.
• Filtering and DSP - Generally speaking, the performance of digital filters is much better than filters that are
implemented with analog components. Additionally, DSP functions such as mixing and filtering are much more
reliable. The performance will not degrade due to changes in supply voltage, temperature, or part-to-part
variations.
• More Functionality - Overall, the end user is getting more functionality with less hardware. SDRs provide the
ability to do more with less.
6 https://community.element14.com/learn/publications/ebooks/
Figure 4. Generalized SDR block diagram
Although many different architectures can be used to implement a software-defined radio, the block diagram
above gives a high-level overview of how most SDRs are implemented.
An antenna is always needed to convert wireless signals into conducted signals on the PCB. The RF
channel can consist of components such as filters, mixers, and amplifiers. Generally, there is some sort
of mixing function implemented to convert the RF frequency to a lower frequency that can be processed
by the data converter. The data converter itself is also an essential component. Whereas the RF channel
can vary in implementation from SDR to SDR, the data converter, like the antenna, is common to all
platforms. Finally, the DSP is where the software-defined portion of the radio is implemented. Additional
functionality, such as filtering, mixing, and modulating/demodulating takes place in the DSP. No perfect
SDR architecture exists. The design of an SDR radio requires trade-offs between performance, cost, and
power consumption. As a result, the unique requirements of a given application will determine which SDR
is best for a particular application.
The Raspberry Pi currently supports a large range of SDR software applications. This includes some of
the most popular applications, such as GNU Radio and Gqrx SDR. In fact, there is an entire image with
many of the latest SDR software pre-installed. It is called PiSDR and is a modified version of the Raspian
operating system commonly installed on the Pi. Currently, the latest version supports all versions of
https://community.element14.com/learn/publications/ebooks/ 7
the Pi from Zero to 4. Some of the software pre- One of the simplest uses of an SDR radio is
installed includes GNU Radio, LineVNA, Soapy, frequency scanning (or frequency monitoring).
SDR Angel, LimeSuite, hamlib, RTLSDR-Airband, This is a relatively simple task requiring just
IIO Oscilloscope, and SDR++. In addition, many of the hardware and proper software. In fact,
the more common SDRs are officially supported, most software available for SDR platforms
meaning they have been tested with the Raspberry will support some sort of frequency scanning.
Pi. PiSDR can be pre-loaded onto an SD card. Frequency scanning is accomplished in the radio
by processing small chunks of spectrum and
PiSDR is probably the easiest way to get started performing a Fourier transform on the ADC output
with SDR on the Raspberry Pi. An SD card with at data. For example, a radio may have a 20MHz
least 8GB of memory is required. Once ready, a receive bandwidth. The radio can “look” at the
user can transfer the image to the SD card using frequency spectrum from 480MHz to 500MHz,
the Raspberry Pi Imager, just as one would for any process the data, and then tune to a higher
other Raspberry Pi operating system. Upon first frequency and repeat the process to show a large
running the Raspberry Pi with the installation, it is amount of spectrum. Alternatively, the radio can
recommended to run the command “volk_profile.” also sit at any specific frequency and continuously
This enables the system to run faster by optimizing monitor only the 20MHz bandwidth. The following
mathematical functions used by software such image shows an example of frequency monitoring
as GNU Radio. From here, the operating system using the Gqrx software.
will run just like the traditional Raspian operating
system, with the exception being the rich array of
SDR software that is readily available.
8 https://community.element14.com/learn/publications/ebooks/
There are multiple things being shown in the image. Another popular application that SDRs can be
First, the top of the screen shows the spectrum used for is signal processing. Signal processing
scan. This is the fast Fourier transform (FFT) of is a deep and rich topic with lots to explore and
the ADC output data. The y-axis is the amplitude learn. The two easiest methods to get started with
level of a signal, while the x-axis is the frequency. signal processing would be to use some sort of
Each one of the spikes rising out of the noise floor programming language, such as Python, to perform
is some sort of wireless signal. What is shown operations on the IQ output data from an SDR. Or
at the bottom of the image is what is commonly one can use an SDR software package such as
known as a waterfall plot. This is a different way of GNU Radio to perform mathematical operations.
viewing the strength of wireless signals. The plot
will continuously move from the top to the bottom, GNU Radio is an open source software that
with stronger signals showing a lighter color. For provides the user with a GUI to perform signal
instance, the deep blue means there are no signals processing functions. It can be used with the SDR
present, and the device is seeing nothing but noise radios previously mentioned or can be used alone
at those frequencies. On the other hand, when a without hardware. The software features flow
green, yellow, or orange color is seen, it means graphs that allow a user to put together complete
a strong signal is present at those frequencies, signal processing functions. Examples include
with orange being the signal with the largest receiving and de-modulating FM radio stations or
magnitude. Waterfall plots are great for visualizing plotting spectrum, such as in the previous example.
the persistence of a signal whether it is consistently An example of a simple flow graph is shown in
there or not. Figure 6. The frequency sink allows the user to plot
the spectrum of the data, while the time sink allows
the plotting of the time domain signal.
Figure 6. Simple flow graph in GNU radio for plotting waveform data
In GNU radio, various blocks are available by default that perform different signal processing functions. This
includes modulation and demodulation, filtering, Fourier analysis, waveform generation, and mathematical
operations. Creating a working system simply requires a user to place the required blocks and connect them
together appropriately. In addition, users can create their own custom blocks for new functionality.
https://community.element14.com/learn/publications/ebooks/ 9
An additional use case for the Raspberry Pi and SDR is the tracking and reception of satellite signals.
Some of the most common satellites tracked using SDRs are the National Oceanic and Atmospheric
Administration (NOAA) satellites. These satellites continuously monitor and take pictures from above the
Earth. These are used for understanding the weather, geographical monitoring, and educational purposes.
An example of what one can expect from the pictures captured is shown below.
Figure 7. Example image captured from an NOAA satellite. Image Source: www.goes.noaa.gov
Many guides are available online that walk through setting up the Pi with the appropriate software and
drivers needed for the project. After setup and installation, the Pi will also need to know your coordinates
in longitude and latitude to accurately calculate when the satellite will be passing by. Once everything is
set up, the Pi and software downloaded can be left to run and continuously collect data.
We will now cover some of the SDR development platforms that are widely used today.
10 https://community.element14.com/learn/publications/ebooks/
Raspberry Pi. It is offered in two different versions, Analog Devices offers a plethora of information on
the full version and ISM version. The main their website, which includes overview documents,
differences between the two are the operating getting started guides, and tutorials on using the
frequency ranges. The full version has a channel device through different means, such as software
that can support 30MHz to 6GHz and a second GUIs and programming languages.
channel that can support sub-1GHz bands. On the
other hand, the ISM version supports the native The Pluto is based on Analog Device’s AD9363
2.4GHz and sub-1GHz bands that are native to the transceiver chip. It features a transmit and receive
Microchip chipset implemented on the PCB. chain that can be controlled independently,
allowing it to operate in full duplex mode with
support for time division duplexing and frequency
division duplexing. The transceiver can tune over
the range of 325 MHz to 3.8 GHz and operate
with a channel bandwidth from 200 kHz to 20
MHz. Furthermore, the ADC and DAC are 12-bit
devices that have configurable sample rates up
to 61.44 MSPS. Overall, the Pluto device offers
a solid platform to begin getting up to speed on
Figure 8. Caribou Lite SDR platform. SDR hardware and software. The device does have
Image Source: www.crowdsupply.com limitations when it comes to its RF performance;
however, this is a trade-off made to make the
In addition to the hardware and software being device affordable and easy to use. Analog Devices
completely open source, there are also application even encourages users to hack the device and
guides available that provide information in HDL provides all the schematics and information that
and other programming languages to support may be needed to do so.
various applications such as analog receivers,
signal recording, and signal relays and generators.
TCXOs come equipped on both versions of the
board with frequency stability tolerances of less
than +/-2ppm. The SDRs are half-duplex devices
capable of transmitting with output powers up
to +14dBm. Onboard LEDs are included to offer
indicators as to when the device is transmitting
or receiving. Additional features include an
unpopulated PMOD connector, data converter
resolution of 13 bits, maximum RF bandwidth of
2.5MHz, and max sampling rate of 4MSPS.
Figure 9. Analog Devices’ Pluto SDR
5.2 Analog Devices Pluto Image Source: www.analog.com
https://community.element14.com/learn/publications/ebooks/ 11
data could be accessed directly, allowing the end and controlled, and comes in an injection-
user the freedom to use this data for their own modeled plastic enclosure. Since its inception,
applications. The USB dongles support frequency a large community has formed online around the
ranges from 500 kHz to around 1.75 GHz, with HackRF. As a result, there are lots of tutorials and
bandwidths up to 8 MHz. The ADC used is an 8-bit publications that can be found online to help not
ADC that supports sample rates up to 3.2 MSPS. only get started with the device, but also get going
However, it has been known to have issues when with advanced applications and projects.
operating on the high end of its claimed sample
rate. As a result, many guides suggest a maximum
sample rate of 2.56 MSPS.
12 https://community.element14.com/learn/publications/ebooks/
CHAPTER - 6 SDR Projects
We will now cover various SDR projects with the Raspberry Pi that anyone can build.
https://community.element14.com/learn/publications/ebooks/ 13
CHAPTER - 7 How to Make a Coat Hanger Antenna
As complex as antenna theory and design can be, Next, cut the neck off the coat hanger.
it is actually quite simple to create an antenna.
For the hobbyist and maker, there are many
simple ways to create an antenna that can suffice
for many wireless applications. An example of
this is creating a UHF antenna out of a common
household metal coat hanger.
Two pieces are needed to make an antenna out of
a coat hanger. They are a coaxial cable and the
hanger itself. Of course, various tools are also
needed to assist in the build, including a razor, All metal hangers have a protective coating
pliers, wire cutters, and soldering equipment. that needs to be removed in order to maximize
The first step in creating a coat hanger antenna conductivity between the coat hanger to the
starts with the coaxial cable. The construction of coaxial cable. Note that it is only important to
a coaxial cable is depicted in the follow image. remove the protective coating at the ends where
Basically, it consists of the outside insulating coat, we will be soldering. Once the coating is removed,
a conductive mesh that acts as the ground as well we can begin soldering. One end of the hanger will
as providing shielding for the signal conductor, be soldered to the copper core wire in the coaxial
another insulating layer, and finally, the copper cable, and the other will be soldered to the mesh
wire at the core, which carries the signal. grounding on the coaxial cable. This effectively
creates a loop antenna, as illustrated in the
following diagram:
14 https://community.element14.com/learn/publications/ebooks/
The Raspberry Pi 4 Model B
© 2022 by Newark Corporation, Chicago, IL 60606. All rights reserved. No portion of this publication, whether in whole or in part, can be reproduced without the express written consent of
Newark Corporation. Newark® is a registered trademark of Farnell Corp. All other registered and/or unregistered trademarks displayed in this publication constitute the intellectual property of
their respective holders. Printed in the U.S.A. WF-3139460