Relay Nixie Clock · Volume 5
Optional Underglow: WLED and an ESP32
A colour light under each of the four tubes, controlled from a phone or an IR remote and powered from the clock's own 12 V: block diagram, schematic, parts list and setup
This volume designs an add-on I am considering but have not committed to: a coloured light glowing up through the base of each IN-14 tube. It has nothing to do with the relay logic and connects to the clock at only one point, the 12 V supply. If I build it, it mounts under the tube shelf described in Volume 4, §4.7.
The design uses WLED, free open-source firmware for addressable LEDs, running on an ESP32 board. WLED gives a phone app over Wi-Fi with colours, effects, saved presets, a brightness limit and timed schedules, and it accepts a cheap infrared remote.12 The ESP32 classic is the safe choice; WLED’s own developers list the ESP32-C3 as experimental.3
5.1 How it works
- Power. A small buck converter turns the clock’s regulated 12 V into 5 V for the ESP32 and the LEDs, through a 0.5 A fuse so a fault in the add-on cannot take the clock’s supply down. No second power adapter is needed.
- The LEDs. Each IN-14 socket has four centre pads for an LED under the tube. Four-lead addressable 5 mm LEDs (WS2812D-F5 or PL9823-F5 types) fit there. Each has +5 V, ground, data in and data out, so the four chain together: the ESP32 talks to the first, which passes the data on to the next. One data wire drives all four, each its own colour.
- The level shifter. The ESP32’s outputs are 3.3 V, but a 5 V WS2812-type LED wants its data input above 0.7 × 5 V = 3.5 V. It often works anyway, but not reliably. A 74AHCT125 buffer, powered from 5 V, has TTL-level inputs that read 3.3 V as a clean high and drive a full 5 V out; it is the standard fix in WLED builds. A 330 Ω resistor in the data line damps reflections on the wire to the first LED.
- The remote. A TSOP38238 infrared receiver decodes the remote’s 38 kHz signal into a logic signal for the ESP32. Its lens has to see the remote, so it mounts at the shelf edge rather than behind semi-opaque acrylic.
5.2 Schematic
Table 1 — 5.2 Schematic
| Signal | From | To |
|---|---|---|
| +12 V, 0 V | Clock POWER IN terminals | F1 → U1 VIN; U1 GND |
| +5 V | U1 VOUT | ESP32 5V pin, U2 pin 14, every LED’s VDD, C1 |
| Data | ESP32 GPIO18 | U2 pin 2 (1A) → pin 3 (1Y) → R1 → LED1 DI |
| Data chain | LED1 DO → LED2 DI → LED3 DI → LED4 DI | (LED4 DO unused) |
| U2 enable | U2 pin 1 (1OE) | 0 V; unused gates’ OE pins 4, 10, 13 to +5 V, inputs 5, 9, 12 to 0 V |
| IR | U3 pin 1 (OUT) | ESP32 GPIO19; U3 pin 3 (VS) from ESP32 3V3 via R2, C2 to 0 V; pin 2 to 0 V |
GPIO18 and GPIO19 are chosen because they are free on ESP32-WROOM boards and avoid the chip’s start-up “strapping” pins; WLED lets you assign any suitable pin, so the setup in §5.5 must match whatever is wired.
5.3 Parts list
Table 2 — 5.3 Parts list
| Qty | Ref | Part | Notes |
|---|---|---|---|
| 1 | — | ESP32 development board, ESP32-WROOM-32 module (DevKitC style, or a smaller “mini” ESP32 board) | Classic ESP32; avoid the experimental C3 for WLED |
| 1 | U1 | 12 V → 5 V buck converter, 1 A, e.g. Pololu D24V10F54 | Any regulated 5 V buck rated 1 A or more |
| 1 | F1 | 0.5 A fuse or resettable polyfuse, with holder or inline | Protects the clock’s 12 V supply |
| 1 | U2 | 74AHCT125 quad buffer, DIP-14 | Only one gate is used; the 74HCT125 also works |
| 4 | LED1–4 | Addressable 5 mm through-hole RGB LED, WS2812D-F5 or PL9823-F5 | Check each part’s pin order against its datasheet; wire to suit |
| 1 | U3 | Vishay TSOP38238 IR receiver, 38 kHz | 2.5–5.5 V; runs from 3.3 V here |
| 1 | — | IR remote for RGB LED controllers (24 or 44 key) | WLED supports several common remote layouts |
| 1 | R1 | 330 Ω, 1/4 W, 1% | Data-line series resistor |
| 1 | R2 | 100 Ω, 1/4 W, 1% | IR receiver supply filter |
| 1 | C1 | 470 µF 10 V electrolytic | 5 V bulk, near the first LED |
| 1 | C2 | 4.7 µF ceramic or electrolytic | IR receiver supply filter |
| 5 | C3–C7 | 0.1 µF ceramic, 50 V | One at U2, one across each LED at its socket pads |
| — | — | Small perfboard, headers, JST/XH-style connectors, 24–26 AWG wire | Make the shelf wiring unpluggable so the shelf can come off |
A printable version with tick boxes is at the end of this volume (Printable Bill of Materials).
5.4 Power budget
LEDs: 4 × 60 mA (full white, all three colours on) = 0.24 A at 5 V
ESP32: about 0.25 A peaks during Wi-Fi transmission
Total: about 0.5 A at 5 V = 2.5 W
From 12 V at ~85% buck efficiency: 2.5 W / 0.85 / 12 V ≈ 0.25 A
Clock with underglow: about 1.1 A average, about 2.0 A peak, within the 3 A supply
In practice the LEDs will run far below full white: WLED’s brightness limiter can cap the LED current (a few tens of milliamps is plenty under a nixie), and a dim glow is what keeps the orange digits readable.
5.5 Building and setting it up
Build:
- Shelf wiring. Solder each LED into its socket’s centre pads, with its 0.1 µF capacitor across +5 V and 0 V right at the pads, and run the four-wire chain (+5 V, 0 V, data in, data out) along the underside of the shelf. Keep these wires physically apart from the tube wiring, which carries up to about 174 V, and insulated. The IN-14 base rings keep the light inside each tube.
- Controller board. Mount the ESP32, U2, U3 and their parts on a small perfboard under the shelf, with U3’s lens at the shelf’s front edge. A connector for the LED chain and one for 5 V lets the shelf come off without desoldering.
- Power. Take 12 V from the clock’s POWER IN terminals through F1 to the buck converter. Check the buck converter’s output with a meter before connecting anything to it.
Set up WLED (from the WLED documentation):1
- Install WLED on the ESP32 over USB using the web installer linked from the WLED documentation, in a Chrome-type browser.
- On first boot WLED creates its own Wi-Fi network (WLED-AP). Join it from a phone, then give WLED your home Wi-Fi details in its Wi-Fi settings.
- In LED Preferences: LED type WS281x, data GPIO 18, 4 LEDs, colour order GRB (most WS2812-type LEDs; change it if red and green come out swapped), and set the brightness limiter to a low current.
- In the same hardware settings, set the IR receiver to GPIO 19 and pick the remote type that matches the remote you bought.
- Save a few presets (a soft blue under each tube, say, or a slow colour fade) and, under Time & Macros, schedule the glow to dim or switch off at night.
Notes
- The clock does not care. The underglow shares only the 12 V supply and its 0 V. Unplug the controller and the relay clock runs exactly as before.
- The ground is shared. The buck converter is not isolated, so the add-on’s 0 V is the clock’s 0 V, the same reference as the HV return. That is normal and harmless, but it is one more reason to keep the low-voltage wiring tidy and away from the HV side.
- Taste. Colour under a nixie changes its character completely. The orange glow is the point of the tube, and a bright colour under it can swamp the digits. Start dim.
5.6 Printable Bill of Materials
The parts list above is also a printable PDF for the bench: Relay Nixie Clock Underglow BOM (PDF). Each part has a row with tick boxes for ordered, in hand and fitted, the quantity and reference designator, an example part number, alternates, where to buy it, its tag and space for notes. The last page is an order log.
5.7 References (Vol 5)
Footnotes
-
WLED project documentation, https://kno.wled.ge/ (installation, LED preferences, IR remotes, presets and schedules). ↩ ↩2
-
Adafruit, “NeoPixel Remote: IR Control with WLED”, https://learn.adafruit.com/neopixel-remote-ir-control-with-wled. ↩
-
Espressif developer blog, “WLED: powered by the community”, January 2025, https://developer.espressif.com/blog/2025/01/wled-powered-by-the-community/ (lists the ESP32-C3 as experimental). ↩
-
Pololu, 5 V 1 A step-down voltage regulator D24V10F5, https://www.pololu.com/product/2831. ↩
Comments (0)