If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Experiment Setup with .toml and .sh files and description of my shack.

Started by Emmanuel SV1BTL, Nov 23, 2024, 09:56 AM

Previous topic - Next topic

Emmanuel SV1BTL

Experiment Setup with .toml and .sh files and description of my shack.

My PhantomSDR folder is in root - PhantomSDR-Plus/
I've created two files in the root:
go.sh for starting the server and kill.server for stoping it.
Modificated config-rx888mk2.toml is located in PhantomSDR-Plus/


The "go.sh" file is this. You can call it typing $ ./go.sh in terminal:

####----####
#!/bin/bash
cd ~/PhantomSDR-Plus
killall -s 9 spectrumserver
sudo killall -s 9 rx888_stream
sleep 1

# Turn USB powersaving off
echo on | sudo tee /sys/bus/usb/devices/*/power/control > /dev/null
if test -e ~/PhantomSDR-Plus/rtl.fifo; then
echo fifo alredy exists
else
echo creating fifo...
mkfifo ~/PhantomSDR-Plus/rtl.fifo
fi
sleep 1

RUST_BACKTRACE=1

sudo ~/PhantomSDR-Plus/rx888_stream/target/release/rx888_stream -f ~/PhantomSDR-Plus/rx888_stream/SDDC_FX3.img -s 60000000 -g 127 -a 63 -m high --pga -r -d -o - > ~/PhantomSDR-Plus/rtl.fifo &
sleep 1
~/PhantomSDR-Plus/build/spectrumserver --config ~/PhantomSDR-Plus/config-rx888mk2.toml < ~/PhantomSDR-Plus/rtl.fifo &
# > /dev/null 2>&1 &

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



The "kill.server" is this. You can call it typing $ ./kill.server in terminal:

####----####
#!/bin/bash

killall -s 9 spectrumserver
killall -s 9 rx_sdr
sudo killall -s 9 rx888_stream
killall -s 9 rtl_sdr

# service sdrplay stop

sleep 2

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


The "config-rx888mk2.toml" is this (located in /PhantomSDR-Plus)

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

[websdr]
register_online=true # If the SDR should be registered on https://sdr-list.xyz then put it to true
name="SV1BTL - Athens, GR" # Name that is shown on https://sdr-list.xyz
antenna="EndFed 160-10m." # Antenna that is shown on https://sdr-list.xyz
grid_locator="KM17VX" # 4 or 6 length Grid Locatlr shown on https://sdr-list.xyz and for the Distance of FT8 Signals
hostname="sv1btlham.no-ip.org" # If you use ddns or something to host with a domain enter it here for https://sdr-list.xyzv

[limits]
audio=100
waterfall=100
events=100

[input]
sps=60000000 # Input Sample Rate
fft_size=8388608 # FFT bins
fft_threads=2
brightness_offset=-4
# Waterfall brightness offset. Reduce to negative if you see black regions in the waterfall
frequency=0 # Baseband frequency
signal="real" # real or iq
accelerator="opencl" # Accelerator: none, cuda, opencl
audio_sps=12000 # Audio Sample Rate
audio_compression="flac" # flac or opus
waterfall_size=1024
waterfall_compression="zstd" # zstd or av1
smeter_offset=10

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

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

The antenna is EFHW 38+7 meters long, with 64:1 balun and a loading coil 192uH for 160m band (at 38 meters). The Antenna is only 6 meters above the ground (due to limitations of greek gov.). A 60MHz low pass filter is also used.
With this setup there is not any cross modulation or overloads for now, during day and night.
The receiving system is located in Athens of 4M habitants and the noise of the city may appears, but it is not critical.
The antenna system is shared using a splitter/combiner with my Perseus, which is also on air using PerseusSDR server's sharing.

Powered by EzPortal