WSPR: pakai raspberrypi dan RTL2832U

From OnnoWiki
Jump to navigation Jump to search

sumber: http://wsprnet.org/drupal/node/6215

Langkah yang perlu di lakukan

  • Raspberri pi dengan Rasbian
  • RTL-SDR Dongles (RTL2832U)

Install aplikasi

sudo su
sudo apt -y install build-essential cmake libfftw3-dev libusb-1.0-0-dev curl libcurl4-gnutls-dev ntp ntpdate git

Install librtlsdr

Sumber: https://github.com/steve-m/librtls

cd /usr/local/src
git clone https://github.com/steve-m/librtlsdr
cd /usr/local/src/librtlsdr
mkdir build
cd build
cmake -DDETACH_KERNEL_DRIVER=ON  ../
make
sudo make install
sudo ldconfig

Install rtlsdr-wsprd

Sumber: https://github.com/Guenael/rtlsdr-wsprd

cd /usr/local/src
git clone https://github.com/Guenael/rtlsdr-wsprd
cd /usr/local/src/rtlsdr-wsprd
make

Setup ntp

crontab -e
*/15 * * * * /usr/sbin/ntpdate id.pool.ntp.org

Run

cd /usr/local/src/rtlsdr-wsprd/
./rtlsdr_wsprd
Use:	rtlsdr_wsprd -f frequency -c callsign -l locator [options]
	-f dial frequency [(,k,M) Hz], check http://wsprnet.org/ for freq.
	-c your callsign (12 chars max)
	-l your locator grid (6 chars max)
Receiver extra options:
	-g gain [0-49] (default: 29)
	-a auto gain (default: off)
	-o frequency offset (default: 0)
	-p crystal correction factor (ppm) (default: 0)
	-u upconverter (default: 0, example: 125M)
	-d direct dampling [0,1,2] (default: 0, 1 for I input, 2 for Q input)
	-n max iterations (default: 0 = infinite loop)
	-i device index (in case of multiple receivers, default: 0)
Decoder extra options:
	-H use the hash table (could caught signal 11 on RPi)
	-Q quick mode, doesn't dig deep for weak signals
	-S single pass mode, no subtraction (same as original wsprd)
Example:
	rtlsdr_wsprd -f 144.489M -c A1XYZ -l AB12cd -g 29 -o -4200


Contoh

cd /usr/local/src/rtlsdr-wsprd
./rtlsdr_wsprd -f 50.293M -c VE2VAX -l FN35JO -a 1 -p 45
./rtlsdr_wsprd -f 3.5926M -c YC0MLC -l OI33KT -d 2 -a 0
./rtlsdr_wsprd -f 7.0386M -c YC0MLC -l OI33KT -d 2 -a 0
./rtlsdr_wsprd -f 10.1387M -c YC0MLC -l OI33KT -d 2 -a 0
./rtlsdr_wsprd -f 14.0956M -c YC0MLC -l OI33KT -d 2 -a 0
./rtlsdr_wsprd -f 18.1046M -c YC0MLC -l OI33KT -d 2 -a 0
./rtlsdr_wsprd -f 21.0946M -c YC0MLC -l OI33KT -d 2 -a 0

Contoh Run

cd /usr/local/src/rtlsdr-wsprd
./rtlsdr_wsprd -f 7.0386M -c YC0MLC -l OI33KT  -d 2 -a 0
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Enabled direct sampling mode, input 2

Starting rtlsdr-wsprd (2018-01-14, 09:43z) -- Version 0.2
  Callsign     : YC0MLC
  Locator      : OI33KT
  Dial freq.   : 7038599 Hz
  Real freq.   : 7038599 Hz
  PPM factor   : 0
  Gain         : 2 dB
Wait for time sync (start in 16 sec)

No spot
No spot

Freq WSPR

   0.136
   0.4742
   1.8366
   3.5926
   5.2872
   7.0386
  10.1387
  14.0956
  18.1046
  21.0946
  24.9246
  28.1246
  50.293
  70.091
 144.489
 432.300
1296.500

Beberapa Masalah

  • Gunakan ferrite bead kurangi interference
  • Matikan layar kurangi QRN
  • Buang model yang tidak digunakan
/opt/vc/bin/tvservice -o - Remove unused modules
Edit /etc/modules: #snd-bcm2835) 
  • Problem USB Port

Rasberian to use with a Raspberry PI I noticed some disconnection problems with USB port while using Raspbian Jessie (2016-05-27-raspbian-jessie-lite.img). I rollbacked to Raspbian Wheezy (2015-02-16-raspbian-wheezy.img) and the problems solved by themself magically... For now, I have not investigated this issue, but if you experience some "Caught signal 11" error message, it could be this same problem. For now, I would recommend Raspbian Wheezy v2015-02-16.

Referensi

Referensi