Cov txheej txheem:

FlightRadar ntawm Raspberry Pi: 5 Kauj Ruam
FlightRadar ntawm Raspberry Pi: 5 Kauj Ruam

Video: FlightRadar ntawm Raspberry Pi: 5 Kauj Ruam

Video: FlightRadar ntawm Raspberry Pi: 5 Kauj Ruam
Video: Complete FlightRadar24 Build on Raspberry Pi and SDR Dongles. ADS-B AIRCRAFT RADAR System Part 1 2024, Kaum ib hlis
Anonim
FlightRadar ntawm Raspberry Pi
FlightRadar ntawm Raspberry Pi

Taug qab cov davhlau ze nrog koj tus kheej Raspberry Pi thiab lub vev xaib zoo txaus

Kauj Ruam 1: Cov Khoom Siv

Rau koj tus kheej lub dav hlau taug qab koj xav tau cov cuab yeej hauv qab no:

  • Raspberry Pi
  • Micro SD Card nrog Raspbian
  • Ethernet Cable lossis WiFi Dongle (Pi 3 muaj WiFi inbuilt)
  • Hwj chim Adapter
  • Mini DVB-T Digital TV USB Dongle

Pom zoo:

  • Raspberry Pi Cov
  • Raspberry Pi Heatsink

Kauj Ruam 2: Kev tsim kho

Kev tsim kho
Kev tsim kho
  1. Txuas DVB-T Dongle rau koj Raspberry Pi ntawm USB
  2. Txuas tus kav hlau txais xov rau DVB-T Dongle
  3. Teeb tsa Raspberry Pi Yuav ua li cas teeb tsa Raspberry Pi?

Kauj Ruam 3: Nruab Tus Tsav Tsheb rau DVB-T Dongle

  1. Nruab txhua qhov xav tau packagessudo apt-tau nruab git tsim-qhov tseem ceeb cmake libusb-1.0-0-dev screen
  2. Clone cov hauv qab no git repositorygit clone git: //git.osmocom.org/rtl-sdr.git
  3. Tsim daim nplaub tshev tshiab hauv 'rtl-sdr'cd ~/rtl-sdr

    mkdir ua

  4. Ua 'cmake' hauv 'rtl -sdr/ build'cd buildcmake../ -DINSTALL_UDEV_RULES = ON
  5. Sau cov tsav tsheb ua installsudo ldconfig
  6. Rov qab mus rau koj lub tsev directorycd ~
  7. Luam cov cai rau tus tsav tsheb kom zam 'tsis pom lub cuab yeej' errorssudo cp./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
  8. Tsim cov ntaub ntawv teeb tsa los thaiv TV-Signalscd /etc/modprobe.d/sudo nano rtlsdr.conf
  9. Muab cov kab hauv qab no tso rau qhov kawg ntawm daim ntawv teev npe blacklist dvb_usb_rtl28xxu
  10. Reboot Raspberry Pisudo reboot
  11. Txheeb xyuas qhov ua tau zoo ntawm Donglertl_test -tExample Response: Pom 1 lub cuab yeej: 0: Realtek, RTL2838UHIDIR, SN: 00000001

    Siv cov cuab yeej 0: Cov RTL2832U OEM Pom Rafael Micro R820T tuner Txhawb nqa qhov txiaj ntsig (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 [R82XX] PLL tsis raug kaw! Sampling ntawm 2048000 S/s. Tsis pom E4000 tuner pom, rho menyuam tawm

Kauj Ruam 4: Nruab FlightRadar Software

  1. Clone cov hauv qab no git repositorygit clone
  2. Sau cov filesmake
  3. Tsim Google Maps Javascript API Key thiab muab nws tso rau hauv 'dump1090-flightradar/public_html/gmap.html' ntawm kab 161 hloov 'YOUR_API_KEY_HERE' Yuav tsim Google Maps Javascript API Key li cas?

Kauj Ruam 5: Pib App thiab Saib Dav Hlau

Pib App thiab Saib Dav Hlau
Pib App thiab Saib Dav Hlau

Pib FlightRadar nrog cov lus txib hauv qab no:

./dump1090-kev sib tham -aggressive --enable-agc-net

FlightRadar tam sim no muaj los ntawm IP chaw nyob ntawm Raspberry Pi thiab chaw nres nkoj 8080

xws li

Feem ntau:

https:// [IP_OF_THE_RASPBERRY_PI]: 8080

Yog tias koj xav kom pab tau cov ntaub ntawv ntxiv (piv txwv li qauv dav hlau, dav hlau, tshav dav hlau tawm mus, …) ua tibzoo saib ntawm no.

Qhov ntawd yog nws! Muaj kev lom zem nrog koj tus kheej Dav Hlau Radar

Yog tias koj muaj lus nug tsis txhob yig tau hu rau kuv.

Pom zoo: