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.
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:
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:
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:
- Gravitational waves from LIGO, Virgo and KAGRA, with the event's most likely source (binary neutron stars, a neutron star and a black hole, or two black holes) and how often noise alone would fake a signal like it.
- Gamma-ray bursts from Swift, Fermi and SVOM, and X-ray flashes from Einstein Probe, with the position on the sky.
- High-energy neutrinos from IceCube at the South Pole.
- GCN Circulars, the short reports astronomers post as they follow an event up.
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.
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:
| Signal | What it does | Pi GPIO |
|---|---|---|
| R1 G1 B1 | Colour for a row in the top half | 11, 27, 7 |
| R2 G2 B2 | Colour for the matching row in the bottom half | 8, 9, 10 |
| A B C D E | Which pair of rows is lit | 22, 23, 24, 25, 15 |
| CLK | Shifts in one pixel's colour | 17 |
| LAT | Latches a finished row | 4 |
| OE | Turns the row on, with hardware-timed pulses for brightness | 18 |
| GND | Shared ground | any 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.
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.