Looking for help with rsp1

This is what happend, my previous RTL-SDR receiver had some problems, the link usually lost after few days. So I bought a second-hand rsp1 to replace the previous receiver. After doing some research, I found that seems piaware image on raspbian does not support RSP by default.

Can I adjust some settings in the image to support rsp1? Or do I need to start somewhere else? Sorry I am a complete beginner. I have tried to find some tutorials about setting up rsp, but it seems that there are no tutorials on the network.

Needs a different dump1090 version that has RSP support, the decoder isn’t very good.

1 Like

There is a version of dump1090 for the rsp1 available on the SDRPlay website - it does allow 8MHz sample rate, but I don’t know if it has any other decoder optimisations for the hardware.

1 Like

Try this version of dump1090-fa, with this version it’s no need to install sdrplay api.
It’s support RSP1 and other devices based on msi2500 and msi001.

https://github.com/p4eter/dump1090

1 Like

Thank you for your reply. When I follow your steps, I got an error message and it stop me.

interactive.c:52:10: fatal error: curses.h: No such file or directory
   52 | #include <curses.h>
      |          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:215: interactive.o] Error 1
make: *** Waiting for unfinished jobs....

Seems a file is missing

Make sure you have all tools to build app, in your case libncurses5-dev is missing.

 sudo apt-get install build-essential pkg-config libncurses5-dev libusb-1.0-0-dev

I installed the tool as you said, but I still got errors. What went wrong?

sdr_miri.c:34:5: error: unknown type name ‘mirisdr_hw_flavour_t’
   34 |     mirisdr_hw_flavour_t hw_flavour;
      |     ^~~~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriInitConfig’:
sdr_miri.c:55:23: error: ‘MIRISDR_HW_DEFAULT’ undeclared (first use in this function)
   55 |     MIRI.hw_flavour = MIRISDR_HW_DEFAULT;
      |                       ^~~~~~~~~~~~~~~~~~
sdr_miri.c:55:23: note: each undeclared identifier is reported only once for each function it appears in
sdr_miri.c: In function ‘miriHandleOption’:
sdr_miri.c:78:31: error: ‘MIRISDR_HW_SDRPLAY’ undeclared (first use in this function)
   78 |             MIRI.hw_flavour = MIRISDR_HW_SDRPLAY;
      |                               ^~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriOpen’:
sdr_miri.c:124:5: error: implicit declaration of function ‘mirisdr_set_hw_flavour’ [-Werror=implicit-function-declaration]
  124 |     mirisdr_set_hw_flavour(MIRI.dev,  MIRI.hw_flavour);
      |     ^~~~~~~~~~~~~~~~~~~~~~
sdr_miri.c:137:5: error: implicit declaration of function ‘mirisdr_set_sample_format’; did you mean ‘mirisdr_set_sample_rate’? [-Werror=implicit-function-declaration]
  137 |     mirisdr_set_sample_format(MIRI.dev, "252_S16");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
      |     mirisdr_set_sample_rate
cc  -DSTACK_LINE_READER_BUFFER_SIZE=1024 -DNDEBUG -Icpu_features/include -DHAVE_STRONG_GETAUXVAL -O3 -g -std=c99 -c cpu_features/src/filesystem.c -o cpu_features/src/filesystem.o
sdr_miri.c:140:5: error: implicit declaration of function ‘mirisdr_set_transfer’ [-Werror=implicit-function-declaration]
  140 |     mirisdr_set_transfer(MIRI.dev, MIRI.transfer_type );
      |     ^~~~~~~~~~~~~~~~~~~~
sdr_miri.c:143:5: error: implicit declaration of function ‘mirisdr_set_if_freq’; did you mean ‘mirisdr_set_center_freq’? [-Werror=implicit-function-declaration]
  143 |     mirisdr_set_if_freq(MIRI.dev, 0);
      |     ^~~~~~~~~~~~~~~~~~~
      |     mirisdr_set_center_freq
sdr_miri.c:146:9: error: implicit declaration of function ‘mirisdr_set_bandwidth’ [-Werror=implicit-function-declaration]
  146 |     r = mirisdr_set_bandwidth(MIRI.dev, MIRI.bandwidth);
      |         ^~~~~~~~~~~~~~~~~~~~~
sdr_miri.c: In function ‘miriRun’:
sdr_miri.c:250:62: error: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint32_t’ {aka ‘unsigned int’} [-Werror=format=]
  250 |     fprintf(stderr, "miri:  out_block_size: %d buffer size %ld \n", out_block_size, (out_block_size * sizeof(uint8_t)));
      |                                                            ~~^                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                              |                                      |
      |                                                              long int                               uint32_t {aka unsigned int}
      |                                                            %d
cc1: all warnings being treated as errors
make: *** [Makefile:215: sdr_miri.o] Error 1
make: *** Waiting for unfinished jobs....

Download DUMP1090 for RSP1:

STEP 1 of 4: https://www.sdrplay.com/downloads/

 
image

 

STEP 2 of 4:

image

 

STEP 3 of 4:

 

STEP 4 of 4:

SDRplay Raspberry Pi images

Image Direct Download Link: (V0.6 Image - RSP1, RSP1A, RSP2/2pro, RSPduo - single tuner mode): https://www.sdrplay.com/software/SDRplay_RPi_V0.6.img.xz

 

It seems that libmirisdr0 is a bit outdated, try building it instead of installing.

First, remove the old one.

sudo apt-get install libmirisdr0 libmirisdr-dev

then build and install it from source

$ git clone https://github.com/f4exb/libmirisdr-4.git
$ cd libmirisdr-4; mkdir build; cd build
$ cmake ..
$ make -j $(nproc) install

And at the end please fetch/pull git with dump1090 (if you clone it) or download latest sources. I pushed a little commit with fix.

cd dump1090
git fetch
git pull
make MIRISDR=yes -j $(nproc)

Please let me know if it works now.

Has anyone used these low cost RSP1
Range 10 kHz to 1 GHz - Price US $11.26 + Shipping US $1.28

 

 

 

==================================================================

(1) Range 10 kHz to 2 GHz - Price US $17.85 + Free Shipping
(2) Range 10 kHz to 1 GHz - Price US $16.12 + Free Shipping

image
image

 

I have one with me for test purposes, but I can’t get it to work on the raspberry…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.