How to Build an Airplane Tracker with Raspberry Pi

Raspberry Pi Airplane Tracker
(Image credit: Tom's Hardware)

Chances are that there are planes flying over your house right now. Using a Raspberry Pi, a device known as an ADS-B receiver, and a standard projector, we can create our very own “radar” that shows the real time location of these aircraft and, if we have a projector, we can project it on the ceiling. Otherwise, we can track it on a regular screen. 

About ADS-B Technology 

Ryder Damen
Freelance Writer

Ryder Damer is a Freelance Writer for Tom's Hardware US covering Raspberry Pi projects and tutorials.

  • Suncoast Cyclist
    Amazing!

    I live very close to a fairly large airport and was able to see several planes landing and taking off in addition to the ones just going overhead.

    It was even more fun to enter the flight number into a flight tracker program and see the origin and destination info.

    Even my wife thought it was interesting.
    Reply
  • Benni00x
    Admin said:
    Project a map of current aircraft onto your ceiling.

    How to Build an Airplane Tracker with Raspberry Pi : Read more
    Hello guys,
    if I type in bash entrypoint.sh, a window starts to open for a second. Then I get a message like "FileNotFoundError: No such file or directory : '/home/pi/raspberry_pi_flight_tracker/src/../data'
    Reply
  • Suncoast Cyclist
    Benni00x said:
    Hello guys,
    if I type in bash entrypoint.sh, a window starts to open for a second. Then I get a message like "FileNotFoundError: No such file or directory : '/home/pi/raspberry_pi_flight_tracker/src/../data'

    The same thing happened to me the first time I tried it so I just manually created the missing 'data' directory and now everything works.
    Reply
  • Benni00x
    Suncoast Cyclist said:
    The same thing happened to me the first time I tried it so I just manually created the missing 'data' directory and now everything works.
    Ok, thank you. I will try it tomorrow.
    Reply
  • NightTripper
    Where did you place the folder and with what permissions?
    Reply
  • Suncoast Cyclist
    NightTripper said:
    Where did you place the folder and with what permissions?
    The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

    Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.
    Reply
  • OrbisGoose
    Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

    Can you point me in the correct location(s)?
    Reply
  • zer0cool300
    Suncoast Cyclist said:
    The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

    Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.

    Im also getting a similar message when I try to run the program. Here is the dump from it. Any help is appreciated. Im a total newb to anything non widows based


    pi@raspberrypi:~/raspberry_pi_flight_tracker $ bash entrypoint.sh
    Starting Server...
    Starting Map...
    pygame 2.0.1 (SDL 2.0.9, Python 3.7.3)
    Hello from the pygame community. https://www.pygame.org/contribute.htmlTraceback (most recent call last):
    File "src/app.py", line 10, in <module>
    main()
    File "src/app.py", line 6, in main
    renderer.run_screen()
    File "/home/pi/raspberry_pi_flight_tracker/src/renderer.py", line 43, in run_screen
    for aircraft_json in decoder.get_aircraft():
    File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 23, in get_aircraft
    clean_up_directory()
    File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 16, in clean_up_directory
    for file_name in os.listdir(get_data_directory_path()):
    FileNotFoundError: No such file or directory: '/home/pi/raspberry_pi_flight_tracker/src/../data'
    Reply
  • OrbisGoose
    OrbisGoose said:
    Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

    Can you point me in the correct location(s)?
    Had to update to Buster and the located all the files. However also needed to update PyGames manually to get the graphics to work properly.
    Reply
  • equati0n
    Even after creating the data directory, the file aircraft.json cannot be found. Cool project, but this tutorial is not working after following the directions.
    Reply