Monday, May 1, 2017

Gqrx SDR for the Raspberry Pi 3


Hardware : Raspberry Pi 3, RTL SDR Dongle, 7 inci HDMI LCD Touch Screen

Langkah Pertama : 
pi@raspberrypi ~ $ sudo apt-get update
pi@raspberrypi ~ $ sudo apt-get upgrade
pi@raspberrypi ~ $ cat <no-rtl.conf
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830
EOF
pi@raspberrypi ~ $ sudo mv no-rtl.conf /etc/modprobe.d/

pi@raspberrypi ~ $ sudo apt-get install git-core
pi@raspberrypi ~ $ sudo apt-get install git
pi@raspberrypi ~ $ sudo apt-get install cmake
pi@raspberrypi ~ $ sudo apt-get install libusb-1.0-0-dev
pi@raspberrypi ~ $ sudo apt-get install build-essential

pi@raspberrypi ~ $ git clone git://git.osmocom.org/rtl-sdr.git
pi@raspberrypi ~ $ cd rtl-sdr/
pi@raspberrypi ~/rtl-sdr $ mkdir build
pi@raspberrypi ~/rtl-sdr $ cd build
pi@raspberrypi ~/rtl-sdr/build $ cmake ../ -DINSTALL_UDEV_RULES=ON
pi@raspberrypi ~/rtl-sdr/build $ make
pi@raspberrypi ~/rtl-sdr/build $ sudo make install
pi@raspberrypi ~/rtl-sdr/build $ sudo ldconfig
pi@raspberrypi ~/rtl-sdr/build $ cd ~
pi@raspberrypi ~ $ sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
pi@raspberrypi ~ $ sudo reboot

pi@raspberrypi ~ $ rtl_test
Found 1 device(s):
  0:  Generic, RTL2832U, SN: 77771111153705700

Using device 0: Generic RTL2832U
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
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...
Langkah kedua,
$ sudo apt-get update
$ sudo apt-get upgrade
   (reboot if necessary)
$ sudo apt-get install libqt5gui5 libqt5core5a libqt5network5
$ sudo apt-get install libqt5widgets5 libqt5svg5 libportaudio2
$ wget https://github.com/csete/gqrx/releases/download/v2.6/gqrx-2.6-rpi3-2.tar.xz
$ tar xvf gqrx-2.6-rpi3-2.tar.xz
$ cd gqrx-2.6-rpi3-2
$ ./setup_gqrx.sh
Siap... untuk run gqrx, sila ke /home/pi/gqrx-2.6-rpi3-2
dan right klik pada file run_gqrx.sh. Selepas itu, dalam kotak 
command line to execute: taip /home/pi/gqrx-2.6-rpi3-2/run_gqrx.sh
tick juga Excute in terminal emulator. Selepas itu klik OK. Dan siaplah.
video dibawah ini adalah hasilnya, jika ada sebarang masalah, boleh komen pada 
ruangan komen dibawah.

sumber rujukan : http://gqrx.dk/download/gqrx-sdr-for-the-raspberry-pi

No comments:

9m2mdx Great Dxer From Alor Gajah, Melaka

9m2mdx Nazmi adalah satu lagi tanda panggilan yang tidak asing lagi dalam dunia radio amatur. Khususnya dalam aktiviti radio contest. ...