Skip to the content
2 layers25.4 × 27.4 mmTube board, the printed circuit board in 3D

Tube board

cfallin/nixie21

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.md

GPS-synchronized Nixie tube clock

view of Nixie clock with HH:MM:SS glowing orange digits

view of Nixie clock from the top, showing circuit boards

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
QtyValueFootprintReferences
1Conn_01x01_MaleConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ2
1Conn_01x10_MaleConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ1
1IN-14nixies-us:IN-14N1

The 3 most common of 4 parts.

More from cfallin/nixie2

1
  • 2 layers68.5 × 181 mmNixie2, the printed circuit board in 3D

    Nixie2

    cfallin/nixie2

    Circuit design and firmware for a GPS-synchronized Nixie-tube clock

    51 parts1

Similar boards

  • 2 layers18.5 × 26 mm24g2usb rp2350zero, the printed circuit board in 3D

    24g2usb rp2350zero

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    4 parts1.7kApache-2.0
  • 2 layers116 × 33 mm966595-1 and 963356-1, the printed circuit board in 3D

    966595-1 and 963356-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    4 parts1.2k
  • 2 layers19 × 18 mmDaughter board, the printed circuit board in 3D

    Daughter board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    4 parts915
  • 2 layers24.8 × 24.8 mmNrf24 breakout, the printed circuit board in 3D

    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 mmCap chain, the printed circuit board in 3D

    Cap chain

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    4 parts744MIT
  • 2 layers34.7 × 20 mmXG Station Power MSI, the printed circuit board in 3D

    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 mmJack power input, the printed circuit board in 3D

    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

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.