ESP32-Plane-Radar, part 2: flashing the firmware and the six pitfalls
The first part of this write-up assembled the hardware: one ESP32-C3 Super Mini, one 1.28-inch GC9A01 round screen and seven wires. This second part explains how to bring the board to life and, more usefully, why following the tutorial exactly can still leave you stuck.
The firmware is the MatixYo/ESP32-Plane-Radar project, published under the MIT licence and built with PlatformIO.
First, connect it to Wi-Fi
On first boot with no Wi-Fi saved, the device opens its own access point named PlaneRadar-Setup. A phone joins it, opens the configuration page in a browser, and enters the router credentials, the latitude and longitude, and whether distances are shown in kilometres or miles. After that, the same page is reachable on the device's LAN IP, so coordinates, units and runway overlay can be changed any time without reflashing.
One detail: the mDNS name plane-radar.local only appears if the build adds -DWM_MDNS. Without it, use 192.168.4.1 or read the IP from the router. Coordinates must be correct; if they are wrong the device will not error, it will simply draw a pretty but empty map.
Six steps to flash
- Install PlatformIO in VS Code.
- Clone the repository; include/config.h holds the default coordinates, though they can also be set at configuration time.
- Build with the supermini environment: pio run -e supermini. Three libraries pull in automatically: LovyanGFX, WiFiManager and ArduinoJson.
- Merge the firmware by running scripts/merge-firmware.sh, which produces release/plane-radar-merged.bin.
- Enter download mode: hold BOOT, tap RESET, then release BOOT.
- Flash with esptool-js in Chrome or Edge, address 0x0, selecting the merged binary.
Why 0x0 specifically: the merged image already carries the bootloader, partition table and application, so one write from 0x0 covers everything. Flashing the pieces separately means remembering three offsets, and one wrong offset means a board that will not boot. The author also posts a prebuilt merged binary in Releases for those who skip the build.
The serial monitor runs at 115200. Enable USB CDC on boot at compile time, or the monitor stays blank and the board looks dead.
Six pitfalls worth naming up front
- Enclosure tolerance. The popular original enclosure later failed: a new batch of boards did not line up with the screw holes. Measure your own board before ordering printed parts.
- Public endpoints make no promises. adsb.fi is a free public service with no stated call limit, but it is a finite resource that can throttle, change fields or add restrictions. A desktop ornament is fine; do not expect it to run 7x24 for a year.
- Offline means a black screen. The design does not cache data locally; everything is pulled live. If the router dies, the screen shows only the configuration prompt.
- mDNS is a compile-time switch. Want plane-radar.local? Add -DWM_MDNS. Without knowing this, you stare at a domain that will not open.
- You must flash from 0x0. Stated above, but it is the single easiest step to fail, so it gets its own line.
- Changing the data source means changing code. The main build uses adsb.fi; a community version uses OpenSky's /states/all, whose field names and range parameters differ, so you cannot just swap a URL.
A different community build
The same screen has a completely separate implementation: AnthonySturdy/micro-radar, also ESP32-C3 plus GC9A01, but fed from OpenSky's /states/all using four bounding-box parameters. It remaps the pins and, importantly, adds interpolation. Data that updates every five seconds drawn directly makes aircraft jump across the screen; this version draws with a double-buffer Sprite, applies dead reckoning from ground speed and track angle, then eases the motion so aircraft glide instead of snap.
The real-radar alternative
While writing this, the author noted a late-October Hackaday project, Meshnology W12, that takes a different path entirely: an ESP32-S3 with a Semtech LR2021 LoRa transceiver tuned to 1090 MHz, soft-decoding OOK/Manchester, with the S3 checking CRC and a GNSS module handling timing and position. In ideal conditions a 915 MHz antenna receives signals from up to 150 nautical miles away. The cost is real: the filter configuration changes, the antenna must be built, and the board is essentially unobtainable in China. So this route is written as principle only, with no price given.
One sentence contrast: W12 listens for itself; this project asks others. The former is a radar, the latter is a radar's display.
Three builds, three philosophies
The same screen and chip family support at least three different approaches, and the differences matter more than the shared hardware.
| Build | Data source | Chip | Local interpolation |
|---|---|---|---|
| ESP32-Plane-Radar (this article) | adsb.fi, public feed | ESP32-C3 | No, live pull only |
| AnthonySturdy/micro-radar | OpenSky /states/all | ESP32-C3 | Yes, dead reckoning |
| Meshnology W12 | Self-received 1090 MHz | ESP32-S3 plus LR2021 | Real receiver, no feed |
W12 is the outlier: it is a receiver, not a display, and it does not use the public feeds at all.
How this was checked
The source article, the project's stated licence and the flashing and wiring details were read directly. The GitHub repositories MatixYo/ESP32-Plane-Radar and AnthonySturdy/micro-radar were confirmed to exist as public repositories. The adsb.fi and OpenSky endpoints, the esptool-js and PlatformIO references, and the Meshnology W12 description were taken from the source text. No board was flashed, powered or flown for this article, and no radio reception or live-data claim was independently verified.
Source: Hardcore Electronics DIY, WeChat, 11 November 2026.