openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Add useful snippets of code or links to entire SDR projects.
sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by sdrplay » Sun Mar 04, 2018 8:19 am

I'm not sure how that software works, do you have a file that shows how the RSP is configured - freq, gain, sample rate, bw, agc, etc.?

Best regards,

SDRplay Support

Reason: No reason

robbedoeske
Posts: 14
Joined: Sun Feb 25, 2018 8:56 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by robbedoeske » Sun Mar 04, 2018 12:53 pm

sdrplay wrote:I'm not sure how that software works, do you have a file that shows how the RSP is configured - freq, gain, sample rate, bw, agc, etc.?

Best regards,

SDRplay Support
config_webrx.py.zip
(4.38 KiB) Downloaded 1389 times
Oke this is the only config file to adjust.
It is working but reception with for example Sdr Uno is much better in my opinion.
Thanks in advance.

Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by sdrplay » Sun Mar 04, 2018 2:01 pm

Maybe I need to see in the application then. The only two parameters I can see that would be used are:

samp_rate = 500000
rf_gain = 200

neither of which make any sense from the API perspective.

Do you have access to the source code so I can see how these numbers are being used,etc?

Best regards,

SDRplay Support

Reason: No reason

robbedoeske
Posts: 14
Joined: Sun Feb 25, 2018 8:56 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by robbedoeske » Sun Mar 04, 2018 7:06 pm

sdrplay wrote:Maybe I need to see in the application then. The only two parameters I can see that would be used are:

samp_rate = 500000
rf_gain = 200

neither of which make any sense from the API perspective.

Do you have access to the source code so I can see how these numbers are being used,etc?

Best regards,

SDRplay Support
Oke the source code you can get by git:
https://github.com/simonyiszk/openwebrx.git

I will attach the application:
openwebrx.py.zip
(9.13 KiB) Downloaded 1281 times

Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by sdrplay » Mon Mar 05, 2018 1:43 am

I think I understand this a bit better. openwebrx seems to be an interface to the IQ streaming program rtl_sdr (or sometimes called rx_sdr)

Looking through this thread it looks like the device driver that is used (driver=sdrplay) is the original gr-osmosdr version that was written for the RSP1 and doesn't work very well.

If that is the case I would be surprised if it worked well for RSP1A or RSP2 as the front end switching will be different. Also, if that is the case then you won't be able to use the RSP1A or RSP2 features such as Bias-T, notch filters and port switching?

I would suggest 3 things that could make this better...

1. Use SoapySDR/SoapySDRPlay interface
2. Use the improved gr-osmosdr interface from Jeff Long (https://www.sdrplay.com/community/viewt ... f=7&t=2881)
3. If this application is just getting IQ data from rx_sdr, then someone can take the example code from our github repository and customise it specifically for this: https://github.com/SDRplay/examples

Best regards,

SDRplay Support

Reason: No reason

robbedoeske
Posts: 14
Joined: Sun Feb 25, 2018 8:56 am

Re: openwebrx working with SDRPlay RSP2 on Raspberry Pi2B

Post by robbedoeske » Tue Mar 06, 2018 10:33 am

Oke thank you i will take a look at this.

Reason: No reason

Post Reply