afterware
Resources
Saved
Code · experiment

Birdwatcher turns an RG35XX SP into a flight-tracking deck

Original

An amber wireframe globe spins on Anbernic's RG35XX SP handheld, plotting live aircraft over WiFi. About 620,000 callsign routes sit offline on the card, so most lookups never touch the network.

Build sheet
Device
Anbernic RG35XX SP
Firmware
Stock, with Python 3 and SDL2
Data
adsb.lol, airplanes.live
Display
640×480 native
Can I build this?Beginner · AI 5/5 · $0
Difficulty
Beginner
AI-buildability
5/5

It is all Python software on a handheld you already own, with data-prep scripts that AI can write, and the only hands-on work is copying files to an SD card.

Time
A weekend
Cost
$0
Tools
computer for building data filesSD card
Starter prompt

Based on "Birdwatcher turns an RG35XX SP into a flight-tracking deck" on Afterware: https://afterware.xyz/p/birdwatcher-live-ads-b-globe-on-an-rg35xx-sp

Write a pure Python app for an Anbernic RG35XX SP running stock firmware that draws through the system libSDL2 using ctypes, without pygame. Poll the adsb.lol API every few seconds for aircraft within 250 NM of a centre point and draw them as dots over a rotating wireframe globe with a lat/lon grid. Map the d-pad to rotation and the A button to lock the nearest aircraft.

Estimates based on the original write-up. How AI-buildability is scored. Building with an AI assistant? Connect it to Afterware (free MCP server).

Story

Birdwatcher runs on the stock firmware of an Anbernic RG35XX SP, and it's pure Python. It skips pygame and SDL_ttf, calling the system libSDL2 through ctypes and drawing text from pre-rendered BMP font atlases. The result, at a native 640×480, is a rotating globe built from Natural Earth coastlines and borders, with a lat/lon grid, airports, a radar sweep and CRT scanlines.

Live positions come from adsb.lol, with airplanes.live as fallback. It polls aircraft within 250 NM of the screen centre and dead-reckons their movement between polls. Open a full-screen card and you get origin, destination, distance flown and left, and an ETA. Routes come from Virtual Radar Server standing data, bundled on the card.

Filters pick out military traffic, private and business jets, and emergency squawks (7700, 7600, 7500), which are polled worldwide. If you own another 640×480 handheld, a diagnostics launcher lets you test it, and scripts rebuild the map, route and font data.

Resources · 4
More like this
More like this