

Tube board
Circuit design and firmware for a GPS-synchronized Nixie-tube clock
- Size
- 25.4 × 27.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 4
- Nets
- 13
- Pads
- 25
- Tracks, vias
- 42, 0
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 29 Nov 2021
- Updated
- 3 Mar 2022
Overview
Tube board is an open-source printed circuit board by cfallin, from the cfallin/nixie2 repository on GitHub. It is a 2-layer board of 25.4 × 27.4 mm with 4 parts on 13 nets, routed with 42 tracks and 0 vias.
It belongs with the lEDs and displays and radio and wireless boards of this library.
README
README.mdGPS-synchronized Nixie tube clock


This is a custom-designed (custom circuit design / PCB boards and custom microcontroller firmware) digital clock. It receives the time from a GPS receiver board, adjusts for an user-selectable timezone, and displays the time on "Nixie tubes". A nixie tube is a cold-cathode vacuum tube display technology: it uses high voltage (about 160 volts in this design) applied to an electrode in the shape of a digit in order to display a number in brilliant glowing orange. It really is quite mesmerizing!
This repo contains custom circuit board layouts for the main clock board and a separate adapter sub-board for each Nixie tube. The sub-boards are designed for IN-14 tubes (which can currently be found on eBay or Etsy for ~$20 each), but could be adapted for IN-12, IN-18, or some other size.
The main board contains an AVR ATmega8 microcontroller, a 20MHz crystal, several 74HC595 shift registers to expand the AVR's IO, and six KI155ID1 open-collector high voltage driver chips.
The board interfaces with a separate high-voltage DC-DC power supply, because designing such a supply to be efficient is quite hard and I do not possess the analog black magic skills! I bought this one for $11. You can substitute any suitable source of ~160V DC rated for about 4mA per tube (24mA total, or just under 4 watts).
GPS is also black magic, so I bought a pre-designed GPS receiver module here for $12, and an external active antenna here for $11. The module provides a 1Hz "pulse-per-second" precision output and a 9600bps serial line providing time, position, and satellite lock information using the NMEA protocol. You can substitute any GPS receiver that provides a PPS output and NMEA signal.
The ATmega8 runs firmware that decodes the NMEA to get an initial time (synchronizing whenever a valid NMEA packet with a timestamp is received). It measures the internal crystal oscillator against the PPS and then ticks based on the main CPU clock, calibrated with this ticks-per-PPS value. This allows the clock to receive the time when GPS signal is available, learn how fast or slow its own internal oscillator is running, and then continue to keep time when the GPS signal is lost. Whenever it comes back, time will resynchronize automatically.
There is a simple user interface consisting of four buttons. The leftmost (SW4 on the main board) switches between time mode and set-timezone mode. In the latter, SW2 decrements TZ offset hour and SW1 increments TZ offset hour. (Half-hour or 15 minute timezone offsets are not yet supported; I know these timezones exist, sorry! Happy to take PRs if anyone in such a timezone builds this clock!)
Total cost for the clock, not including the one-time tool purchases I made (e.g. an AVR programmer) or the scrap wood, glue, etc. for the very janky base, and definitely not including my time, was about $230:
- $42 for the PCBs (mainboard and 6x nixie tube adapters) at Aisler.net
- $90 for the six IN-14s, on Etsy
- $22 for the KI155ID1 driver chips
- $12 for the GPS receiver
- $11 for the GPS antenna
- $11 for the 160V DC supply
- about $40 for the ATmega8, 20MHz crystal, 74HC595s, a few resistors and capacitors, pin headers, wire, etc.
I started thinking about building a Nixie clock in 2014, but started working on this design regularly in Nov 2021. It first displayed a GPS-synchronized time on Jan 6, 2022. I'd like to improve the UI a bit (allow a non-GPS locally-set-time mode as well), and definitely improve the casing, but it suits me well enough for now! I finally know what time it is!
Parts
4| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Conn_01x01_Male | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J2 |
| 1 | Conn_01x10_Male | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | J1 |
| 1 | IN-14 | nixies-us:IN-14 | N1 |
The 3 most common of 4 parts.
More from cfallin/nixie2
1- 2 layers68.5 × 181 mm

Similar boards
- 2 layers18.5 × 26 mm

24g2usb rp2350zero
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
4 parts1.7kApache-2.0 - 2 layers116 × 33 mm

- 2 layers19 × 18 mm

Daughter board
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
4 parts915 - 2 layers24.8 × 24.8 mm

Nrf24 breakout
tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!
4 parts803MIT - 2 layers26 × 20 mm

Cap chain
drandyhaas/KiCadRoutingTools
A set of Python/Rust tools to aid routing in KiCad
4 parts744MIT - 2 layers34.7 × 20 mm

XG Station Power MSI
osy/XG_Mobile_Station
Open source eGPU dock for ROG Ally and ROG Flow
4 parts712CC-BY-4.0 - 2 layers20.3 × 24.5 mm

Jack power input
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
4 parts546MIT - 2 layers35.1 × 92.1 mm

SDEX2M2 MicroSD Express to M.2 NVMe Adapter for Switch 2 WIP
NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2
4 parts542GPL-3.0
Questions
How big is the Tube board PCB?
It measures 25.4 × 27.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Tube board use?
4 parts. 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 Tube board KiCad files?
From the cfallin/nixie2 repository on GitHub, at the commit this page was made from: the board is tube-board/tube-board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Tube board design in my own project?
Its repository states no licence, so its author keeps all rights: ask cfallin before reusing the design.