Build 4 Cyberdeck · Uppsala · 2026-10-03

SKY RADAR

A ring of 24 LEDs that points out every aircraft around you, a screen that tells you which one it is, and a matrix that draws the radar picture. One press and the ring points at the International Space Station instead. Here is how to start it, read it and fix it when something acts up.

D1-D24 · the ring

        

Try the controls. The aircraft are real, seen from the hackathon venue in Uppsala. ARN is Stockholm Arlanda airport.

CAM1 · the real thing

Live at the hackathon

A 24-LED ring around a glass of water on a breadboard, wired to an ESP32-C3. A few LEDs glow white and orange for aircraft and a green sweep passes along the bottom of the ring.
The ring with live traffic and the green sweep. The glass of water is the stand.
A thumb turns the knob on the OLED module and the screen steps through aircraft in range: DLH2PM, FIN927 and SEGEE.
Turning the knob steps through the aircraft in range.
J1 · power and start

Start it

  1. Turn on WiFi on 2.4 GHz. The ESP32-C3 cannot see 5 GHz networks. On an Android hotspot: Settings › Network & internet › Hotspot & tethering › Wi-Fi hotspot › Speed & compatibility › 2.4 GHz. Turning off "Turn off hotspot automatically" on the same page helps too.
  2. Power the units. One USB cable per board. A phone charger, power bank or laptop all work. The code lives on the board, so no laptop is needed.
  3. Watch the boot. A green dot runs one lap round the ring, starting from north. Then a blue dot spins while the board looks for WiFi, and the screen prints > LINK OK and > SCAN ADS-B. Aircraft show up after about ten seconds.
  4. Point north. Turn the ring until the dim white dot faces north. A phone compass is enough.
D1-D24 · the ring

Read the ring

The ring is a compass. Every aircraft within range becomes a dot in the direction the plane actually is, seen from where the radar stands.

Altitude in metres
0 1,000 3,000 6,000 9,000 11,500
Take-off and landingCruising
SW1-SW5 · the controls

Controls

ControlWhereDoes
Turn the knobScreen moduleSelects an aircraft, nearest first. Its dot blinks white on the ring.
Push the knobScreen moduleZoom: 25, 50 or 75 km. Starts at 75.
BACKScreen moduleSwitches between radar and ISS.
CONFIRMScreen moduleFree. Saved for a voice that reads out the flight.
BOOTEach boardShort press changes zoom, long press switches between radar and ISS.
RESETEach boardRestarts the board. Fixes most things.

The board's own RGB LED is green for fresh data, red for stale data and blue for no WiFi.

U2 · the screen

The screen

Photo of the OLED module showing the radar screen with flight CCA911.
RNG 75km 1/7
The range, and which aircraft of how many in range is shown.
> CCA911
The callsign. CCA is Air China. Look it up on Flightradar24 to see where it is going.
ALT 739 m
Altitude in metres. A question mark means the aircraft sends no altitude.
DST 22.6 km
Distance from the radar.
BRG 116 ESE
Bearing in degrees from north, and the compass point (ESE is east-southeast).
LINK OK
The data is fresh. LINK LOST 34s means nothing new for 34 seconds.
Two more modes

ISS and the matrix

BACK · ISS mode

The space station

The ring points at the ISS. It circles the Earth in about 90 minutes, so over an afternoon the dot wanders round the ring. White means the station is in sunlight, blue that it is in the Earth's shadow. When it is above the horizon, within about 2,250 km, the whole ring pulses and the screen says ** OVERHEAD **.

D25-D88 · the matrix

The radar picture

The 8x8 matrix is a separate unit with its own board running the same code. The centre is the radar, the top edge is north and the edges are the current range, so here you see distance as well as direction. Turn it so the white pixel at startup ends up top left. The matrix does not know which aircraft is selected on the screen.

TP1-TP9 · test points

When something acts up

TP1The ring keeps spinning blue

The board cannot find a WiFi network it knows. Check that the network is on and on 2.4 GHz; some phone hotspots switch back to 5 GHz by themselves. The board retries every ten seconds, no restart needed. If a cheap board never connects, try WIFI_TXPOWER = 8.5.

TP2The sweep is red and the dots fade

The network is down or the data source is not answering, the same as LINK LOST on the screen. The board switches to the backup source by itself.

TP3The screen freezes or shows noise

Press RESET. If it keeps happening, reseat the SDA and SCL wires; they work loose when the module moves. Noise on most of the screen with a single line of text means the wrong driver: set OLED_KIND = "sh1106".

TP4The ring stays dark

Unplug USB and check the three wires: data to the ring's DI (not DO), 5V and GND. Wire colours vary between makers, so go by the labels printed on the ring.

TP5Everything turns off after a while

Many power banks switch off when the current draw is low, and the radar draws very little. Use a phone charger instead.

TP6No aircraft at all

At 25 km it is often empty when traffic is quiet. Push the knob until the screen says RNG 75km.

TP7The dots point the wrong way

The white north dot is not facing north: turn the ring with a phone compass. If the dots move the wrong way as aircraft fly past, the ring is upside down or numbered the other way. Flip it LEDs up, or set CLOCKWISE = False.

TP8The knob goes backwards or skips clicks

Swap ENC_A and ENC_B in the board profile, or try ENC_STEPS = 2.

TP9The matrix picture is mirrored or scrambled

At startup a dot walks through the pixels in wiring order from the white pixel 0. Turn the matrix so pixel 0 is top left. If the dot zigzags, set GRID_SERPENTINE = True.

J2 · for builders

Build your own

You need an ESP32-C3 board, a 24-LED WS2812 ring and a USB-C cable. The screen module and the matrix are optional. The parts list, flashing MicroPython and setting your location are in the README.

Wiring the ring unit (ESP32-C3-Zero)
PartPin
Ring DI (data in, not DO)GPIO3
Ring 5V5V
Ring GNDGND
Screen VCC3V3, not 5V
Screen GNDGND, shared with the ring on a breadboard
SDA / SCLGPIO4 / GPIO5
PSH (push the knob)GPIO6
TRA / TRB (the knob)GPIO7 / GPIO0
BAKGPIO1
CONGPIO2

The matrix unit is an ESP32-C3 SuperMini soldered to the matrix, with DIN on GPIO4. Nothing else to wire.

Commands on the computer
git clone https://github.com/AntonSatt/sky-radar.git
cd sky-radar
./scripts/till-kortet.sh          # copy the code to the ring unit and run it
./scripts/till-kortet.sh matris   # the same for the matrix unit
./scripts/wifi.sh                 # add another WiFi network
./scripts/kolla-api.sh            # do the data sources answer?
./terminal/radar.py               # the radar in the terminal, no hardware
python3 tests/test_core.py        # the tests