<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Rpi-rtl-sdr</id>
	<title>Rpi-rtl-sdr - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Rpi-rtl-sdr"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Rpi-rtl-sdr&amp;action=history"/>
	<updated>2026-05-17T04:22:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Rpi-rtl-sdr&amp;diff=3106&amp;oldid=prev</id>
		<title>Admin at 09:45, 23 April 2019</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Rpi-rtl-sdr&amp;diff=3106&amp;oldid=prev"/>
		<updated>2019-04-23T09:45:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In 2013 I bought one of these cheap USB DVB-T RTL-SDR dongles. &lt;br /&gt;
&lt;br /&gt;
[[File:R820T.jpg|200px|thumb|none|R820T with remote control and antenna]]&lt;br /&gt;
&lt;br /&gt;
[[File:Rtlsdr r820t mini float.jpg|200px|thumb|none|Inside the R820T]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Tuner           Frequency Range&lt;br /&gt;
Elonics E4000   52 - 2200 MHz with a gap from 1100 MHz to 1250 MHz (varies)&lt;br /&gt;
&lt;br /&gt;
VID     PID     Tuner   Device Name&lt;br /&gt;
0x0bda	0x2838	E4000	ezcap USB 2.0 DVB-T/DAB/FM dongle&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source: http://sdr.osmocom.org/trac/wiki/rtl-sdr&lt;br /&gt;
&lt;br /&gt;
It came with a small magnetic-base antenna and some software. Initially I used it on Windows and was able to receive signals between 50MHz - 1GHz. There are mods available to make them listen on lower frequencies (HF) but I got it to show aircraft&amp;#039;s transponder messages using RTL1090. Combined with Google Maps and VirtualRadar it is fascinating and fun to see what flies overhead..&lt;br /&gt;
&lt;br /&gt;
[[File:RTL1090 and VirtualRadar.jpg|200px|thumb|none|VirtualRadar showing realtime transponder messages]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Currently I am attempting to use one of these dongles to act as an aprs receiver (Rx-Only iGate) for 2m (145.175MHz). If this works I will free up one of my handheld transceivers and I will be able to bring down the power consumption and size of the project considerably.&lt;br /&gt;
&lt;br /&gt;
Linux uses rtl_fm to communicate with these devices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is what you should see when plugging in the RTL-SDR on a Debian 9 system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.696018] usb 8-5: new high-speed USB device number 6 using ehci-pci&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.856014] usb 8-5: New USB device found, idVendor=0bda, idProduct=2838&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.856018] usb 8-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.856020] usb 8-5: Product: RTL2841UHIDIR&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.856022] usb 8-5: Manufacturer: Realtek&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  358.856024] usb 8-5: SerialNumber: 00000001&lt;br /&gt;
Apr 22 08:34:14 debian mtp-probe: checking bus 8, device 6: &amp;quot;/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-5&amp;quot;&lt;br /&gt;
Apr 22 08:34:14 debian mtp-probe: bus: 8, device: 6 was not an MTP device&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.121689] usb 8-5: dvb_usb_v2: found a &amp;#039;Realtek RTL2832U reference design&amp;#039; in warm state&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.179365] usb 8-5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.179381] DVB: registering new adapter (Realtek RTL2832U reference design)&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.227932] i2c i2c-8: Added multiplexed i2c bus 9&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.227934] rtl2832 8-0010: Realtek RTL2832 successfully attached&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.227943] usb 8-5: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.257263] r820t 9-001a: creating new instance&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.264401] r820t 9-001a: Rafael Micro r820t successfully identified&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.267992] rtl2832_sdr rtl2832_sdr.1.auto: Registered as swradio0&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.267994] rtl2832_sdr rtl2832_sdr.1.auto: Realtek RTL2832 SDR attached&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.267996] rtl2832_sdr rtl2832_sdr.1.auto: SDR API is still slightly experimental and functionality changes may follow&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.274612] Registered IR keymap rc-empty&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.274710] input: Realtek RTL2832U reference design as /devices/pci0000:00/0000:00:1d.7/usb8/8-5/rc/rc0/input32&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.274811] rc rc0: Realtek RTL2832U reference design as /devices/pci0000:00/0000:00:1d.7/usb8/8-5/rc/rc0&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.276298] usb 8-5: dvb_usb_v2: schedule remote query interval to 200 msecs&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.286751] lirc_dev: IR Remote Control driver registered, major 244&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.287484] usb 8-5: dvb_usb_v2: &amp;#039;Realtek RTL2832U reference design&amp;#039; successfully initialized and connected&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.287526] usbcore: registered new interface driver dvb_usb_rtl28xxu&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.344649] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0&lt;br /&gt;
Apr 22 08:34:14 debian kernel: [  359.344651] IR LIRC bridge handler initialized&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
test audio out by listening to a local FM broadcast station (update frequency for your area)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rtl_fm -f 102.1M -s 170k -r 44100 -o 1 - | aplay -t raw -r 44100 -f S16_LE -c 1 -V mono -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
rtl_fm&lt;br /&gt;
&lt;br /&gt;
* -s 170k = Sampling bandwidth, use 170k for Wide-Band FM, 25k for Narrow-Band FM&lt;br /&gt;
* -r 44100 = output sampling rate; must always be less than the Sampling Bandwidth&lt;br /&gt;
* -o 1 = Oversampling&lt;br /&gt;
&lt;br /&gt;
NOTE:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
aplay&lt;br /&gt;
&lt;br /&gt;
* -c 1 = Channels (use 2 for stereo)&lt;br /&gt;
* -V mono = VU-meter (show signal strength on screen)&lt;br /&gt;
* -r 44100 = sampling rate (max=44100) (must match output sampling rate from rtl_fm)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===streaming over TCP===&lt;br /&gt;
&lt;br /&gt;
If your device does not have a soundcard available you can stream the audio over the network.&lt;br /&gt;
&lt;br /&gt;
On the server:&lt;br /&gt;
&lt;br /&gt;
(required packages: apt-get install sox libsox-fmt-mp3 socat)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rtl_fm -f 106.1M -s 170k -r 44100 - | sox -traw -r44100 -es -b16 -c1 -V1 - -tmp3 - | socat -u - TCP-LISTEN:8080&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the receiver:&lt;br /&gt;
&lt;br /&gt;
(required packages: apt-get install sox libsox-fmt-mp3 netcat)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
netcat &amp;lt;server&amp;gt; 8080 | play -t mp3 -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===testing APRS packets with MultimonNG===&lt;br /&gt;
&lt;br /&gt;
Feeding a pre-recorded aprs packet in .wav format into multimon (it supports .mp3 as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
multimon-ng -a AFSK1200 -t wav -i &amp;lt;soundfile.wav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===creating a Virtual Sound Device for the RTL-SDR===&lt;br /&gt;
&lt;br /&gt;
This will allow us to simply connect soundmodem to the virtual sound device and all we need to do then is feed it with audio from the RTL-SDR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # modprobe snd-aloop&lt;br /&gt;
&lt;br /&gt;
-or-&lt;br /&gt;
&lt;br /&gt;
 # echo &amp;quot;snd-aloop&amp;quot; &amp;gt;&amp;gt; /etc/modules&lt;br /&gt;
 (reboot) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===send RTL-SDR audio to the virtual sound device===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ rtl_fm -f &amp;lt;freq&amp;gt; -s 100k -r 22050 - | aplay -r 22050 -f S16_LE -t raw -c 1 -D hw:Loopback,0,0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Confirm audio is coming through:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
arecord -f S16_LE -r 22050 -D plughw:1,1 - | aplay -r 22050 -f S16_LE -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now use the virtual sound device to configure soundmodem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(more info here when I get it to work!)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>