Raspberry Pi 3 GQRX SDR

Raspberry Pi 3 GQRX SDR

The Raspberry Pi 3 has enough power to run applications that were out of reach of earlier versions.  Software Defined Radio, commonly known as SDR, is such an application.  There are several program options that can be installed.  I’ll be covering GQRX because it powered by GNU-Radio and Qt.  You can find more information about the software at http://gqrx.dk/

Installing gqrx is done by follownig the instructions outlined on the GQRX developer’s website, http://gqrx.dk/download/install-ubuntu

Here is an excerpt.

For Ubuntu 14.04 – 16.04 you can choose to use packages from our own personal package archive (PPA) where you can get the latest version of Gqrx for Ubuntu and derivatives. This PPA depends on a few other third party package archives to provide the latest SDR drivers and GNU Radio packages.

To start using the PPA, first make sure that you do not have any other source or binary installation of gqrx, gnuradio or the SDR driver libraries installed. The following commands remove binary installations of gqrx and gnuradio, but not installations from source:

sudo apt-get purge --auto-remove gqrx
sudo apt-get purge --auto-remove gqrx-sdr

You should now remove the gqrx/releases or gqrx/snapshots PPA from the list of repositories / package source if you have been using these.

sudo add-apt-repository --remove ppa:gqrx/releases
sudo add-apt-repository -y ppa:gqrx/snapshots

Then add the new repositories to the package manager by typing the following in a terminal – one line at a time (note the version specific line):

sudo add-apt-repository -y ppa:bladerf/bladerf
                   (for 14.04 - 15.10 only – not used )
sudo add-apt-repository -y ppa:ettusresearch/uhd
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo add-apt-repository -y ppa:myriadrf/gnuradio
sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
sudo apt-get update

If that went well without errors, continue with installing gqrx:

sudo apt-get install gqrx-sdr

You can now find gqrx in the desktop menu or start it from a terminal by typing gqrx.  Once you have installed Gqrx from the PPA, updates will be available through the package manager.  It is recommended that users also install the libvolk1-bin package and run the volk_profile tool to optimize GNU Radio performance on the specific computer it is being used on.

sudo apt-get install libvolk1-bin
volk_profile

Wait for it to finish, then enjoy the performance boost :-)

Once installed, the audio typically is piped out the HDMI port.  You can redirect it to the audio jack of the Raspberry Pi by entering this command in a terminal window.

amixer cset numid=3 1

More details about this command can be found on the Raspberry Mate website, https://ubuntu-mate.community/t/ubuntu-mate-15-04-for-raspberry-pi-2/517

Now the software is ready to run, without the hangs after a few seconds issue.

Comments are closed.