Skip to the content
4 layers150 × 100 mmTubeClock, the printed circuit board in 3D

Everything for the Tube Clock

Size
150 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
147
Nets
111
Pads
538
Tracks, vias
1,527, 192
Pours
13
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
26 Apr 2019
Updated
3 May 2026

Overview

TubeClock is an open-source printed circuit board by kbx81, from the kbx81/TubeClock repository on GitHub. It is a 4-layer board of 150 × 100 mm with 147 parts on 111 nets, routed with 1,527 tracks and 192 vias.

It is built around the MAX485ED, TESEO-LIV3F and DS1722S+, with the MAX1771CPA+, DS3234S# and LD1117S33TR(MS) among its other parts. Its parts include 43 capacitors, 33 resistors, 11 ICs, 10 connectors and 7 diodes. It belongs with the lEDs and displays boards and the STM32 boards of this library.

Main components

12

README

README.md

kbx's Nixie Clock

Nixie Clock project files - PCB and source

Nixie clocks!

IN-18

For more pictures, see the gallery.

Another nixie tube clock? Why?

I have to start by giving credit where credit is due. The Boldport Club, over the last couple of years, has motivated me to dwell back into the world of electronics, at least as a hobbyist. Both the kits themselves and the other members in the club are amazing and helped inspire me to make something...so I began working on this project. Some inspiration is taken from Touchy, BPC Project #7; this kit enabled me to learn more about and actually experiment with capacitive touch. It was clear early on that this would be a nice touch (pun intended) to add to this project; visually, it is cleaner, it reduces the number of parts and, as a result, it reduces the cost.

That said, the world probably doesn't need another tube clock. There are plenty of them--all different shapes and sizes--so why build another one?

Last year, I built this lovely binary clock. Some ten-plus years ago I had built some IN-18 nixie clocks. Earlier this year (2019) one of them became a little troublesome. I fixed it but, in the interim, became motivated to build my own. As I already had a wonderful foundation for some clock hardware, this seemed a natural progression. Overall I'm quite happy with the results if I may say so myself. :)

Sooo...another nixie clock? What's special about it?

Time & display

  • Shows time, date, and temperature — with a timer/counter mode, too
  • 12/24-hour format and °C/°F selectable
  • Smooth digit crossfades with configurable animations and effects
  • Auto-dims based on ambient light — great for a bedside clock :)

Time sources (all optional — mix and match)

  • GPS sync via a soldered-on LIV3F module or an Adafruit GPS breakout
  • External DS3234 precision RTC
  • CR2032 battery or supercapacitor backup to keep time through a power outage

Control & connectivity

  • Capacitive touch keys
  • IR remote control
  • Serial remote protocol over UART or USB (CDC-ACM virtual serial port)
  • Optional Wi-Fi add-on board for wireless control -- I even built an ESPHome external component
  • DMX-512 via RS-485 — control each tube individually from a lighting console

Alarms & audio

  • Up to 8 configurable alarm times with optional display blink
  • Hourly binary chime — hear the time from another room!
  • RTTTL melody playback
  • External alarm trigger via expansion pin header

What makes it tick?

The brain is an STM32F072 microcontroller — capable enough on its own, but with optional add-ons for those who want more:

  • DS3234 — high-accuracy external RTC (also has a built-in temperature sensor)
  • DS1722 / LM74 — dedicated external temperature sensors
  • LIV3F or Adafruit GPS module for synchronizing time from GPS

The display boards use HV5622 high-voltage shift registers to drive the tubes, an RGB status LED for at-a-glance info, and a piezo beeper capable of playing RTTTL tunes. An onboard phototransistor handles ambient light sensing for automatic brightness control.

How do I get or build one?

In this repository you'll find everything needed to put one together. It is divided into two major parts: hardware and software (source). The hardware directory contains the KiCad project files used to create the printed circuit board. The src directory contains the source code needed to compile and run the application on the microcontroller. It is built on top of libopencm3. Finally, then bin directory contains compiled binary files you may flash directly onto the microcontroller...great for folks who want to solder something together but don't want to be bothered with compiling code!

Additional details regarding the hardware and software can be found in the README.md files located in each respective directory.

That's all for now...thanks for visiting!

Parts

147
QtyValueFootprintReferences
14100 nFCapacitor_SMD:C_0805_2012MetricC5, C6, C8, C11, C15, C17, C18, C19, C23, C28, C29, C30, C31, C32
910KResistor_SMD:R_0805_2012MetricR4, R7, R13, R14, R15, R16, R19, R20, R33
91KResistor_SMD:R_0805_2012MetricR5, R6, R8, R9, R11, R12, R26, R27, R28
51MResistor_SMD:R_0805_2012MetricR10, R23, R24, R25, R29
53.9 pFCapacitor_SMD:C_0402_1005MetricC37, C38, C39, C40, C41
5GS2Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmSB4, SB5, SB6, SB7, SB8
42N7002Package_TO_SOT_SMD:SOT-23Q3, Q4, Q5, Q6
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
3120 pFCapacitor_SMD:C_0402_1005MetricC34, C35, C36
3GS3Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mmSB1, SB2, SB3
20Resistor_SMD:R_0402_1005MetricR30, R31
21 nFCapacitor_SMD:C_0805_2012MetricC33, C43
210 pFCapacitor_SMD:C_0805_2012MetricC24, C25
210 uFCapacitor_SMD:C_0805_2012MetricC9, C42
2100KResistor_SMD:R_0805_2012MetricR1, R32
212.5 pFCapacitor_SMD:C_0805_2012MetricC26, C27
24.7 uFCapacitor_SMD:C_0805_2012MetricC16, C20
247 nFCapacitor_SMD:C_0805_2012MetricC21, C22
2SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1, SW2
1 IRF644PBFPackage_TO_SOT_THT:TO-220-3_Horizontal_TabDownQ1
1.05Resistor_SMD:R_2010_5025MetricRSENSE1
10Resistor_SMD:R_0805_2012MetricR22
11 uFCapacitor_SMD:C_0805_2012MetricC14
11.5MResistor_SMD:R_2512_6332MetricR2
110 nFCapacitor_SMD:C_0805_2012MetricC13
110 uF 25 VCapacitor_Tantalum_SMD:CP_EIA-7343-31_Kemet-DC4
1100 nF 250 VTubeClock:C_2420_HandSolderingC7
1100 nHInductor_SMD:L_0402_1005MetricL2
1100 uFCapacitor_SMD:CP_Elec_8x10C1
1100 uFCapacitor_SMD:CP_Elec_5x5.3C10
1100 uF 35 VCapacitor_Tantalum_SMD:CP_EIA-7343-31_Kemet-DC2
1100KPotentiometer_SMD:Potentiometer_Vishay_TS53YJ_VerticalRV2
1100µH 2ATubeClock:L_EPCOS_B82479A1_HandsolderingL1
1120Resistor_SMD:R_0805_2012MetricR21
11N4148Diode_SMD:D_SOD-123D6
132.768 KHzCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY2
14.7 uFCapacitor_SMD:CP_Elec_10x10C3
1470 mFTubeClock:CP_Radial_D13.0mm_P5.00mm_HD1.5mmC12
147KResistor_SMD:R_0805_2012MetricR18
156Ω 0.5WResistor_SMD:R_0805_2012MetricR3
15KPotentiometer_SMD:Potentiometer_Bourns_3214W_VerticalRV1
168KResistor_SMD:R_0805_2012MetricR17
18 MHzCrystal:Crystal_SMD_5032-4Pin_5.0x3.2mmY1
1B39162B4327P810TubeClock:Filter_1411-5_1.4x1.1mmFL1
1BAT64-02VDiode_SMD:D_0603_1608MetricD4
1BAT64-04Package_TO_SOT_SMD:SOT-23D3
1BGA824N6TubeClock:TSNP-6-2_1.2x0.8mmU9
1BuzzerTubeClock:Buzzer_16x14RM7.6BZ1
1CONN_MICRO_USB_BConnector_USB:USB_Micro-B_Molex-105017-0001P2
1CR2032TubeClock:BatteryHolder_Keystone_3034_1x20mmBT1
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ5
1Conn_01x07Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ7
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ6
1Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ3
1Conn_02x06_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_VerticalJ4
1Conn_02x08_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_VerticalJ2
1Conn_CoaxialConnector_Coaxial:U.FL_Molex_MCRF_73412-0110_VerticalJ8
1DS1722Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU7
1DS3234Package_SO:SO-20_12.8x7.5mm_P1.27mmU5
1ES2FDiode_SMD:D_SMBD2
1Jack-DCConnector_BarrelJack:BarrelJack_HorizontalJ1
1LInductor_SMD:L_0402_1005MetricL3
1LD1117S33TRPackage_TO_SOT_SMD:TO-252-2U2
1LED_Dual_AACCLED_SMD:LED_Cree-PLCC4_3.2x2.8mm_CCWLED2
1LED_RGB_COMMON_ANODELED_THT:LED_D5.0mm-4_RGBLED1
1LM74Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU6
1MAX1771Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1MAX485EPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU8
1Q_Photo_NPNLED_THT:LED_D5.0mm_ClearQ2
1S3ADiode_SMD:D_SMCD1
1STM32F072RBTxPackage_QFP:LQFP-64_10x10mm_P0.5mmU3
1STM32_SWD_USARTConnector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMDP1
1TPS22943Package_TO_SOT_SMD:SOT-353_SC-70-5U11
1TSOP382xxOptoDevice:Vishay_MINICAST-3PinU4
1Teseo-LIV3FTubeClock:LCC-18U10
1TouchPadTouchPads:TouchPad1TP1
1TouchPad2TouchPads:TouchPad1TP2
1TouchPad3TouchPads:TouchPad1TP3
1TouchPad4TouchPads:TouchPad1TP4
1TouchPad5TouchPads:TouchPad1TP5

The 140 most common of 147 parts.

More from kbx81/TubeClock

5
  • 2 layers150 × 52 mmIN-14, the printed circuit board in 3D

    IN-14

    kbx81/TubeClock

    Everything for the Tube Clock

    59 parts9
  • 2 layers225 × 52 mmIV-17, the printed circuit board in 3D

    IV-17

    kbx81/TubeClock

    Everything for the Tube Clock

    46 parts9
  • 2 layers225 × 52 mmIN-18, the printed circuit board in 3D

    IN-18

    kbx81/TubeClock

    Everything for the Tube Clock

    44 parts9
  • 2 layers150 × 52 mmB5991, the printed circuit board in 3D

    B5991

    kbx81/TubeClock

    Everything for the Tube Clock

    38 parts9
  • 2 layers31.6 × 36.8 mmTubeClock, the printed circuit board in 3D

    TubeClock

    kbx81/TubeClock

    Everything for the Tube Clock

    33 parts9

Similar boards

  • 2 layers127 × 114.3 mmKbxBinaryClock.v4, the printed circuit board in 3D

    KbxBinaryClock.v4

    kbx81/RGBBinaryClock

    RGB Binary Clock project files - PCB and source

    132 parts2
  • 2 layers49.5 × 44.5 mmHv power supply, the printed circuit board in 3D

    Hv power supply

    wheeler-microfluidics/kicad___hv_power_supply

    Digitally adjustable high-voltage power supply

    19 parts1
  • 2 layers83.8 × 56.1 mmHv signal generator, the printed circuit board in 3D

    Hv signal generator

    wheeler-microfluidics/hv-signal-generator.kicad

    Control board and high-votlage signal generator for the MR Box

    49 parts
  • 4 layers25.4 × 42.9 mmTESEO LIV3F uBUS, the printed circuit board in 3D

    TESEO LIV3F uBUS

    mkmielke/LIV3F_mikroBUS

    The KiCAD project files for a mikroBUS add-on board featuring the Teseo-LIV3F GNSS module.

    35 parts6
  • 2 layers57.1 × 53.3 mmNixie hv, the printed circuit board in 3D

    Nixie hv

    wheeler-microfluidics/kicad___nixie_hv

    20 parts
  • 2 layers50.8 × 44.4 mmNixiePowerSupply, the printed circuit board in 3D

    NixiePowerSupply

    CarlRaymond/NixiePowerSupply

    A KiCad project for a high-voltage Nixie tube power supply.

    21 parts
  • 2 layers77.5 × 57.1 mmRx new full, the printed circuit board in 3D

    Rx new full

    rf-designers/transceiver

    Repository containing the design for the YO6SSW SDR transceiver, version 2

    197 parts2MIT

Questions

How big is the TubeClock PCB?

It measures 150 × 100 mm and has 4 copper layers, 1.6 mm thick.

What parts does the TubeClock use?

147 parts, built around the MAX485ED, TESEO-LIV3F, DS1722S+ and MAX1771CPA+. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the TubeClock KiCad files?

From the kbx81/TubeClock repository on GitHub, at the commit this page was made from: the board is hardware/logic/v1/TubeClock.kicad_pcb and its schematic hardware/displays/B5991-8422/B5991.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TubeClock design in my own project?

Its repository states no licence, so its author keeps all rights: ask kbx81 before reusing the design.