Pertama sekali install dongle anda.
git clone https://github.com/osmocom/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON ../
sudo make install
sudo ldconfig
kemudian....
sudo nano /etc/modprobe.d/rtlsdr-blacklist.conf
tambah list ini,
didalam file station.cfg - sila masukkan 3 perkara penting dalam section berikut.blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
blacklist dvb_usb_rtl2832u
blacklist dvb_usb_v2
blacklist dvb_corekemudian periksa samada dongle anda sukses atau tidak install
$ rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000002
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
kemudian install radiosonde auto rx anda melalui Docker.
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh
sudo usermod -aG docker $(whoami)
echo 'blacklist dvb_usb_rtl28xxu' | sudo tee /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf sudo modprobe -r dvb_usb_rtl28xxu
mkdir -p ~/radiosonde_auto_rx/log curl -o ~/radiosonde_auto_rx/station.cfg https://raw.githubusercontent.com/projecthorus/radiosonde_auto_rx/master/auto_rx/station.cfg.example
kemudian edit file station.cfg,nano ~/radiosonde_auto_rx/station.cfg
# - [habitat] -> uploader_callsign - Your station callsign!
# - [location] -> station_lat, station_lon, station_alt - Your station location!
# - [search_params] -> min_freq, max_freq - Set these suitable for your location!
(saya masukkan max freq 406)
perkara-perkara lain tu optional, terpulang kepada anda untuk aktifkan atau tidak.
kemudian save dan exit.
kemudian, mari kita run container ini.
docker run \
-d \
--name radiosonde_auto_rx \
--restart="always" \
--device=/dev/bus/usb \
--network=host \
-v ~/radiosonde_auto_rx/station.cfg:/opt/auto_rx/station.cfg:ro \
-v ~/radiosonde_auto_rx/log/:/opt/auto_rx/log/ \
ghcr.io/projecthorus/radiosonde_auto_rx:latest
ianya akan jadi auto run, dimana radiosonde auto rx ini akan sentiasa run di background dan auto run semasa kita on raspi, untuk melihatnya, pada terminal,
docker logs --tail 50 --follow radiosonde_auto_rx
pada browser anda dengan taip, http://localhost:5000 cara yang kedua adalah
dengan melihat pada website sondehub.org
sumber : https://github.com/projecthorus/radiosonde_auto_rx/wiki