Menu

4square: a 2x2 OLED desk clock on a custom ESP32-C3 board

#esp32#redditesp32#four#clock#board
Reading 0:00
15s threshold

Greetings humans!

FILES

This is a desk clock I have been working on for a while and finally cleaned up enough to share. Four 0.96" SSD1306 OLEDs in a 2x2 grid: hours top-left, minutes top-right, weekday and date along the bottom. An ESP32-C3 SuperMini drives them through a PCA9548A I2C mux on a custom 74 x 74 mm two-layer board.

The case is a printed shell with a laser-cut 3 mm clear acrylic back, engraved on the inside face, so you look straight at the board. There is a printed back too if you have no laser cutter.

What is on the board:

ESP32-C3 SuperMini, PCA9548A mux for the four screens

DS3231 RTC with a CR2032 clip, so it has the time the moment you plug it in

SHT31 temperature and humidity, plus a phototransistor for auto-dim

Three addressable RGB LEDs in a vertical column

24LC256 EEPROM in a DIP socket for settings, wear-levelled, survives any reflash or chip erase

Four Omron B3F buttons, two USB-C ports (the SuperMini's own for flashing, a rear one for everyday power)

Surface-mount parts…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.