Difference between revisions of "WSPR: pakai raspberrypi dan RTL2832U"
Onnowpurbo (talk | contribs) (Created page with "sumber: http://wsprnet.org/drupal/node/6215 1- Raspberri pi with Rasbian 2- A simple RTL-SDR Dongles (RTL2832U) sudo apt-get install build-essential cmake libfftw3-dev lib...") |
Onnowpurbo (talk | contribs) |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
sumber: http://wsprnet.org/drupal/node/6215 | sumber: http://wsprnet.org/drupal/node/6215 | ||
+ | ==Langkah yang perlu di lakukan== | ||
+ | * Raspberri pi dengan Rasbian | ||
+ | * RTL-SDR Dongles (RTL2832U) | ||
− | + | ==Install aplikasi== | |
− | |||
− | sudo apt- | + | 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== | ||
+ | |||
+ | Band Dial freq (MHz) Tx freq (MHz) | ||
+ | 160m 1.836600 1.838000 - 1.838200 | ||
+ | 80m 3.592600 3.594000 - 3.594200 | ||
+ | 60m 5.287200 5.288600 - 5.288800 | ||
+ | 40m 7.038600 7.040000 - 7.040200 | ||
+ | 30m 10.138700 10.140100 - 10.140300 | ||
+ | 20m 14.095600 14.097000 - 14.097200 | ||
+ | 17m 18.104600 18.106000 - 18.106200 | ||
+ | 15m 21.094600 21.096000 - 21.096200 | ||
+ | 12m 24.924600 24.926000 - 24.926200 | ||
+ | 10m 28.124600 28.126000 - 28.126200 | ||
+ | 6m 50.293000 50.294400 - 50.294600 | ||
+ | 2m 144.488500 144.489900 - 144.490100 | ||
+ | |||
+ | Channel bandwidth used is 6 Hz and the transmission time is 110.6 sec. The length of a single tone is 0,6827 s and maximum allowed drift is about 1 Hz. | ||
+ | |||
+ | ==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 | 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. | + | 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== | ||
+ | * http://osmocom.org/projects/sdr/wiki/rtl-sdr | ||
==Referensi== | ==Referensi== | ||
* http://wsprnet.org/drupal/node/6215 | * http://wsprnet.org/drupal/node/6215 |
Latest revision as of 04:56, 15 January 2018
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
Band Dial freq (MHz) Tx freq (MHz) 160m 1.836600 1.838000 - 1.838200 80m 3.592600 3.594000 - 3.594200 60m 5.287200 5.288600 - 5.288800 40m 7.038600 7.040000 - 7.040200 30m 10.138700 10.140100 - 10.140300 20m 14.095600 14.097000 - 14.097200 17m 18.104600 18.106000 - 18.106200 15m 21.094600 21.096000 - 21.096200 12m 24.924600 24.926000 - 24.926200 10m 28.124600 28.126000 - 28.126200 6m 50.293000 50.294400 - 50.294600 2m 144.488500 144.489900 - 144.490100
Channel bandwidth used is 6 Hz and the transmission time is 110.6 sec. The length of a single tone is 0,6827 s and maximum allowed drift is about 1 Hz.
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.