Skip to the content
PCBKitNew board
2 layersLowerBoard, the printed circuit board in 3D

A Nixie Clock using an Atmel Atmega 328p

Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
32
Pads
82
Tracks, vias
200, 0
Routed
Yes
KiCad
KiCad 4
Created
26 May 2018
Updated
28 May 2018

Overview

LowerBoard 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 with 23 parts on 32 nets, routed with 200 tracks and 0 vias.

It is built around the ATMEGA328P-PU and BC557. Its parts include 11 connectors, 4 capacitors, 2 resistors, 1 IC and 1 diode. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

2

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

23
QtyValueFootprintReferences
21uFCapacitors_ThroughHole:C_Radial_D5_L11_P2.5C3, C4
222pFCapacitors_ThroughHole:C_Disc_D3_P2.5C1, C2
112kResistors_ThroughHole:Resistor_Horizontal_RM7mmR1
116000kHzCrystals:Crystal_HC50-U_VerticalY1
17805Power_Integrations:TO-220P9
1ADJUSTPin_Headers:Pin_Header_Straight_1x01P2
1ATMEGA328P-PHousings_DIP:DIP-28_W7.62mm_LongPadsIC1
1BC557TO_SOT_Packages_THT:TO-92_Inline_Narrow_OvalQ1
1CONN_01X01Pin_Headers:Pin_Header_Straight_1x01P11
1CONN_01X03Pin_Headers:Pin_Header_Straight_1x03P10
1DDiodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10D1
1DATAPin_Headers:Pin_Header_Straight_1x08P7
1DATEPin_Headers:Pin_Header_Straight_1x01P4
1DISPLAY PSUPin_Headers:Pin_Header_Straight_1x02P8
1FINDER-36.11.4001relay:Relay_SANYOU_SRD_Series_Form_CRL1
1H_M_S SELECTORPin_Headers:Pin_Header_Straight_1x02P5
1INPUT VOTAGEPin_Headers:Pin_Header_Straight_1x02P1
1LATCH ENABLEPin_Headers:Pin_Header_Straight_1x03P3
1RResistors_ThroughHole:Resistor_Horizontal_RM7mmR2
1ROTARY_ENCODERPin_Headers:Pin_Header_Straight_1x03SW1
1SOUNDPin_Headers:Pin_Header_Straight_1x01P6

Questions

What parts does the LowerBoard use?

23 parts, built around the ATMEGA328P-PU and BC557. 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 LowerBoard KiCad files?

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

Can I use the LowerBoard 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 layers143.5 × 64.8 mmNixie proj, the printed circuit board in 3D

    Nixie proj

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

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

    Clock

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

    26 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 layers94.5 × 67.6 mmAtmegaStepperDriver, the printed circuit board in 3D

    AtmegaStepperDriver

    eGuardianDev/atmegaStepperDriver

    Open source stepper driver powered by atmega328p chip. First prototype designed for used in 3D printer.

    102 parts2GPL-3.0
  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers178 × 145 mmUltra DB X51 v1, the printed circuit board in 3D

    Ultra DB X51 v1

    ExploreEmbedded/8051_DevelopmentBoard

    Design files and sample code for 8051 development Ultra Boards

    145 parts70
  • 2 layers148.8 × 132.2 mmUsbflashprog, the printed circuit board in 3D

    Usbflashprog

    robsonsmartins/usbflashprog

    A memory device programmer (Flash/EPROM/E2PROM) board and software, connected to PC by USB port.

    125 parts36
  • 2 layers47 × 25 mmMonotron cv adapter, the printed circuit board in 3D

    Monotron cv adapter

    matthewcieplak/monotron-cv-adapter

    A eurorack control voltage to Korg Monotron CV adapter board.

    8 parts35
  • 2 layers83.8 × 72.4 mmVoice board, the printed circuit board in 3D

    Voice board

    Windfisch/analog-synth

    A low-cost semimodular analog synthesizer

    131 parts31GPL-3.0
  • 2 layers13 × 0.5 mmKamstrup, the printed circuit board in 3D

    Kamstrup

    Hal9k-dk/kamstrup

    Kamstrup IR-øje

    11 parts19