LED Matrix Panel turns a Waveshare 96×48 color LED panel and a LaskaKit ESP32-S3-DEVKit board into a wall-mounted station. It shows the time, weather forecast, precipitation radar from the Czech Hydrometeorological Institute (CHMI) or RainViewer, and the plane flying overhead right now. It figures out what matters at any given moment and switches screens accordingly.
You configure everything from your phone – no programming required. Flash the ready-made firmware from your browser using esp32flasher.chiptron.cz. Wiring takes sixteen jumper wires. This project builds on my MeteoPlaneRadar, except that instead of a round display, it lights up 4,608 LEDs with a 2.5 mm pitch.
The project is free. If you like, you can buy me a coffee at buymeacoffee.com/chiptroncz.
This article is not sponsored!

Where do you want to go?
What it can do
Screens · When each screen appears · Night mode · Where the data comes from
I want to build one
What to buy · Wiring · Flashing the firmware · First startup · Configuration · Updates · Troubleshooting
I want to build on it
Compiling in Arduino IDE · How it works inside · JSON API · Custom screen · Code and license
What the panel can do
The panel has four screens, all drawn specifically for its 96×48 resolution.

Clock

Choose an analog clock with smooth hands and a continuously sweeping second hand, or a digital clock. The day of the week, date, month, and year appear around the clock face. You can set the colors of the hands, second hand, digits, hour markers, and date. Seconds and the date can be turned off.
Forecast

Three columns: now, today, tomorrow. Each shows a weather icon and temperature. Today and tomorrow also show the high and low; current conditions include wind speed in m/s.
Plane

Call sign, aircraft type, speed, altitude, and distance. The plane icon is rotated to match its actual direction of travel.
It always shows the nearest plane within range (10 km by default). If there are more nearby, a “+1”, “+2”, and so on appears in the lower left.
The view direction setting is useful too. Enter the direction you can see from your window (say, southeast), the field of view (±30° by default), and its range (5 km by default). A plane in that field of view takes priority over the nearest plane and can appear even beyond the usual radius. So the panel shows the plane you can actually see from your window.
Radar

A map of the Czech Republic with an animation of the last six precipitation radar images (the latest 25 minutes from CHMI, or roughly 50 minutes from RainViewer). Regional capitals are marked with small blue crosses, your location with a green dot, and a color scale appears on the right. A digital clock runs in the corner.
A CHMI radar image is many times larger than the panel’s 96×48 pixels. When resizing it, each panel pixel keeps the strongest echo from the area it covers. That way, a small storm cell doesn’t disappear into the average of its surroundings.
Choose the radar source from the Radar tab on the web interface. If you want to use the project outside the Czech Republic, switch to RainViewer.
| Source | Description |
|---|---|
| CHMI | MAX Z composite, new image every 5 minutes, default |
| CHMI masked | Same composite, but showing only precipitation that reaches the ground (no virga or distant storm anvils) |
| RainViewer | International composite, new image every 10 minutes, lower resolution |
When each screen appears
This depends on the display mode. Choose it on the Status tab of the web interface; the panel remembers your choice after a power cycle. There are three options: automatic, rotation, and one fixed screen.
Automatic mode

The panel checks the following conditions from top to bottom and shows the first screen whose condition is met:
- Is a plane flying nearby? Within 10 km, or in the field of view you set. If so, show the plane.
- Is it raining nearby? The latest radar image shows precipitation of 20 dBZ or more within 100 km. If so, show the radar.
- Otherwise, show the clock, with the forecast appearing for 10 seconds every 50 seconds.
20 dBZ corresponds to light rain. If you don’t want the panel switching because of every shower in the Šumava mountains, raise the threshold or reduce the radius. All timings and distances are configurable.
You can also choose how persistent the planes should be:
- Show immediately: the plane takes priority over everything, including the radar. It stays on screen for another 5 seconds after it leaves, so the display doesn’t flicker as it crosses the edge of the radius.
- Show occasionally: the plane appears for 15 seconds, then there’s a one-minute break with the clock, forecast, or radar on screen. This repeats while a plane is nearby. Handy if you live near an airport and don’t want to watch nothing but planes.
- Never: automatic mode skips planes.
Rotation

The selected screens rotate in a fixed order: clock, forecast, radar, plane, 15 seconds each. Choose which screens to rotate through on the Display tab.
A screen with nothing to show is skipped. The clock is always available; the forecast is skipped if disabled or if data hasn’t arrived yet; the radar is skipped if there’s no rain nearby (unless you enable Show radar even without rain); and the plane is skipped when none is flying. If a plane leaves while its screen is active, the panel moves straight to the next screen.
One fixed screen
The panel always shows the same thing: clock, forecast, radar, or plane. In this mode the radar shows the map even when it isn’t raining, and the plane screen displays “no plane” when the sky is empty.
Night mode
Night mode can follow a set schedule (10 pm to 6 am by default), or run from sunset to sunrise, which the panel calculates from your location. At night, the panel dims or turns off completely. You can also choose to show only the clock, so a flashing radar doesn’t wake you up.
The off setting applies in every mode. The clock-only setting applies to automatic mode and rotation; a screen selected as the fixed screen stays on.
Where the data comes from
| Data | Source | Update interval |
|---|---|---|
| Planes | adsb.fi, open API, no key required | Every 10 s |
| Precipitation radar | CHMI open data, MAX Z composite | Every 5 min |
| Precipitation radar (alternative) | RainViewer, open API, no key required | Every 10 min |
| Forecast | Open-Meteo | Every 15 min |
| Time | Date header in responses from these servers | With each request |
No ADS-B receiver or registration is needed – just WiFi. Plane tracking and forecasts work anywhere in the world. The map on the panel only covers the Czech Republic, so the radar is most useful there, although RainViewer has data from other countries too.
What to buy
No soldering required; everything connects with jumper wires.
| Part | Notes |
|---|---|
| Waveshare RGB-Matrix-P2.5-96×48-F | Flexible 96×48 LED panel, 2.5 mm pitch, 240×120 mm, HUB75 interface. Waveshare, LaskaKit listing. You can also find it on AliExpress; I ordered mine from Czech retailer LaskaKit. |
| LaskaKit ESP32-S3-DEVKit | ESP32-S3 with 16 MB flash; PSRAM isn’t needed. LaskaKit listing. An Espressif ESP32-S3 development kit should also work, but I didn’t have one on hand. |
| 5 V power supply | At least 4 A, for the panel (in my setup, current draw stayed below 500 mA) |
| USB-C cable | Powers the ESP32 and is used to flash the firmware |
| 16 F-F Dupont wires | 14 signals and 2× GND; keep them as short as possible, ideally no longer than 10 cm |
Check which panel version you have. Waveshare sells two versions. The firmware is set up for V2, identifiable by the marking ending in 24S-A1 on the back. V1 also works, but you’ll need to change one setting and compile the firmware yourself (see the developer section).
Wiring

Connect the panel to the HUB75 IN input connector (2×8 pins). The pin numbering is shown with the back of the panel facing you and the connector notch at the top. The diagram labels each board pin with the connector pin it goes to, and vice versa.
| HUB75 pin | Signal | ESP32-S3 GPIO | HUB75 pin | Signal | ESP32-S3 GPIO |
|---|---|---|---|---|---|
| 1 | R1 | 4 | 2 | G1 | 5 |
| 3 | B1 | 6 | 4 | GND | GND |
| 5 | R2 | 7 | 6 | G2 | 15 |
| 7 | B2 | 16 | 8 | E | 21 |
| 9 | A | 17 | 10 | B | 18 |
| 11 | C | 8 | 12 | D | 41 |
| 13 | CLK | 38 | 14 | LAT | 40 |
| 15 | OE | 39 | 16 | GND | GND |
The V2 panel doesn’t use pins D and E, but connect them anyway. They won’t hurt, and the same wiring will then work with V1 too.
Keep the signal wires as short as possible, ideally no longer than 10 cm. The panel is driven by fast signals over 14 wires, and long wires act like antennas. With wires around 20 cm long, pixels on the left edge flickered. Worse, the WiFi connection fell apart: the settings page took 10 seconds to load instead of 0.2 seconds, and my phone dropped off the setup network. So I set the panel data rate to 8 MHz instead of 16 MHz and lowered the GPIO drive strength. After that, everything worked without problems.
If problems persist, shorten the wires further, route them away from the ESP32 antenna, and use a ribbon cable with ground wires.
Power: connect the panel directly to a 5 V power supply through its power connector – never power it through the ESP32. The board is powered over USB-C. The supply, panel, and ESP32 must share a common ground, or the panel will display nonsense.
The HUB75 pin labels printed on the panel PCB don’t match the actual wiring! Use the table above.
What’s still missing is a 3D-printed enclosure for the display and board. A PCB adapter between the driver board and LED matrix would be useful too. It would also neatly solve the need for two power supplies – one for the controller board and one for the display.
Flashing the firmware
No Arduino IDE, no libraries. All you need is Chrome, Edge, or Firefox 151 or newer (Safari doesn’t support Web Serial), a USB-C cable, and a few minutes.
- Download LED_Matrix_Panel_CZ.merged.bin (Czech) or LED_Matrix_Panel_EN.merged.bin (English) from the latest version in GitHub Releases. You can change the language later in the web interface. The file contains the entire flash image, including the bootloader and partition table, so it also works on a brand-new board.
- Connect the board to your computer with a USB-C cable plugged into the connector marked UART.
- Open esp32flasher.chiptron.cz, connect to the board’s port, select the downloaded file, and flash it.
- When it’s finished, press RESET on the board.
On startup, the panel briefly shows three bars: red, green, and blue. That’s the color test. If they light up in that order, the wiring is correct.
First startup and WiFi
The panel doesn’t know your WiFi credentials yet, so it creates its own network.
- A QR code and the name of an open network, LED-Matrix-XXXX, appear on the panel. The last four characters come from the board’s MAC address.
- Scan the QR code with your phone. The settings page should open automatically; if not, go to
http://192.168.4.1. - On the WiFi tab, select your home network and enter its password.
- The panel shuts down its setup network, connects to your home network, and displays its IP address for 10 seconds. Then the clock appears.
If it doesn’t connect to your home network within 20 seconds (wrong password, router off), the setup network comes back. If it already has a network saved, it retries every 5 minutes, but only when no phone is connected to the setup network.
Don’t forget to set your location. The default is Prague. On the Location tab, enter a town or city name and select it from the list, or enter coordinates.
Configuration in your browser

The web interface is always available at http://ledmatrix.local, or at the IP address shown on the startup screen. It’s available in Czech or English (change the language on the System tab; this also changes the text on the panel) and has eight tabs.
| Tab | What you’ll find there |
|---|---|
| Status | Time, current screen, plane, radar, weather, free memory, display mode selection |
| WiFi | Scan for networks, connect, forget a network |
| Location | Search for a town or city, latitude and longitude |
| Planes | Enable, radius, minimum altitude, call sign required, polling interval, view direction with a field-of-view map |
| Radar | Enable, data source (CHMI, CHMI masked, RainViewer), radius and rain threshold, number of images, animation speed, legend, cities, map background |
| Clock and weather | Analog or digital clock, seconds, date, all colors, forecast and its timing |
| Display | Automatic mode and rotation, day and night brightness, night mode |
| System | Language (Czech or English), device name, time zone, back up and restore settings, firmware update, reboot, factory reset |
Settings are stored on the board and survive power outages and firmware updates. You can download a JSON backup and restore it the same way.
Firmware updates
Future versions don’t need a cable. Download LED_Matrix_Panel.bin (without “merged” in the filename) from GitHub Releases, then upload it from the panel’s web interface on the System tab. The panel restarts automatically after the upload, and your settings stay put.
Troubleshooting
- The startup bars have the wrong colors (blue instead of red, or vice versa): your panel uses a different color order. Change
PANEL_SWAP_RBwhen compiling the firmware. - Entire rows or bands stay lit: you may have a different panel version. See
PANEL_LINE_DECODERin the developer section. - Pixels flicker at the edge: shorten the wires and check the shared ground and power supply (see Wiring).
- The ESP32 reboots at high brightness or right after startup (Serial Monitor shows “Brownout”): the power supply is unstable, typically when WiFi starts up while the panel is lit. Try a stronger supply, a roughly 1000 µF capacitor across the panel’s power terminals, or lower the brightness on the Display tab.
- The settings page loads slowly, the phone drops off the setup network, or radar requests time out: interference from the panel wires. Shorten them and route them away from the ESP32 antenna.
- The page at ledmatrix.local won’t open: some networks and phones don’t resolve .local addresses. Use the IP address shown on the startup screen.
For developers: compiling in Arduino IDE
This section is for anyone who wants to modify the firmware or build something of their own on top of it. If you flashed the ready-made file, feel free to skip it.
- The esp32 by Espressif Systems board package, version 3.x.
- Libraries from Library Manager: ESP32 HUB75 LED MATRIX PANEL DMA Display by mrcodetastic (3.1.0 or newer; older versions don’t support SM5368), Adafruit GFX Library (installed as a dependency), and ArduinoJson 7. You don’t need to install PNGdec. It’s included in the project (version 1.1.7, with a larger line buffer) because CHMI images are 680 px wide and don’t fit in the default buffer. The current Library Manager version will even reject them (error 7). The QR code library is included too.
- Tools settings: board ESP32S3 Dev Module, Flash Size 16MB, Partition Scheme 16M Flash (3MB APP/9.9MB FATFS) (two app slots are needed for web updates), PSRAM according to your module or Disabled, USB CDC On Boot Disabled.
- Flash through the UART connector; the Serial Monitor runs on the same port (115,200 baud).
To create a file for web updates, use Sketch, Export Compiled Binary.
What you can change in config.h
| Constant | What it does |
|---|---|
PIN_* | Maps the 14 HUB75 signals to GPIO pins |
PANEL_LINE_DECODER | Row driver: SM5368 for panel V2, TYPE138 for V1 |
PANEL_SWAP_RB | Swaps red and blue; Waveshare V2 needs 1 |
PANEL_CLK_PHASE | Clock phase, if the image is shifted by one pixel |
PANEL_I2S_MHZ | Panel data rate, 8 MHz by default (16 MHz interferes with WiFi) |
PANEL_DRIVE_STRENGTH | GPIO drive strength, 0 to 3, default 1. Lower means slower edges and less interference; too low means bad pixels on the panel |
DEFAULT_* | Default settings, used only on first startup or after a factory reset |
DEBUG_ENABLED, DEBUG_CONSOLE | Logging and control through the Serial Monitor |
The selected GPIO pins avoid boot-strapping pins (0, 3, 45, 46), USB (19, 20), UART0 (43, 44), the μŠup connector (2, 42, 47), battery measurement (9), and octal PSRAM pins (35 to 37).
How it works inside
The firmware runs on both ESP32-S3 cores and doesn’t need PSRAM. The panel, radar decoding, and HTTPS connections all fit in the chip’s internal RAM.
- Core 1 (main loop): WiFi state machine, web server, screen selection, and drawing.
- Core 0 (network task with a 16 kB stack): requests to adsb.fi, CHMI, RainViewer, and Open-Meteo. Results are published to a shared
SkyDatastructure protected by a mutex. Downloads never block the display or web server.
Radar on an ESP32 without PSRAM
CHMI image filenames include a timestamp, so the firmware doesn’t search through the directory listing (over 300 kB); it tries filenames directly, stepping back in five-minute intervals from the newest one. The directory listing remains as a fallback. All images use one persistent HTTPS connection (keep-alive), and planes get a turn between images, so the plane screen doesn’t freeze while the radar downloads.
Each PNG is then decoded with PNGdec one line at a time as it downloads, using a 4 kB sliding window. The whole file is never held in memory.
Each line is mapped straight onto a 96×48 grid. CHMI colors (or dBZ values from RainViewer) are converted to a 4-bit scale index, so one image takes 2,304 B and six animation frames take just under 14 kB. The latest image is then checked for rain above the threshold within the radius of your location.
The map of the Czech Republic is precomputed from Natural Earth 1:10m in the Web Mercator projection, the same projection used by the radar images, so borders and precipitation line up pixel for pixel.
Time without NTP
The panel gets the time from the Date header in HTTPS responses it’s already downloading, then converts it using a POSIX time-zone string (default CET-1CEST,M3.5.0,M10.5.0/3). If you turn off planes, radar, and the forecast, it makes one small request every 30 minutes just to keep time.
JSON API
The panel’s web page uses a simple JSON API. You can call it from a script, Home Assistant, or Node-RED too.
| Method and path | What it does |
|---|---|
GET /api/status | Time, current screen and mode, WiFi, plane, radar, weather, memory |
GET /api/config | All settings |
POST /api/config | Change settings; you only need to send the fields you’re changing |
POST /api/mode | Mode: AUTO, ROTATE, CLOCK, FORECAST, RADAR, PLANE |
GET /api/export, POST /api/import | Back up and restore settings |
POST /api/reboot, POST /api/reset | Reboot, factory reset |
POST /update | Upload firmware (.bin) |
For example, switch to radar and increase the daytime brightness:
curl -X POST http://ledmatrix.local/api/mode -d '{"mode":"RADAR"}'
curl -X POST http://ledmatrix.local/api/config -d '{"brightDay":120}'
You can see all the setting names in the response to GET /api/config.
Serial console
In the Serial Monitor (115,200 baud), the panel reports what it’s doing: connecting, each request, number of planes, radar images downloaded, and free memory. Single-character commands: m switches modes, r downloads radar immediately, + and - change brightness, l tests latch blanking to reduce flicker, d tests GPIO drive strength to reduce WiFi interference, i prints the status, and h shows help.
Custom screen
Draw with the regular Adafruit GFX API on a RAM canvas. The panel updates only when you call show():
Display::clear();
Display::gfx().setCursor(2, 2);
Display::gfx().setTextColor(rgb565(255, 160, 0));
Display::gfx().print("Hello");
Display::show(); // only changed pixels are sent to the panel
A new screen needs changes in three places: a drawing function in screens.cpp, an entry in the Station::Mode enum, and a rule for when to show it in station.cpp. Network data belongs in the network task in fetcher.cpp and in SkyData; drawing never waits for it.
Each module has one job, so it’s quick to find your way around the code: adsb, chmu, rainviewer, and forecast fetch data; net maintains the shared HTTPS connection; screens draws; station selects the screen; web and web_page.h handle settings; and wifi_setup handles the network. The README lists all the files.
Code and license
GitHub: github.com/petus/LED_Matrix_Panel
The code is licensed under MIT. You can use it, modify it, and include it in your own project, as long as you keep the copyright notice and license text. If you build something of your own with it, I’d appreciate a link to chiptron.cz or the project’s GitHub page.
The code license doesn’t cover the data. Plane data comes from adsb.fi, and the forecast from Open-Meteo (CC BY 4.0); both are free for non-commercial use. Radar data comes from CHMI open data or RainViewer (personal and non-commercial use). The map comes from Natural Earth (public domain).
The project includes PNG decoder PNGdec 1.1.7 by Larry Bank (Apache 2.0, with zlib inside), modified to use a larger line buffer, and the ricmoo/QRCode QR code generator (MIT). The firmware also uses ESP32-HUB75-MatrixPanel-DMA (MIT), Adafruit GFX (BSD), and ArduinoJson (MIT).
This is a hobby project; I make it because I enjoy it. I can’t guarantee it’ll keep working in the future – third-party APIs can change.






