Skip to content

Hardware EN

David Panusch edited this page Oct 27, 2026 · 2 revisions

🇩🇪 Deutsch | 🇬🇧 English

Hardware

Parts

Electronics

  • Board with ESP8266, ESP8285, ESP32 or ESP32-C3, e.g. NodeMCU or Wemos D1 Mini
  • LED strip WS2812B (RGB) or SK6812 (RGBW)
  • 5 V power supply. If many letters light up white, the matrix draws several amps; 3 to 5 A is recommended
  • Optional: RTC (DS3231, DS1307 or PCF8523) for operation without Wi-Fi
  • Optional: light sensor, either LDR (type 5528) with a 10 kΩ resistor, or BH1750
  • Optional: up to three buttons (power, mode, speed)
  • Optional: level shifter such as 74AHCT125, alternatively the diode trick (see below)

Mechanics

  • Frame, e.g. a wooden or metal picture frame with a frame depth of at least 14 mm
  • Front plate with the letters (stainless steel, coated acrylic or wood veneer)
  • Diffuser: milky film or architect's tracing paper directly behind the front
  • Light grid (wood, MDF, foam or 3D print) that separates each LED from its neighbours
  • Backing plate on which the LED strips are glued to match the grid

Templates for front plates are in the folder svg (250 to 500 mm), 3D models in 3D_Model.

LED spacing

Front Matrix LED strip Note
30 × 30 cm 25 × 25 cm 60 LEDs/m Standard size, every LED is used
40 × 40 cm 35 × 35 cm 74 LEDs/m Every second LED of a row stays unused (build type in the web interface)
50 × 50 cm 50 × 50 cm 30 LEDs/m The LED spacing matches the grid directly

The strips are usually glued in a zigzag (meander) pattern: DOUT of one row goes to DIN of the next row on the same side. How the matrix is laid out can be set in the web interface and in Configuration (mirroring, rotation, meander, extra LEDs per row).

Wiring

Wiring diagram

  • Power supply +5 V to the 5 V pin of the ESP and to +5 V of the LED strip
  • Power supply GND to GND of the ESP and to GND of the LED strip
  • Data pin of the ESP to DIN of the first LED. The default is GPIO3 (RX)

For long strips, additionally feed +5 V and GND in at several points.

Level shifting

The ESP works at 3.3 V; for a reliable high signal the WS2812B expects at least 0.7 × supply voltage, i.e. about 3.5 V at 5 V. Without adaptation it often works, but not always.

  • Level shifter: e.g. 74AHCT125 between the ESP and DIN.
  • Diode trick: Supply the first LED through a diode in the +5 V line. It then runs at about 4.3 V and reliably detects 3.3 V as high. Its output drives the second LED at full level again. To do this, cut the +5 V line between the first and second LED (only +5 V, not data and GND) and supply the rest of the strip directly from the power supply.
  • A resistor of about 470 Ω in the data line often helps already.

Pins

Pins are entered in the web interface under Settings → Hardware pins, always as a GPIO number, not as a board label such as D4.

Function Default Note
LED data GPIO3 (RX) On the ESP8266, RX uses hardware driving, other pins are bit-banged
Power button off (255) Button to GND, internal pull-up
Mode button off (255) Button to GND, internal pull-up
Speed button off (255) Button to GND, internal pull-up
I2C SDA / SCL ESP8266: D2 / D1, ESP32 and ESP32-C3: off (255) Set or disable SDA and SCL only together

Each GPIO may only be assigned once. Duplicate or invalid pins are rejected by the firmware, which restores the default values.

Suitable pins

Chip Well suited Do not use Use with caution
ESP8266 / ESP8285 LED: GPIO3 (RX), 4, 5, 12, 13, 14. Buttons: 4, 5, 12, 13, 14 GPIO6–11 (flash) GPIO0, 2, 15 (boot pins), GPIO16 (no internal pull-up)
ESP32 GPIO4, 13–19, 21–23, 25–27, 32, 33 GPIO6–11 (flash), GPIO34–39 input only and without pull-up GPIO0, 2, 5, 12, 15 (boot pins), GPIO1 and 3 (UART)
ESP32-C3 GPIO0, 1, 3–7, 10, 11, 20, 21, if brought out on the board GPIO12–17 (flash/PSRAM) GPIO2, 8, 9 (boot pins), GPIO18, 19 (USB-JTAG)

Buttons must not pull a boot pin LOW at power-on, otherwise the ESP does not start.

Buttons

Button Short press Long press
Power LEDs off, or back on with the previous colours –
Mode next display mode next transition
Speed increase brightness change hue

Changes made via the buttons appear immediately in every open web interface and in Home Assistant.

RTC (real-time clock)

An RTC keeps the time without Wi-Fi and across power failures. Supported are DS3231 (default, most accurate), DS1307 and PCF8523.

  1. Connect the RTC to 3.3 V, GND, SDA and SCL.
  2. In the web interface under Settings → Hardware pins, enter SDA and SCL.
  3. Scan I2C addresses: The RTC responds at 0x68.

For DS1307 or PCF8523, RTC_Type in include/Config.h must be set to RTC_DS1307 or RTC_PCF8523 respectively and you have to compile yourself; the pre-built firmware is built for the DS3231.

HW-111 module (Tiny RTC)

The HW-111 uses a DS1307 and additionally reports its EEPROM at 0x50. It charges the coin cell through a diode and resistors, intended for a rechargeable LIR2032. With a normal CR2032, this charging circuit must be removed, otherwise the cell can leak or swell: desolder D1, R4, R5 and R6 and bridge the pads of R6 (Arduino forum).

Light sensor

Sensor Connection Note
LDR Voltage divider with 10 kΩ at the analogue input Resistor values in Configuration (AUTOBRIGHT_LDR_…)
BH1750 I2C, address 0x23 or 0x5C Only used if it is found, and then takes precedence over the LDR

The control itself is set up in the Web interface.

Seconds frame

An additional LED strip around the letter matrix shows the seconds. It is connected at the end of the LED strip, i.e. after the matrix and minute LEDs. 0 to 200 LEDs are possible; the number is entered in the web interface. Not possible with the 16 × 8 and 22 × 11 Weather layouts.

Clone this wiki locally