PhantomSDR Support Forum

General Category => PhantomSDR Hardware => Topic started by: 9a7aof on Sep 11, 2024, 04:30 PM

Title: PhantomSDR+ with RSP1A or RSP1B
Post by: 9a7aof on Sep 11, 2024, 04:30 PM
Hello,

I have two Sdrplay receivers (RSP1A and RSP1B) and I don't know how to get them to work with PhantomSDR+.

The Chinese RSP1 clone works fine with the miri_sdr driver, I tried several bands, everything is fine.

My start-miri
#!/bin/bash

killall -s 9 spectrumserver
killall -s 9 rx_sdr
killall -s 9 miri_sdr
#service sdrplay restart

#-------------------
#2Mhz ---27Mhz band
miri_sdr -m 252 -e 2 -s 2048000 -f 27800000 -T 1 - | build/spectrumserver --config config.toml > /dev/null 2>&1 &

exit
#------------------

I installed Sdrplay API, it is not needed for RSP1 when it works with miri_sdr driver. RSP1A and RSP1B don't work with the miri_sdr driver (waterfall does not work).

I am asking for instructions on what to do from SoapySDR and rx_sdr.

I also don't know how to activate bookmarks in PhantomSDR+. In Openwebrx I add them manually using the joe editor. What is the name of bookmarks.json in PhantomSDR+.

My operatihg system is LMDE 6 and compilation go without any problem.

websdr@edge:~/PhantomSDR-Plus$ lsb_release -a
No LSB modules are available.
Distributor ID:   Linuxmint
Description:   LMDE 6 (faye)
Release:   6
Codename:   faye
websdr@edge:~/PhantomSDR-Plus$

Thanks!

Darko, 9a7aof
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: Bas ON5HB on Sep 11, 2024, 04:46 PM
For Soapy and RSP1 A/B you have to goto the SDRplay website and for Soapy here:

https://github.com/pothosware/SoapySDRPlay3/wiki

First install Soapy from scratch, then install the SoapySDRplay plugin.
Else it won't compile/install.

When Soapy is running you need to install https://github.com/rxseger/rx_tools

When that is running....then you need to make a line like this:

rx_sdr -f 145000000 -s 20000000 -d driver=hackrf - | ./build/spectrumserver --config config.toml

But modify it for the SDRplay driver.

However, I have tried this and couldn't get it stable, Soapy would stop sending data after some time and needed to be restarted.

Goodluck.
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: 9a7aof on Sep 11, 2024, 04:54 PM
Thanks!

I'll try that in the next few days, I'm not at home.

Darko, 9a7aof
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: 9a7aof on Sep 25, 2024, 11:23 AM
Hello,

I configure PhantomSDR+ to work with RSP1A and SoapySDR driver.
Its work fine with bandwith 10MHz.

I have problem with MW Broadcast stations, they are very faintly heard, the switch -t means nothing, be it true or false.

Here is my start-rsp1a


#!/bin/bash

killall -s 9 spectrumserver
killall -s 9 rx_sdr

sudo service sdrplay restart

sleep 2

#rx_sdr -f 4000000 -s 8000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 - | ./build/spectrumserver --config config-rsp1a.toml
# > /dev/null 2>&1 &
#rx_sdr -f 4000000 -s 8000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 - | ./build/spectrumserver --config config-rsp1a.toml > /dev/null 2>&1 &
#rx_sdr -f 5500000 -s 10000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 - | ./build/spectrumserver --config config-rsp1a.toml > /dev/null 2>&1 &
rx_sdr -f 8000000 -s 10000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 - | ./build/spectrumserver --config config-rsp1a.toml > /dev/null 2>&1 &

exit

config-rsp1a.toml

[server]
port=8905 # Server port
html_root="frontend/dist/" # HTML files to be hosted
otherusers=1 # Send where other users are listening, 0 to disable
threads=2

[websdr]
register_online=true #false # If the SDR should be registered on https://sdr-list.xyz then put it to true
name="9A7AOF with RSP1A" # Name that is shown on https://sdr-list.xyz
antenna="Dipole for 80m " # Antenna that is shown on https://sdr-list.xyz
grid_locator="JN86da" # 4 or 6 length Grid Locatlr shown on https://sdr-list.xyz and for the Distance of FT8 Signals
hostname="9a7aof.ddns.net" # If you use ddns or something to host with a domain enter it here for https://sdr-list.xyz

[input]
#sps=8000000 # Input Sample Rate
sps=10000000 # Input Sample Rate
fft_size=1048576 # FFT bins
fft_threads=2
brightness_offset=-2 #0 # Waterfall brightness offset. Reduce to negative if you see black regions in the waterfall
#frequency=4000000 # Baseband frequency
#frequency=5500000 # Baseband frequency
frequency=8000000 # Baseband frequency
signal="iq" # real or iq
accelerator="none" # Accelerator: none, cuda, opencl
audio_sps=12000 #44100 # Audio Sample Rate
smeter_offset=-10

[input.driver]
name="stdin" # Driver name
format="s16" # Sample format: u8, s8, u16, s16, u32, s32, f32, f64

[input.defaults]
frequency=3675000 # Default frequency to show user
modulation="LSB" # Default modulation

My markers.json is edited by hand, it is NOT compatible with eibi.json, repeaters.json, CB.json and thist editin is very boring and takes a long time.

Is there any script that would convert the records from eibi.json generated in Openwebrx into a record that is compatible with PhantomSDR+?

markers.json
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: Bas ON5HB on Sep 25, 2024, 05:03 PM
What SDRPLAY API do you use?

As the github if filled with problems between Soapy and the V3.xx API.
If you use it, you may try a lower 3.xx version.

Or try the 2.13 API with the 2.xx Soapy driver.

Or edit the Soapy RSP-driver code and set the notch to false...as it's enabled by default and thus blocking LW-MW.

{
       SoapySDR::ArgInfo BiasTArg;
       BiasTArg.key = "biasT_ctrl";
       BiasTArg.value = "true";
       BiasTArg.name = "BiasT Enable";
       BiasTArg.description = "BiasT Control";
       BiasTArg.type = SoapySDR::ArgInfo::BOOL;
       setArgs.push_back(BiasTArg);

       SoapySDR::ArgInfo RfNotchArg;
       RfNotchArg.key = "rfnotch_ctrl";
       RfNotchArg.value = "true";
       RfNotchArg.name = "RfNotch Enable";
       RfNotchArg.description = "RF Notch Filter Control";
       RfNotchArg.type = SoapySDR::ArgInfo::BOOL;
       setArgs.push_back(RfNotchArg);

       SoapySDR::ArgInfo DabNotchArg;
       DabNotchArg.key = "dabnotch_ctrl";
       DabNotchArg.value = "true";
       DabNotchArg.name = "DabNotch Enable";
       DabNotchArg.description = "DAB Notch Filter Control";
       DabNotchArg.type = SoapySDR::ArgInfo::BOOL;
       setArgs.push_back(DabNotchArg);
    }
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: 9a7aof on Sep 27, 2024, 12:56 PM
Hello,

I work with SDRplay_RSP_API-Linux-3.15.2, this API and SoapySDR driver work fine with RSP1 clone and RSP1A original.

I edited Settings.cpp        SoapySDR::ArgInfo RfNotchArg;
       RfNotchArg.key = "rfnotch_ctrl";
       RfNotchArg.value = "false";
       RfNotchArg.name = "RfNotch Enable";
       RfNotchArg.description = "RF Notch Filter Control";
       RfNotchArg.type = SoapySDR::ArgInfo::BOOL;
       setArgs.push_back(RfNotchArg);


compile, install,start and is further weakened.

RX88MK2 arrived, so I am no longer worried about the problem with Sdrplay and SoapySSR.
 
Thanks for your help.

Darko, 9a7aof
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: Bas ON5HB on Sep 27, 2024, 03:03 PM
Wrong antenna or impedance for LW/MW?

I notoiced this before with the RSP1A and used an RSP2 with Hi-Z and a 9:1 balun, then the signals where high.
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: 9a7aof on Sep 27, 2024, 06:41 PM
I have Dipole for 80m,

then profi antenna spliter.

Same antena is for OpenwebRX+ http://9a7aof.ddns.net:8074

and PhantomSDR+ http://9a7aof.ddns.net:8905


OpenwebRX+ have RSP1B and work fine for AM Broadcast, VDSL is very strong.

RSP1A and Soapysdr & Sdrplay driver, PhantomSDR+ ... Broadcasting station..nothing.

Miri driver and RSP1 clone work fine for AM Broadcast.

Thanks!

Darko, 9a7aof
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: Bas ON5HB on Sep 27, 2024, 06:57 PM
Beware, Soapy and SDRplay have 2 different API's.

The 3.0x can break Soapy and does support the RSP1B.

The 2.13 API works fine but doesn't support all/none functions of the RSP1B

It does support the RSP1A.

SDRplay made a mess of the API's....

As such Soapy has 2 SDRplay clients, depending on the API.

I stopped supporting SDRplay because of the 3.xx API that is a mess and buggy.
Title: Re: PhantomSDR+ with RSP1A or RSP1B
Post by: Bas ON5HB on Oct 07, 2024, 04:31 PM
My latest experiments....settings for the RSP1A UHF:

rx_sdr -f 435000000 -s 10000000 -d driver=sdrplay -g AGC=-20,IFGR=34,RFGR=1 -t rfnotch_ctrl=true,dabnotch_ctrlb=true -F CS16 - | ./build/spectrumserver --config config-rsp1a.toml

Using these RX_TOOLS fork, as it's better then the normal one:

https://github.com/askulysh/rx_tools.git

And this Soapy SDRplay driver:

https://github.com/pothosware/SoapySDRPlay2.git

I'm NOT using the 3.xx API or driver, as it's far to unstable for my taste.