Setting up SDRplay remote on a raspberry pi

SDRplay
SDRplay

SDRPlay

I recently bought myself a SDRPlay receiver to play with this technology and maybe build a ground station or meteor scatter detector. The original plan is to setup a receiver on the Motionlab roof with an raspberry pi and send the IQ data via network down to a local server and extract the interesting information. One great software to work remotely with an SDR receiver is the Soapy project.

Install the raspberry pi part

Build system

Install the latest raspberry pi lite version from raspberrypi.org

Core system

The soapy part consist of 3 parts. The Core system must be installed first.

SDRplay

The SDRplay part consist of two parts one are the proprietary binary libraries from SDRplay itself the the other part is the soapy wrapper for SDRplay.

Binary Libraries

The driver can be downloaded from the SDRplay homepage https://www.sdrplay.com/rpi2dl.php

The SDRplay Soapy wrapper

Test the Soapy access

Soapy Server for Remote Access

Run the server

If you want to run it as a service have a look here on how to autostart stuff in linux.

6 Replies to “Setting up SDRplay remote on a raspberry pi”

  1. Thanks for sharing this project.

    The install went well as per the instructions with no problems.
    but I got the following error when running

    SoapySDRSever –bind

    SoapySSDPEndpoint::sendTo (udp://[ff02::c]:1900)= -1
    cannot Send to requested address

    The server seems to be runing but it looks to me, a newby, I missed somewhere to tell it what port to send the IQ data to.

    I assume I get CubicSDR on another networked PC to connect to the appropriate port to control the Server?

    I’m not experienced enough to fix this fault myself and I do appreciate any assistance.

    73 Bob vk2byf

  2. Followed the instructions by the letter and all went well until the very end.

    ~$ SoapySDRServer –bind from the /SoapyRemote /build directory and got the following error.

    3b51ec80-8791-150d-8567-0491007f0101
    Launching the server… tcp://[::]:55132
    Server bound to [::]:55132
    Launching discovery server…
    [ERROR] SoapySSDPEndpoint::sendTo(udp://[ff02::c]:1900) = -1
    sendto(udp://[ff02::c]:1900) [99: Cannot assign requested address]
    Press Ctrl+C to stop the server

    Looks like we have to give it an IP address and port number to send the data.
    So I tried this and got

    pi@raspberrypi:~/SoapyRemote/build $ SoapySDRServer –bind=0.0.0.0:55132

    ######################################################
    ## Soapy Server — Use any Soapy SDR remotely
    ######################################################

    47e7bacf-87d1-150d-8567-04a1007f0101
    Launching the server… tcp://0.0.0.0:55132
    Server bound to 0.0.0.0:55132
    Launching discovery server…
    [ERROR] SoapySSDPEndpoint::sendTo(udp://[ff02::c]:1900) = -1
    sendto(udp://[ff02::c]:1900) [99: Cannot assign requested address]
    Press Ctrl+C to stop the server

    It’s still not happy. I don’t know enough about this to fix it myself.
    I would appreciate some help please.

    Regards Bob, vk2byf

  3. Now I too am no expert on this .. but i wonder if it is because the Pi is taking a while to get given an IP address from the DHCP server. I had similar issue when using and RTL-SDR setup.
    No idea if this will help but look up this site and read around the ExecStartPre=/bin/sleep 15 part of launching a service. Maybe starting Spoapy Remote may need a delay

    https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/

  4. Can you add a bit to this to get the Soapy Remote “service” to run automatically on boot of the Pi.

    I am hoping to install this in the attic on a headless system. Yes I could SSH in to it to boot SR each time but a bit of a pain.

  5. Can you add a bit to this tutorial to get the Soapy Remote “service” to run automatically on boot of the Pi.

    I am hoping to install this in the attic on a headless system and on reboot would like it to auto start

    Yes I could SSH in to it to boot Soapy Remote each time, but that is a bit of a pain.

    Thanks

    Neil

    1. Hi,
      good point, yes there is a newer post on a little project to controll IoT Hardware. I added a description there on how to run stuff at autostart. Let me place a link.
      Greetings
      Ansi

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.