Skip to the content
PCBKitNew board
2 layers143.5 × 64.8 mmNixie proj, the printed circuit board in 3D

A Nixie Clock using an Atmel Atmega 328p

Size
143.5 × 64.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
93
Nets
95
Pads
334
Tracks, vias
591, 54
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
26 May 2018
Updated
28 May 2018

Overview

Nixie proj is an open-source printed circuit board by erickpires, from the erickpires/NixieClock repository on GitHub, published under the MIT licence. It is a 2-layer board of 143.5 × 64.8 mm with 93 parts on 95 nets, routed with 591 tracks and 54 vias.

It is built around the PIC18F1320-E/P, HV5812P-G and DS32KHZS#, with the LM7805, MPSA92 and BC857 among its other parts. Its parts include 28 resistors, 15 capacitors, 13 transistors, 6 ICs and 6 diodes. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) and PIC boards of this library.

Main components

10

README

README.md

The Project

This is a clock that uses Nixie Tubes as display. The idea is not new and there are hundreds of others Nixie based clock on the internet. I got inspired to build the clock after watching a video from Techmoan.

The Nixies

The Nixie Tubes were bought from eBay. They are IN-14 tubes desoldered from unused replacement board for old equipment (so the seller told me).

To drive the Nixies, six K155ID1 (the Russian version of the 74141) were also bought from eBay (which turned out to be a bad idea since those chips are very old, not reliable and consume too much power).

The Nixies are powered with 170V and half of their nominal amperage (this should extend their lifetime).

The Boards

The clock is divided in three boards: a High-Voltage Power Supply for the Nixie Tubes, a Logic Board and a board to hold the Nixies.

  • The Power Supply was built on a prototyping PCB based on two designs found online. More information can be found on the Power Supply directory of this repository.

  • The Logic Board contains an Atmel Atmega 328p microcontroller which implements the clock in software. This board also contains some passive components and connectors. The schematic and the PCB design was done using kicad and can be found under the kicad/LowerBoard directory. The board itself was homemade using the toner transfer technique (more information can be found online) and etched using ferric chloride.

  • The third board holds the Nixie Tubes as well as the six driver ICs and three 74HC573 8-bit transparent latches. This board also functions as the upper face of the clock and the ICs were put in this board because I thought it would be more aesthetically pleasing. The PCB design can be found under the kicad/Clock directory. This board was made using the same technique as the Logic Board.

The Code

The code runs on an Atmega 328p with an Arduino bootloader. The code doesn't use any of the Arduino library functions, accessing registers directly. The code should work fine without the Arduino environment and using the Atmel Studio. The Arduino environment is used only to provide a n easy way of uploading the code into the microcontroller.

The clock is implemented in software, as already mentioned. The code also handles debouncing of the input buttons and rotary encoder.

Every whole minute the clock plays an animation in which all digits of all Nixie Tubes are lit twice. The primary reason for the animation is to avoid Cathode Poisoning since must of the digits don't change too often (and some digits aren't even lit) but also because it looks cool.

From midnight to 6AM the display is shutdown. This should save some lifetime out of the Nixies. Upon interaction with any button (or rotary encoder) while the display is off, it turns on for 5 seconds.

An alarm clock functionality is planned, but not yet implemented.

Final Result

Here are two photos of the clock working.

Image 1

Image 2

and a video:

Video

Parts

93
QtyValueFootprintReferences
9TESTconnect:GS2TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9
8100nsmd_capacitors:c_0805C1, C2, C4, C5, C11, C12, C13, C14
833kpretty-libs:R0805_smd-modR19, R20, R21, R22, R23, R24, R25, R28
8MPSA92discret:TO92-CBEQ1, Q2, Q3, Q4, Q5, Q6, Q7, Q8
422kpretty-libs:R0805_smd-modR9, R10, R11, R13
4330pretty-libs:R3-modR2, R4, R6, R8
4330kpretty-libs:R3-modR1, R3, R5, R7
4IN14pretty-libs:IN-14-modTBE1, TBE2, TBE3, TBE4
4P***connect:1pin1PIN, 1PIN, 1PIN, 1PIN
31N5819discret:D3D1, D2, D3
3SW_PUSHswitch:TL1105L-4,3SW1, SW2, SW3
2220ucapacitors:CP_8x13mmC3, C7
2BC857smd_transistors:sot23Q9, Q12
2Csmd_capacitors:c_0805C10, C15
2HV5812pretty-libs:SO28W-modU1, U2
2Rpretty-libs:R3-modR26, R27
10.22uref-packages:C102-054X133C8
112kpretty-libs:R3-modR17
11nsmd_capacitors:c_0805C9
11ucapacitors:CP_5x6mmC6
12pretty-libs:R3-modR14
1220kpretty-libs:R3-modR18
1220uHinductors:INDUCTOR_VL1
147kpretty-libs:R0805_smd-modR15
1560kpretty-libs:R0805_smd-modR12
15V1discret:D3D6
175Vdiscret:D3D5
1820kpretty-libs:R3-modR16
1BARREL_JACKconnect:BARREL_JACKCON1
1BC847smd_transistors:sot23Q10
1CONN_5pin_array:PIN_ARRAY_5x1P1
1DS32kHzpretty-libs:SO16W-modU4
1EGP20Ddiscret:D3D4
1IRF740pretty-libs:TO220GDS_VERTQ13
1IRLML6402libcms:SOT23GDSQ11
1IRS44273libcms:SOT23-5U6
1LM7805powerint:TO-220U3
1LOGOlogos:Panda_Logo_7x5mmLogo_ref
1PIC18F1320pretty-libs:SO18L-modU5
1SWITCH_INVpretty-libs:CL-SA-12C4-02SW0

Questions

How big is the Nixie proj PCB?

It measures 143.5 × 64.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Nixie proj use?

93 parts, built around the PIC18F1320-E/P, HV5812P-G, DS32KHZS# and LM7805. 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 Nixie proj KiCad files?

From the erickpires/NixieClock repository on GitHub, at the commit this page was made from: the board is kicad_nixie/kicad/Nixie_proj.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Nixie proj design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

More from erickpires/NixieClock

3
  • 2 layersClock, the printed circuit board in 3D

    Clock

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

    26 parts2MIT
  • 2 layersLowerBoard, the printed circuit board in 3D

    LowerBoard

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

    23 parts2MIT
  • 2 layersClock, the printed circuit board in 3D

    Clock

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

    6 parts2MIT

Similar boards

  • 2 layers185 × 82 mmDisplay board, the printed circuit board in 3D

    Display board

    Majklzbastlirny/NixieClock

    ESP-IDF firmware for a 6-tube multiplexed ESP32 nixie clock (WiFi/SNTP, Home Assistant, web UI, alarm, temperatures)

    112 parts1GPL-3.0
  • 4 layers240 × 70 mmNixie, the printed circuit board in 3D

    Nixie

    Synthron/Nixie

    A Nixie Clock with Z5600M and ESP32

    324 parts1
  • 2 layers256.5 × 172.9 mmMCB19 panel, the printed circuit board in 3D

    MCB19 panel

    ZeniteSolar/MCB19

    Modulo de carregamento das baterias auxiliares

    411 parts2GPL-3.0
  • 4 layers192 × 71.8 mmVfd clock, the printed circuit board in 3D

    Vfd clock

    MG-5/vfd-clock-hardware

    Hardware for controlling six VFD IV-17 tubes as clock (HH:MM:SS)

    130 parts1MIT
  • 2 layers65 × 71.5 mmAlarm clock v3, the printed circuit board in 3D

    Alarm clock v3

    MG-5/alarm-clock_hardware

    155 partsGPL-3.0
  • 2 layers200 × 65 mmVfd display, the printed circuit board in 3D

    Vfd display

    eshazen/retro-25

    Retro-tech HP-25 calculator clone using Z80

    48 parts33
  • 2 layers99.5 × 74 mmDimmer pcb, the printed circuit board in 3D

    Dimmer pcb

    Bonusbartus/ac_pwm_led_dimmer

    A PCB for dimming AC LED lamps

    35 parts