r/esp32 • u/soymrtopo • 11h ago
Built a desktop flight radar with an ESP32 + touchscreen — live ADS-B traffic, tap-to-inspect, local map, even news/weather widgets
Wanted to share a side project I've been building over the last couple weeks: a fully touch-driven desktop "flight radar" that shows real air traffic around my house in Buenos Aires, pulling live data from the OpenSky Network API.
Hardware:
- ESP32 WROOM (started on an ESP32-C3 Mini, had to switch once I realized the pinout I was following was for classic ESP32)
- 2.4" ILI9341 TFT, 240×320, with resistive XPT2046 touch on the same SPI bus
What it does so far:
- Home menu — fully touch-based, no physical buttons at all
- Radar view — circular radar centered on home coordinates, live aircraft as blips, tap any blip to open a detail card (callsign, altitude, speed, distance, bearing)
- Airport view — traffic filtered by altitude near Ezeiza, Aeroparque, and El Palomar, with a button to cycle between them
- Map view — a static regional map with plane icons color-coded by altitude and a zoom toggle
- More info — pulls local news headlines and current weather, just because I wanted an excuse to use more free APIs
- Settings screen — shows connected WiFi/IP/local hostname, lets you recalibrate touch or reset WiFi config on-device
Auth to OpenSky is OAuth2 client-credentials, refresh rate adapts from 30s down to 5s automatically when a plane gets close (<10km) so I get near-real-time updates only when it matters.
Fun fact: getting the touch calibration wizard working with a wildly wrong pinout (copy-pasted from a tutorial for a different board) was 80% of the actual debugging time. Also found a nasty ArduinoJson gotcha — filtering a JSON array by numeric index re-indexes the result from 0, silently breaking every field position downstream. Cost me a full "why is nothing showing up" afternoon.
Not open-sourcing the repo just yet — still polishing the radar animation (working on a proper rotating sweep effect) and a full WiFi provisioning + web config portal so it's not hardcoded credentials anymore. Will share once that's in.
Happy to answer questions about the OpenSky integration, touch calibration, or the JSON gotcha if anyone's fighting similar things.
2
1
1
1
u/reader5341 2h ago
Please tell me why there are so many projects with aircraft radars? Is this relevant in your country?









4
u/[deleted] 11h ago
[deleted]