RTL-SDR
Install
sudo apt install rtl-sdr sudo apt install usbutils alsa-utils
echo 'blacklist dvb_usb_rtl28xxu' | sudo tee /etc/modprobe.d/blacklist-rtl-sdr.conf sudo reboot
dmesg
## [ 1000.391114] usb 1-1.3: new high-speed USB device number 5 using dwc_otg ## [ 1000.503089] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00 ## [ 1000.503170] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 ## [ 1000.503197] usb 1-1.3: Product: RTL2838UHIDIR ## [ 1000.503251] usb 1-1.3: Manufacturer: Realtek ## [ 1000.503281] usb 1-1.3: SerialNumber: 00000001
lsusb
## Bus 001 Device 001: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
rtl_test
## Found 1 device(s): ## 0: Realtek, RTL2838UHIDIR, SN: 00000001 ## ## Using device 0: Generic RTL2832U OEM ## Found Rafael Micro R820T tuner ## Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 ## [R82XX] PLL not locked! ## Sampling at 2048000 S/s. ## ## Info: This tool will continuously read from the device, and report if ## samples get lost. If you observe no further output, everything is fine. ## ## Reading samples in async mode... ## Allocating 15 zero-copy buffers ## lost at least 32 bytes
rtl_fm -M wbfm -f 80.0M -s 200k -r 48k - | aplay -r 48000 -f S16_LE -t raw -c 1 rtl_fm -M wbfm -f 79.5M -s 200k -r 48k - | aplay -r 48000 -f S16_LE -t raw -c 1 rtl_fm -M wbfm -f 78.0M -s 200k -r 48k - | aplay -r 48000 -f S16_LE -t raw -c 1
## Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono ## Found 1 device(s): ## 0: Realtek, RTL2838UHIDIR, SN: 00000001 ## ## Using device 0: Generic RTL2832U OEM ## Found Rafael Micro R820T tuner ## Tuner gain set to automatic. ## Tuned to 80316000 Hz. ## Oversampling input by: 6x. ## Oversampling output by: 1x. ## Buffer size: 6.83ms ## Allocating 15 zero-copy buffers ## Sampling at 1200000 S/s. ## Output at 200000 Hz.
rtl_tcp -a 0.0.0.0 -p 1234 -s 1024000
## Found 1 device(s): ## 0: Realtek, RTL2838UHIDIR, SN: 00000001 ## ## Using device 0: Generic RTL2832U OEM ## Found Rafael Micro R820T tuner ## [R82XX] PLL not locked! ## Tuned to 100000000 Hz. ## listening... ## Use the device argument 'rtl_tcp=0.0.0.0:1234' in OsmoSDR (gr-osmosdr) source ## to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).
References
Acknowledgments
Daiphys is a professional services company in research and development of leading-edge technologies in science and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!
Daiphys Technologies LLC - https://www.daiphys.com/