Sunday, April 23, 2017

rtl-sdr direct sampling on linux

There's a nicely put together rtf-sdr receiver box available on Ebay from China for about AU$45 with the direct sampling modification for HF already done for you and separate inputs for HF and VHF+.

There are several sellers so shop around.

You can see it on the right here and the box above it. (Click to enlarge)

Internally, it's an RTL2832U.

On my recent weekend visit to Kevin, VK2KB, I helped to get it going under Windows using SDR# software and this prompted me to get mine going at home under Fedora linux.

One mistake I've made before is that some USB cables seem to come wired only for charging and don't wire up the other USB connections. I wasn't seeing the device in lsusb and when I tailed the log (which, incidentally, has changed under Fedora since I last looked, to be sudo journalctl -f), there was no chatter as the device was plugged in. Trying alternate cables fixed this.

It turns out that GQRX finds the device just fine. To switch on direct sampling from the Q input, you set it like this:


CubicSDR saw the device but couldn't receive until I blacklisted the built-in TV reception driver by creating a file /etc/modprobe.d/blacklist.conf and entering blacklist dab_usb_rtl28xxu in it. Then I rebooted.

After that, the CubicSDR device config looks like this:


And it receives 40m SSB like this:


(There's not much on at this time of day).

No comments: