RaspberryRaspberry PiPi RadioRadio ProjectsProjects

DavidDavid HaworthHaworth WA9ONYWA9ONY

www.stargazing.net/david/RPi/hrrpi.htmlwww.stargazing.net/david/RPi/hrrpi.html

SDRsSDRs withwith USBUSB InterfaceInterface DVB-T: Digital Video Broadcasting — Terrestrial LimeSDR Mini DVB-T+DA3+FM NESDR Mini Key Specs. RTL Frequency range I/Q rate RFSpace A/D bits SDR-IQ Noise floor Transmit SW support Price NESDR Smart

RTL-SDR Blog V3 R820T2 RTL2832U SDRplay RSP1 RTL 24-1766 MHz USB U

2 8-bit I/Q 3

8 data streams 2 L T

I RF Q o i d u A

https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/ SDR#SDR# FrequencyFrequency CorrectionCorrection (47(47 ppm)ppm)

SDR#SDR# FrequencyFrequency CorrectionCorrection (<1(<1 ppm)ppm)

AmazonAmazon RTL-SDR.COMRTL-SDR.COM KitKit $29.95$29.95

www.amazon.com/gp/product/B011HVUEME/www.amazon.com/gp/product/B011HVUEME/ ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

ScannerScanner AntennasAntennas 3030 –– 13001300 MHzMHz

NooElecNooElec BroadcastBroadcast FMFM BandstopBandstop FilterFilter

SMASMA RG142RG142 CoaxCoax CablesCables LossLoss atat 750MHz,750MHz, 100’100’ ● RG-6RG-6 5.65.6 dBdB 7575ΩΩ ● RG-142RG-142 9.69.6 dBdB 5050ΩΩ ● RG-8XRG-8X 1111 dBdB 5050ΩΩ ● RG-58RG-58 1313 dBdB 5050ΩΩ ● RG-316RG-316 2222 dBdB 5050ΩΩ ● RG-174RG-174 2424 dBdB 5050ΩΩ

Mini-CircuitsMini-Circuits Amp.Amp. ZFL-500LN+ZFL-500LN+

ACAC PoweredPowered SpeakersSpeakers withwith VolumeVolume ControlControl

SDR:SDR: SoftwareSoftware DefinedDefined RadioRadio

● RTL-SDRRTL-SDR USBUSB devicedevice ● RaspberryRaspberry PiPi computercomputer ● SoftwareSoftware

● rtl_sdr: demodulates RTL-SDR USB I/Q data stream ● SoX: audio processing & recording ● QSSTV: Slow scan TV decoder

RaspberryRaspberry PiPi ComputerComputer

● LowLow cost,cost, $35,$35, smallsmall ssingleingle bboardoard ccomputeromputer (SBC)(SBC) ● LargeLarge ecosystemecosystem

● 19 million sold 2012 to 2018 ● 1/3 to education, 1/3 to hobbyist & 1/3 to commerical ● Websites, books, magazines, forums, etc.

RaspbianRaspbian OperatingOperating SystemSystem ● 19701970 UNIX,UNIX, AT&TAT&T BellBell LabsLabs

● Multitasking & Multiuser ● Pipes, SW tools & Portable ● 19841984 XX Windows,Windows, MITMIT ● 19911991 Linux,Linux, LinusLinus TorvaldsTorvalds

● An UNIX like kernal ● 19931993 DebianDebian -- GNU/LinuxGNU/Linux

● SW repository – >51,000 packages ● 20132013 RaspbianRaspbian basedbased onon DebianDebian

● For Raspberry Pi computers

InstallingInstalling RaspberryRaspberry PiPi SoftwareSoftware

Debian Source Code: MicroSD image Repository Python, C, etc.

APT CLI IDE

GUI CLI Run/Comple

AddAdd // RewmoveRewmove Software:Software: rtl_sdrrtl_sdr

Right click for website

AddAdd // RewmoveRewmove Software:Software: rtl_sdrrtl_sdr WebsiteWebsite

NoNo SDRSDR foundfound byby rtl_testrtl_test

Need to plug in the SDR CLI:CLI: rtl_testrtl_test atat 2,048,0002,048,000 S/sS/s CTRL-CCTRL-C toto exitexit

CLI:CLI: rtl_testrtl_test atat 2,700,0002,700,000 CTRL-CCTRL-C toto exitexit

AddAdd // RewmoveRewmove Software:Software: SoXSoX

Right click for website

CLI:CLI: manman rtl_fmrtl_fm Tip

CLI:CLI: rtl_fmrtl_fm -h-h Tip

GoogleGoogle Search:Search: rtl_fmrtl_fm

http://kmkeen.com/rtl-demod-guide/ SelectSelect && CopyCopy CommandCommand FromFrom WebsiteWebsite

CopyCopy WebsiteWebsite TextText

PastePaste TextText inin toto TerminalTerminal

FMFM StationsStations http://radiostationworld.com/locations/united_states_of_america/oregon/ portland/radio_stations/

ChangeChange Freq.Freq. ToTo 103.3103.3 KKCWKKCW 100100 kWkW LeftLeft Arrow,Arrow, Backspace,Backspace, 103.3103.3

103.3

ListeningListening toto 103.3103.3 FMFM rtl_fm play

rtl_fm

play CTRL-CCTRL-C toto ExitExit PlayingPlaying 103.3103.3 FMFM

NOAANOAA WeatherWeather FrequenciesFrequencies www.nws.noaa.gov/nwr/coverage/ccov.php?State=ORwww.nws.noaa.gov/nwr/coverage/ccov.php?State=OR

WXL96WXL96 NOAANOAA WeatherWeather 162.475162.475 MHzMHz FMFM

WA7ABUWA7ABU 145.290145.290 MHzMHz FMFM RepeaterRepeater

rtl_fmrtl_fm CommandCommand ParametersParameters

● -M-M fmfm modulationmodulation ● -f-f 145.290145.290 frequencyfrequency ● -s-s 3200032000 audioaudio samplesample raterate

● 8000, 11025, 22050, 32000, 44100 & 48000

AddingAdding FixedFixed GainGain && SquelchSquelch

● -g-g 3030 gaingain levellevel ● -l-l 8080 squelchsquelch levellevel isis sensitivesensitive toto gaingain levellevel && preamppreamp

LinuxLinux PipelinePipeline FunctionFunction

speaker RTL-SDR USB data stream stdout stdin rtl_fm pipe play

SoSoundund eeXXchange:change: SoXSoX playplay CommandCommand ParametersParameters

● -r-r 3200032000 audioaudio samplesample rate,rate, mustmust matchmatch rtl_fmrtl_fm -s-s raterate

● 8000, 11025, 22050, 32000, 44100 & 48000

● -t-t rawraw audioaudio datadata encodingencoding SoX 84 pages ● -e-e ss forfor signed-integersigned-integer encodingencoding ● -b-b 1616 bitsbits ofof audioaudio datedate ● -c-c 11 audioaudio channelchannel ● -V1-V1 -V1-V1 SoXSoX processigprocessig && onlyonly errorerror messagesmessages areare shown.shown. ● -- -- UseUse stdinstdin pipelinepipeline WA7ABUWA7ABU 145.290145.290 MHzMHz SSTVSSTV Wed.Wed. 8:308:30 pmpm

ISSISS SSTVSSTV 145.8145.8 MHzMHz FMFM

NOAA18.shNOAA18.sh BashBash ShellShell

Gain parameter with default Speaker Save to file with auto file name

NOAA-18NOAA-18 WeatherWeather SatelliteSatellite 137.9125137.9125 MHzMHz WFMWFM

http://jthatch.com/APT3000/APT3000.html NOAA-18NOAA-18 WeatherWeather SatelliteSatellite 137.9125137.9125 MHzMHz WFMWFM

RaspberryRaspberry PiPi HeadlessHeadless OperationOperation NoNo Keyboard,Keyboard, NoNo MouseMouse && NoNo MonitorMonitor

● EnableEnable SSHSSH ((SSecureecure ShShell)ell) onon RaspberryRaspberry PiPi

● man ssh ● SSHSSH onon WindowsWindows 8.18.1

● SSHSSH onon MacMac OS/XOS/X

● SSHSSH onon LinuxLinux // RaspberryRaspberry PiPi

EnableEnable SSHSSH

BootBoot intointo CLICLI

SSH:SSH: WindowsWindows 8.18.1 withwith PuTTYPuTTY

https://www.putty.org/ SSH:SSH: WindowsWindows 8.18.1 withwith PuTTYPuTTY

SSH:SSH: WindowsWindows 8.18.1 withwith PuTTYPuTTY

SSH:SSH: macOSmacOS

SSH:SSH: macOSmacOS

SSH:SSH: AnotherAnother RaspberryRaspberry PiPi

FutureFuture RaspberryRaspberry PiPi RadioRadio ProjectsProjects

● SDRSDR DSPDSP

● rtl_sdr with GNU Octave

● GNU Radio

ThisThis PresentationPresentation PDFPDF URLURL isis atat www.qrz.com/db/WA9ONYwww.qrz.com/db/WA9ONY