Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract— RTL-2832U USB receiver - Raspberry Pi setup process the SDR data from the RTL2832U stick, it is well
receives and decodes the FM signals and sends to another capable of running the rtl_tcp server. This means that the
computer across the Local Area Network. It can be realized RTL2832U stick can be directly plugged into the
by means of SDR-Sharp software in remote PC; hence it can Raspberry Pi and wind up with a very small and portable
be used for communication. Raspberry Pi is a low cost,
SDR radio server. Raspberry Pi can either be plugged
credit-card sized computer. Whereas RTL-2832U USB
receiver has a mode where it dumps raw IQ samples over directly to your router or use Wi-Fi for more flexibility in
USB to the computer. The GNU Radio experiments supports placement. If decided to go through the Wi-Fi route, it is
this relatively cheap USB receiver as a software defined suggested to use wireless N since bandwidth can be an
radio. Using GNU Radio Companion, all real-time issue. A Wi-Fi dongle can either be used on the Raspberry
communication experiments can be reproduced. Pi’s USB port or a Wi-Fi gateway interface. The nice
thing about the Wi-Fi gateway is that it needs no drivers
Keywords— RTL-SDR; Raspberry Pi; GNU Radio; SDR to connect to the Raspberry Pi since it converts Wi-Fi data
Sharp to Ethernet. If decided to go through dongle route, that
dongle should be compatible with Raspberry Pi.
I. INTRODUCTION II. RASPBERRY PI
In this communication system, RTL-SDR and Raspberry Pi is a Linux-based, single-board computer
Raspberry Pi combination receives the FM signals and (costs around 30 dollars) having a 700MHz ARM
transfers it to a remote PC. SDR Sharp software installed architecture CPU, 256MBytes of RAM, two USB ports,
in remote computer helps to observe the received signals. and a 10/100 Ethernet controller which would improve the
Raspberry Pi is a credit card sized, low cost computer thinking capacity of the people. Like any other computer,
which is capable of performing almost all the tasks as our the Raspberry Pi also uses an operating system and here
desktop PC does. RTL-SDR is a low cost Software the operating system is a flavor of Linux called Raspbian.
Defined Radio, in which the components are programmed And there are many different flavors of the same just
and implemented in software instead of the conventional similar to Raspbian. Linux is a highly preferred match for
way of hardware implementation. GNU Radio is an open Raspberry Pi because it is open source and free. On one
source free toolkit, used to create software-defined radios. hand, it keeps the price of the platform low and on the
Raspberry Pi acts as a Remote Server for RTL2832u SDR. other, it makes it more ethically hackable. The operating
The RF front-end followed by an analog-to-digital system runs from an SD flash card, allowing it to instantly
converter constitutes the RTL-SDR, which provides be switched by swapping cards. Its potential uses are
samples to a host computer. The rest of the processing is astonishing, and as yet, not fully researched, but it has
done in software. already been tested as a multimedia player with pelting
One of the important feature of the RTL driver for the capabilities, an internet browser, a games machine and a
RTL2832U SDR stick is the TCP server which allows to hardware development board. It is meant for people of all
send data from the RTL2832U stick across home network ages and skill levels, especially for educational purposes.
(LAN connection) to a remote PC running a program to The General Purpose Input/Output (GPIO) expansion
process the data back into SDR information such as SDR board for Raspberry Pi allows any external peripherals to
Sharp. SDR Sharp is a simple, small visceral and fast PC- connect to this device. This board enables controlling
based Digital Signal Processing application for Software light-emitting diodes (LEDs), servo motors, sensors and
Defined Radio. Even if the Raspberry Pi is not quite other electronic components. The Raspberry Pi has two
powerful enough to run current programs to decode and interfaces which will allow us access to control things.
[978-1-4799-3506-2/13/$31.00 ©2013 IEEE]
2013 International Conference on Advanced Computing and Communication Systems (ICACCS -2013), Dec. 19 – 21, 2013, Coimbatore, INDIA
The first of these is a kind of standard interface which [4]-[7]. GNU Radio applications are primarily written
almost built in all modern computers, called a USB or using the Python programming language, while the signal
Universal Serial Bus. The second of these interfaces on processing blocks are implemented in C++ language. By
the Raspberry Pi is called the GPIO which stands for installing and using RTLSDR hardware and software we
General Purpose Input and Output. This part of the have now entered the long established world of scanning
Raspberry Pi allows the user to easily control all manner and receive only Ham Radio. Here instead of using
of devices, in turn helps to implement so many electronics expensive purpose built hardware, a PC (which you no
experiments [1]. In this experiment, USB port is used to doubt already own) and a 20 dollar USB dongle is used. It
interface the RTL-SDR dongle. is now possible to listen to:
III. RTL-SDR
The RTL-SDR is an inexpensive software-defined
radio based on DVB-T TV tuners with RTL2832 chips.
The RTLSDR can also act as a wide band radio scanner. It
will attract the hardware hackers, tinkerers, Ham Radio
enthusiasts, and anyone who is interested in RF. RTL-
SDR receivers use a Realtek RTL2832 quadrature
sampling detector in combination with a programmable
oscillator (most commonly an Elonics E4000, Fitipower
FC0013, FC0012, FC2580, and R820T). Experiments
Fig. 1. RTL-SDR USB Dongle
indicate that these devices perform fairly well without any
hardware modification, and the software (drivers,
firmware, and user interfaces) is sophisticated. It was
initially possible to tune a desired frequency, sample a
chunk of spectrum, and write the data to a file readable by
a conventional SDR program. For example, GNU Radio
or HDSDR would be used to read the file and demodulate
signals in a 2 MHz wide band of recorded spectrum.
Recent generations of RTLSDR compatible software can
directly access the data stream providing excellent real-
time multimode reception [2]. RTLSDR hardware consists
of USB, PCI and antennas .The USB dongle used here is
based on the Realtek RTL2832U chip, which is an ADC
and USB data pump. Figure 1 shows the RTL-SDR USB
dongle. The Elonics E4000 is the cheaper and most
desirable tuner which is capable of tuning in the range of
60MHz to 1700MHz. RTL2832U chip is used with one Fig. 2. Elonics E4000 Tuner/Quadrature Sampling Detector Diagram
among the three tuners chips: FC0012 - Tuner 50MHz to
1000MHz; FC0013 - Tuner 50MHz to 1700MHz; R820T-
Tuner 24MHz to 1850MHz. The E4000 Elonics chip is a 1) AM: Almost all AM transmissions are below the
digitally controlled tuner which is shown in figure 2. The bottom frequency of RTL-SDR dongles so a translator
tuner selects a frequency band around a target center will be needed to get these frequency bands.
frequency and demodulates it to the baseband. In this 2) Upper/Lower Sideband (USB/LSB): Same as AM
experiment, the RTL2832U chip serves as an analog to frequency band reception.
digital converter that samples the baseband signal and 3) FM: Both narrow band and wideband frequency band
outputs the samples to a host computer through a Wired- can be obtained. The former is used on two way radio
Local Area Network connection. This dongle was systems such as emergency services and private radio
originally made to receive and decode the FM/AM/SSB networks (like couriers and taxis) and the latter is the
signals. Antii Palosaari, a V4L/DVB kernel developer, usual broadcast FM that can be used in kitchen and car.
discovered that there is a device mode in which raw Aircraft, boats and ships can also utilize RTL-SDR to
samples can be captured and transferred to a host listen to narrow band FM. The SDR sharp software can
computer. This feature enables this device to be used as an receive both narrowband and wideband FM and the latter
inexpensive Software-defined radio [3]. do stereo FM too!
GNU Radio contains a lot of signal processing blocks 4) CW: Continuous wave for Morse code enthusiasts [8].
which is useful to build simulation like environment, 5) With GNU Radio digital modes such as pagers
which in turn can be helpful to implement wireless (POCSAG) ADS-B (aircraft positions), AIS (ship
communication and real-time communication experiments
2013 International Conference on Advanced Computing and Communication Systems (ICACCS -2013), Dec. 19 – 21, 2013, Coimbatore, INDIA
positions), AP25 and TETRA (digital trunk radio) and $ sudo nano /etc/ssh/sshd config
many others can be received and demodulated. In the line /etc/ssh/sshd config file which controls X11
6) Satellite reception including receiving HAM forwarding, ensure that it says: X11Forwarding yes. Save
transmissions from the International Space Station are if required then reboot
possible too. RTLSDR and a 2.5m dish can be used to 6) Type the command: $ sudo reboot
track the carrier signal on deep space robots such as 7) Run a X-Windows server after installing in the
Voyager and the Mars missions. computer download and run Xming.
7) GPS reception is currently being worked on, in future it 8) Ensure your SSH program (such as Putty) has X-11
would be able to do. enabled. In the Putty configuration, find connection, SSH,
A ‘C’ based software, SDR Sharp, is used to process X11 and tick the check-box for X11 forwarding. If the X
the data in remote PC. It can demodulate display location is leaved blank, it will assume the Server
AM/WFM/NFM/DSB/SSB signals. The main purpose of as default server[10].
SDR Sharp is to offer a simple proof of concept 9) Then a window will appear which asks for login id and
application to get hands into DSP techniques. password. Enter the Raspberry Pi’s login id and password.
The Auto-tuner in SDR Sharp works just like a 10) Type $ startlxde
wideband monitor. A threshold level can be set and any
signal that exceeds will cause the software to
automatically jump to that peak and demodulate the audio.
It will even log the frequency in a MS Excel spreadsheet.
A roll span and dwell time can also be set. The dongle
will jump sequentially through the predefined range and
autotune to each peak encountered. This in effect becomes
an extremely fast scanner/spectrum analyzer.
REFERENCES