rzeldent / esp32-flightradar24-ttgo

Display real-time flights in an area using the ESP32 TTGO-Display module
44 stars 4 forks source link
airplanes airports aviation clock display-flights esp32 esp32-arduino esp32-ttgo flight-monitor lilygo-t-display-s3 platformio platformio-io real-time stand-alone ttgo ttgo-t-display

FlightRadar24-TTGO

Platform IO CI

Real-time flights display. No login or account required. Easy configuration through the web interface.

FlightRadar

Display flights in your area and display them on the screen of the ESP32 TTGO-Display or LilyGo-T-Display-S3 module. Under the hood it uses the API of FlightRadar24.com but only for flight updates. Internally there is a database with airport, aircraft and airline data with graphics to minimize the requests.

This application retrieves the current flights near a configured location and displays them sequentially on the display.

Example1 Example2

Example of layout on LilyGo-T-Display-S3 Example3

History

Oct 21 2023 Added configuration from LilyGo-T-Display-S3 with help from ulihuber
Oct 25 2022 Use LVGL for graphics
Oct 15 2022 Filtering for airborne/grounded/gliders/vehicles
Oct 14 2022 Added vertical speed
Oct 2 2022 Bootstrap for HTML overview
Jun 16 2022 Wifi manager for configuration
Jun 15 2022 Use time zones
Apr 27 2022 Import aircraft types
Dec 5 2021 Compressing of RGB565
Nov 21 2021 Import airlines from Wiki page
Nov 8 2021 New airline logos
Oct 31 2021 Added heading, altitude and speed
Oct 6 2021 Move images from SPIFF to code
May 25 2021 GUI update
Dec 26 2019 Initial version: The "birth" of the project

Features

The FlightRadar firmware offers the following features:

Usage

Download the repo, open it in PlatformIO and flash it to the ESP32-TTGO-Display. When installed make a WiFi connection to the device, initially called FlightRadar and configure the access point parameters. After configuration the device starts updating the flights in the configured area.

When pressing the top button, the device switches to clock mode: just showing the date and time. To return to the flights mode, press the top button again.

Installing and running PlatformIO

Take the following steps to install platformIo. There is a lot of information on their site!

Status overview

When connected to the FlightRadar, the main screen is shown; the overview. Here details about the device, network and settings are shown. Status page

Modifying the configuration

The configuration can be changed using a web browser. Connecting to the flight radar can be done in two ways:

Settings page

Configuration options:

Some tips:

Case / Enclosure

Please take a look at the STL file to create a case for the FlightRadar to host the TTGO-Display and a battery. Thanks to Erwin Reid for creating the models.

Files can be found at Thingverse.

Erwin Reid case

Another option is from LilyGo (AliExpress). With a little modification, the "LILYGO® T-Display Shell ABS Accessories For T-Display T-PicoC3 T-Display RP2040" can be adapted by removing the stands in the case.

These can be ordered at https://www.aliexpress.com/item/1005004507656890.html

LiliGo Case

Suggestions

Suggestions especially to faulty or missing logo's, airlines etc are welcome. Please make a Pull request and, after verification, this will be added to the main version.

Credits

Thanks to FlightRadar24.com to be able to hook into their API.