Projects / AstroPanel

AstroPanel: a live astronomy display for my bookshelf

2026 · Raspberry Pi 3, previously a Raspberry Pi Pico 2 W · Python · a 64×32 RGB LED panel · code on GitHub soon

I wanted something on my shelf that tells me what the sky and the space around us are doing right now, without opening a laptop. So I took a cheap 64×32 RGB LED panel, the kind used in shop signs, and turned it into a little observatory dashboard. It cycles through pages: local sidereal time and how long until it's properly dark, the Moon, the status of the ATLAS telescope at Sutherland, space weather, the ISS, Voyager, the live Sun, and more. And when something explodes somewhere in the universe, such as a gamma-ray burst or a gravitational-wave event, it takes over the whole panel within seconds of the alert going out.

The LED panel on a bookshelf at night showing UTC, local sidereal time and local time, a half-lit Moon at 42%, and 'DARK FOR 6:10' in green
The clock page: UTC, local sidereal time and local time, the Moon, and how much astronomical darkness is left tonight.
A walk through some of the pages: the exoplanet count, the ISS, the Sun in extreme ultraviolet, the GCN alert history, a spiral galaxy, and the clock.

A few of the pages

Every page is drawn pixel by pixel with a 3×5 font, from live public data. These are rendered by the panel's own code, with each pixel drawn as an LED:

Pixel world map with day and night shading, the ISS's ground track in cyan and the station blinking along it
The ISS, propagated from its orbital elements with SGP4, over a day-night map. It also predicts the next pass I can actually see.
A pixel-art Voyager probe beside its distance in AU, speed and a light-time clock reading about 23 hours 55 minutes
Voyager 1 and 2: distance from JPL Horizons, and the time their signal takes to reach us, nearly a full light-day for Voyager 1.
The Sun as a 32-pixel disc in extreme ultraviolet, labelled AIA 193, 1.2 MK, corona
The live Sun from NASA's Solar Dynamics Observatory, squeezed into 32×32 pixels, cycling through four wavelengths.
The Madrid station of the Deep Space Network: dish numbers, spacecraft codes and data rates, with dots flowing along each link
NASA's Deep Space Network right now: which dishes at Goldstone, Madrid and Canberra are talking to which spacecraft, and how fast.
'EXOPLANETS 6451' with '361 IN 2026' and a ticker of discovery methods
The confirmed exoplanet count from the NASA Exoplanet Archive, and how many were found this year.
A pixel world map with recent earthquakes as coloured dots and 'BIGGEST M6.9' scrolling along the bottom
Earthquakes of magnitude 4.5 and up from the past week (USGS), with big or fresh ones pulsing.
Kp 2.7, quiet, solar wind 470 km/s, and a bar chart of the Kp index over the past week
Space weather from NOAA: the Kp index over the past week, the solar wind speed and Bz.
A pixel Moon at 44% with rise and set times, 'WAXING CRES' and 'FULL IN 8D'
The Moon: phase, rise and set, and days until it's full.
The five naked-eye planets listed with their altitude, or their next rise time if they're below the horizon
Which planets are up, how high, and when the others rise.

There are a few more, such as tides, the weather and a countdown to meteor showers and eclipses. It is all controlled from a small web page on my local network, which also shows a live mirror of the panel.

And for when I just want something nice on the shelf, it has screensavers:

A tilted two-armed spiral galaxy turning slowly, with a glowing yellow core, blue-white arms and pink star-forming spots
A spiral galaxy, turning so its arms trail.
A black hole with a rotating accretion disc whose far side is bent up over the shadow
A black hole, with the far side of its disc lensed over the top and the inner disc turning fastest.
The panel showing the ATLAS Sutherland page: 'DARK', 'SLEWING', 'DOME OPEN', 'CLOUDY', with temperature and wind
The ATLAS page: what the ATLAS telescope at Sutherland is doing tonight, read from its public status.

Live alerts from NASA's GCN

My favourite part is plugged into the General Coordinates Network, NASA's system for telling the astronomy community about transient events the moment they are detected, so that telescopes around the world can turn and look. The panel listens to the same live Kafka stream that observatories use:

A significant event takes over the whole panel for 40 seconds with a flashing border, the type of event and the details scrolling past. Circulars get a quieter amber banner, and everything is kept on a history page. I can tune all of it from the web page, including whether alerts are allowed to wake the panel up in the middle of the night.

The panel's full-screen alert: a flashing orange border, 'GCN GW' and 'GRAV WAVE', with the event details scrolling along the bottom
What a gravitational-wave alert looks like, rendered with a made-up event: a 97% binary neutron star merger. The real ones arrive whenever the universe feels like it.

It is a strange feeling to be reading on the couch while the shelf lights up because two neutron stars collided hundreds of millions of years ago, and their gravitational waves washed through the room a few minutes earlier.

From a Pico to a Pi

The first version ran on a Raspberry Pi Pico 2 W in CircuitPython, using its built-in HUB75 driver. It worked, and it was a good lesson in how far a microcontroller can stretch: hand-rolled NTP, a tiny web server, and fetching the data in pieces small enough to fit in memory. But the display froze every time it fetched data, animated GIFs were limited by RAM, and colours came down to a few bits.

So it moved to a Raspberry Pi 3 running full Python. The panel is driven by Henner Zeller's rpi-rgb-led-matrix library, which bit-bangs the panel from the GPIO pins in a dedicated thread. Fetching now happens in the background, so the picture never stutters. That opened the door to everything above: real orbit propagation for the ISS, a live Kafka stream of NASA GCN alerts, full-colour images, and settings that survive a reboot.

One quirk: my panel is a "-32S" type, and it only behaves when the library is told it is a 64×64 panel and the picture is drawn in the bottom half.

Wiring and power

HUB75 panels are simple: shift registers you clock data into, two rows at a time. There is no HAT, just jumper wires from the panel's input connector straight to the Pi's GPIO header, using the library's "regular" pin mapping:

SignalWhat it doesPi GPIO
R1 G1 B1Colour for a row in the top half11, 27, 7
R2 G2 B2Colour for the matching row in the bottom half8, 9, 10
A B C D EWhich pair of rows is lit22, 23, 24, 25, 15
CLKShifts in one pixel's colour17
LATLatches a finished row4
OETurns the row on, with hardware-timed pulses for brightness18
GNDShared groundany GND pin

Using GPIO18 for OE lets the Pi's PWM hardware time the brightness pulses, which keeps the image steady. The Pi's audio uses that same hardware, so sound has to be switched off. The 3.3 V logic from the Pi drives the panel directly without a level shifter, which works with short wires.

The panel can draw several amps with lots of pixels lit, far more than a Pi's pins can supply. So it has its own 5 V, 6 A power supply going into its power connector, with the ground shared with the Pi.

The back of the LED panel with its red and black power leads, and a Raspberry Pi in an orange case connected by a bundle of coloured jumper wires
Behind the shelf: the panel's 5 V power leads, and the Pi 3 with its bundle of jumper wires.

What's next

It is very much a project I keep adding to: event popups when a visible ISS pass is about to start, countdowns to meteor showers and eclipses, and more screensavers. The code will be on GitHub soon.