Difference between revisions of "SDR: gqrx Ubuntu 12.04"

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
  sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
 
  sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
 
  libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
 
  libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
  libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6 git
+
  libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6 git qtcreator \
 +
libpulse-dev
  
 
==Install GNURadio==
 
==Install GNURadio==
Line 18: Line 19:
 
  cd /usr/local/src/SDR
 
  cd /usr/local/src/SDR
 
  git clone git://gnuradio.org/gnuradio
 
  git clone git://gnuradio.org/gnuradio
cd /usr/local/src/SDR/gnuradio
 
  
 
Compile
 
Compile
  
 +
cd /usr/local/src/SDR/gnuradio
 
  mkdir build
 
  mkdir build
 
  cd build
 
  cd build
Line 38: Line 39:
 
Masuk ke directory rtl-sdr & lakukan
 
Masuk ke directory rtl-sdr & lakukan
  
  cd rtl-sdr/
+
  cd /usr/local/src/SDR/rtl-sdr/
 
  mkdir build
 
  mkdir build
 
  cd build
 
  cd build
Line 49: Line 50:
 
Aturan udev yang penting agar USB dongle terdetek dengan baik perlu di copy menggunakan perintah berikut
 
Aturan udev yang penting agar USB dongle terdetek dengan baik perlu di copy menggunakan perintah berikut
  
 +
cd /usr/local/src/SDR/rtl-sdr/
 
  sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
 
  sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
 +
/etc/init.d/udev restart
  
 
Kita dapat meng-unplug & replug USB dongle.
 
Kita dapat meng-unplug & replug USB dongle.
 +
Cek menggunakan perintah
 +
 +
lsusb
 +
 +
Keluar
 +
 +
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
 +
Bus 006 Device 002: ID 1bcf:0005 Sunplus Innovation Technology Inc.
 +
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp.
  
 
==Install gr_osmoSDR==
 
==Install gr_osmoSDR==
Line 62: Line 74:
 
Lakukan
 
Lakukan
  
  cd gr-osmosdr/
+
  cd /usr/local/src/SDR/gr-osmosdr/
 
  mkdir build
 
  mkdir build
 
  cd build/
 
  cd build/
Line 80: Line 92:
 
Lakukan
 
Lakukan
  
  cd gqrx
+
  cd /usr/local/src/SDR/gqrx
 
  qtcreator ./gqrx.pro
 
  qtcreator ./gqrx.pro
  
Line 86: Line 98:
 
Setelah selesai, masukan SDR dan masuk ke directory build dan jalankan gqrx
 
Setelah selesai, masukan SDR dan masuk ke directory build dan jalankan gqrx
  
  cd ../gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
+
  cd /usr/local/src/SDR/gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
 
  ./gqrx
 
  ./gqrx
  
gqrx akan jalan
+
gqrx akan jalan. Tampilannya seperti di bawah ini.
 +
 
 +
[[Image:Tampilan-gqrx-lores2.png|center|400px|thumb|Gqrx sedang monitor pembicaraan di 145.54MHz]]
 +
 
 +
 
 +
 
 +
 
 +
 
  
  

Latest revision as of 11:09, 22 October 2012

Persiapan

Buat directory

mkdir /usr/local/src/SDR
cd /usr/local/src/SDR

Instalasi paket pendukung

sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6 git qtcreator \
libpulse-dev

Install GNURadio

Lakukan

cd /usr/local/src/SDR
git clone git://gnuradio.org/gnuradio

Compile

cd /usr/local/src/SDR/gnuradio
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Install rtl_sdr

Lakukan

cd /usr/local/src/SDR
git clone git://git.osmocom.org/rtl-sdr.git

Masuk ke directory rtl-sdr & lakukan

cd /usr/local/src/SDR/rtl-sdr/
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Aturan udev yang penting agar USB dongle terdetek dengan baik perlu di copy menggunakan perintah berikut

cd /usr/local/src/SDR/rtl-sdr/
sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
/etc/init.d/udev restart

Kita dapat meng-unplug & replug USB dongle. Cek menggunakan perintah

lsusb

Keluar

Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 006 Device 002: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp.

Install gr_osmoSDR

Masuk ke directory

cd /usr/local/src/SDR
git clone git://git.osmocom.org/gr-osmosdr

Lakukan

cd /usr/local/src/SDR/gr-osmosdr/
mkdir build
cd build/
cmake ../ -Wno-dev
make
sudo make install
sudo ldconfig

Install gqrx

Masuk ke directory

cd /usr/local/src/SDR
git clone https://github.com/csete/gqrx.git

Lakukan

cd /usr/local/src/SDR/gqrx
qtcreator ./gqrx.pro

Untuk membuat paket klik Build->Build All. Setelah selesai, masukan SDR dan masuk ke directory build dan jalankan gqrx

cd /usr/local/src/SDR/gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
./gqrx

gqrx akan jalan. Tampilannya seperti di bawah ini.

Gqrx sedang monitor pembicaraan di 145.54MHz




Referensi

Pranala Menarik