ADSBAvecRPI

De Wiki LOGre
Aller à : navigation, rechercher


Résumé

Il est possible, a l'aide d'une raspberry PI et une cle USB "SDR" (Software Defined Radio) de type decodeur de television TNT a bas cout, de decoder les signaux radio emis par les avions de ligne qui nous survolent.

(a completer..)

hard

  • Raspberry Pi model B
  • Terratec E4000+2832U USB DVB-T TV Receiver Stick

(http://dx.com/p/e4000-2832u-usb-dvb-t-tv-receiver-stick-white-black-172105)

softs

  • librtlsdr, libusb

(http://sdr.osmocom.org/trac/wiki/rtl-sdr#rtlsdrlibrarycapturetool)

(http://forum.flightradar24.com/threads/4270-Linux-feeder-software-for-Flightradar24)

compilation

apt-get install libusb-1.0-0-dev dh-autoreconf

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
autoreconf -i
./configure
make
sudo make install
sudo ldconfig
#The built executables (rtl_sdr, rtl_tcp and rtl_test) can be found in rtl-sdr/src/.
#In order to be able to use the dongle as a non-root user, you may install the appropriate udev rules file by calling
sudo make install-udev-rules

git clone git://github.com/antirez/dump1090.git
cd dump1090
make

configuration

  • Lancer dump1090 :
./dump1090 --gain -10 --enable-agc --net --interactive
ou
nohup ./dump1090 --gain -10 --enable-agc --net >/dev/null 2>&1 &
  • Lancer flightradar24 feeder
./fr24feed_arm-le_225s --fr24key=xxxxxxxxxxx --bs-port=30003
ou 
nohup ./fr24feed_arm-le_225s --fr24key=xxxxxxxxxxx --bs-port=30003 >/dev/null 2>&1 &
# add params --bs-ip=xxx.xxx.xxx.xxx --bs-port=NNNNN