Real-Time Air Traffic Radar using ESP32 + ADS-B Data
It uses free API key with Live ADS-B data, presented in a beautiful visual display with smooth animation, and a custom-built radar interface.

These signals contain the following information:
- Callsign
- Altitude
- Speed
- Aircraft type (A320, B738, etc.)
- and Position (latitude & longitude)
Each aircraft appears on the radar only when the rotating sweep line passes over it, creating an authentic radar effect. The detected aircraft are also listed on the right panel, sorted by distance.
A huge advantage in making this project is the fact that it uses the ESP32-S3 CrowPanel 7" HMI Display, which means that there is no need for any soldering and making a corresponding box. It consists of a 7 inch LCD display with capacitive Touch, ESP32S3 microcontroller that controls the display, USB, Speaker and Battery interfaces, GPIO, I2C and UART ports, as well as a Micro SD card slot. Specifically in this project I use only the Wi-Fi option, but otherwise through the rich selection of I/O interfaces we can use it for many other more complex projects.

- USB CDC On Boot: Enabled
- Flash Mode: QIO 80MHz
- Flash Size: 4mb
- Partition Scheme: HUGE APP
- and PSRAM: OPI PSRAM
As for the code, we first need to enter the Wi-Fi credentials and the coordinates of the home position (latitude and longitude). We can also change a few parameters, such as colors and shades, then sweep speed, maximum number of detected aircraft, and more.

Centrally we have Smooth rotating radar sweep with fade effect. Each aircraft appears on the radar only when the rotating sweep line passes over it, creating an authentic radar effect. The detected aircraft are also listed on the right panel, sorted by distance.
>= 30000 ft Blue color
>= 10000 ft Green
>= 0 ft Yellow
Unknown Altitude Red Color
It can be noted that in the northwestern region, at a distance of about 100 km from the home position, we often have aircraft at very low altitudes. The reason for this is that the nearest airport (Tirana) is located exactly in that place, where planes often take off and land. The status is updated every 360 degrees, which is approximately 15 seconds, but this time can be shortened to 1 second. The update moment is indicated in the upper left corner.

- callsign,
- distance from home position,
- moving speed,
- flying altitude,
- as well as the aircraft type.
On the far right is a circle with the appropriate color depending on the altitude.
And finally a short conclusion. This project demonstrates how an ESP32 and real-time ADS-B data can be combined to create a smooth and realistic air traffic radar display. It’s a great example of blending embedded systems, aviation technology, and custom graphical interfaces into a fully interactive real-time project.

Discussie (0 opmerking(en))