2026-10-27

A WiFi clock that tells time with falling Tetris blocks

ESP32RGB LED MatrixHUB75WiFi ClockOpen SourceMaker ProjectEmbedded
A WiFi clock that tells time with falling Tetris blocks

A low-cost desk clock turns the current time into a short Tetris animation. The digits are not printed on the panel. Instead, tetromino pieces fall from the top and settle into the shape of the hour and minute, then the pattern holds until the next minute ticks over. The build uses a 64 by 32 RGB LED matrix driven by an ESP32, so the whole thing is a handful of off-the-shelf modules and a 3D-printed stand.

What the clock actually does

The panel never shows a plain number. Each minute, the blocks animate downward and lock into the strokes of the time, so reading it feels like watching a tiny game play itself. The effect is easy to notice across a room, and the low resolution is part of the charm rather than a flaw. The maker who published the project frames it as an entry point into RGB matrix panels: every step from wiring to a running clock is documented with photos and video.

Hardware in one view

Component Used part Notes
Microcontroller ESP32 development board, a compact Dev Kit Mini or a TinyPICO Runs the firmware and fetches time over WiFi
Display 64 by 32 RGB LED matrix, P3 pitch About 19 by 9.5 centimeters, a panel type built for indoor video walls
Power 5 volt supply rated for several amps A laptop-style 8 amp unit is recommended; a 4 amp supply is cited as the practical floor at full brightness
Links and stand Female-to-female jumper wires, DC jack to screw terminal, 3D-printed bracket Assembly takes two to three hours

Time comes from the network, not a clock chip

The project deliberately skips the real-time clock module that most Arduino clocks bolt on. Instead the ESP32 pulls the time from the network and keeps it in sync. You set the time zone once, daylight saving changes are handled automatically, and after a power loss the panel re-syncs on its own. The trade-off is that the clock needs a network to know the time at all, which is a different design choice from a battery-backed RTC that keeps running offline.

Driving the panel

The firmware uses the PxMatrix library to push pixels to the matrix through the HUB75 interface, the same 16-bit parallel bus used by indoor LED video walls. The code targets this one panel size, a 64 by 32 layout at 3 millimeter pixel pitch, so other resolutions need their own timing and mapping. P3 means each LED sits 3 millimeters from its neighbor, which is why the whole panel stays small while still reading clearly across a room. A single ESP32 handles both the network time sync and the pixel refresh without extra driver chips on the small panel.

Putting it together

The repository ships wiring diagrams for a TinyPICO, a generic ESP32 board, and a D1 Mini ESP8266, plus a separate power diagram. The ESP8266 sketch is listed as not working, so the dependable path is the ESP32. A small adapter board is available that maps the development board pins straight to the panel HUB75 connector, which removes most of the flying wires. The 3D-printed stand is shared by the community, and a finished unit sits on a desk as a small conversation piece rather than a plain digital clock.

What you can tune

The falling animation speed is adjustable, and each digit gets a random color drawn from the tetromino palette, so red, yellow, blue, and green mix across the panel. Brightness, time zone, and the choice between 12-hour and 24-hour display are all configurable in the firmware, which makes the same hardware feel different on every desk.

Where it shows its age

The 64 by 32 resolution makes every stroke chunky. Up close the digits are clearly blocky and the panel wants some distance to look right. The P3 matrix draws a heavy peak current at full white, which is why a phone charger will not do and a 4 amp supply is the minimum. Maintenance has been light for years: the ESP8266 path was never fixed, and some documentation links have gone stale. Even so, for someone starting with RGB matrix panels, this remains one of the better first projects because the full path from wiring to a running clock is laid out with photos and video.

← All news