Nixie IN-1 Clock

Nixie IN-1 Clock

Nixie IN-1 Clock
A 6 digit Nixie clock.

Features:

Design Documents

Schematic Diagram - Controller Boardnixie_IN1_schematic.pdf
Schematic Diagram - Backpack Board V1Nixie Backpack I Schematic.pdf
Schematic Diagram - Backpack Board V2Nixie Backpack II Schematic.pdf
3D Print Filesnixie_IN1_mechanical.zip
Source Code - Arduino (clock controller)Arduino.zip
Source Code - PIC12F1822 (backpack V1)pic12f1822.asm
Source Code - PIC16F1615 (backpack V2)pic16f1615.asm

Operation

Power SupplyRequires 12V 1A DC
Power BulbAlways on
Digit TubesAuto shutoff after 30 minutes of no motion
Punctuation BulbsOn with Digit Tubes when GPS time signal is locked on
Knob TurnTest digits, automatically returns to time display
Knob PressTurn knob to change the UTC to local time offset

Dual IN-1 Backpack
The clock is built using three Dual IN-1 Backpack modules and a main controller board. Each Dual IN-1 Backpack has a microcontroller and the drive circuitry for two IN-1 tubes. The backpack is supplied with +5V, +170V, and controlled via a serial interface. The serial interface is 9600 baud receive only, and all the backpacks are connected in parallel.

There are two versions of the Dual IN-1 Backpack.

The first version uses a Microchip HV5622 and PIC12F1822. The HV5622 is a high voltage shift register with latch, which works great because the outputs all change simultaneously. This makes the software easy. The HV5622 chip is rated for 12V and can switch high currents; however it was found to work at 5V as long as it's switching low currents, which is enough for the Nixie tubes. It won't quite work at a lower voltage; it starts dropping out right at 3.3V. This design also includes some anode switches (Q1 and Q2), which are not really needed, so they have been bypassed. However HV5622 is an expensive chip and a little difficult to solder, so the design could be improved.
Nixie Backpack I Schematic
Code for this design

The second version uses a Microchip PIC16F1615 and discrete transistors. This design cheaper and easier to solder by hand. Plus it operates at 5V or 3.3V The design lacks the latch capability, but this makes no practical difference in the display performance.
Nixie Backpack II Schematic
Code for this design

Each backpack is assigned an ID from A to Z. In this clock the backpacks are designated 'H', 'M', and 'S'. The backpack ID is set by connecting one backpack at a time and issuing the special command ATID=X, where 'X' is the ID (A to Z). The ID is stored permanently in the backpack.

Backpack display commands consist of 3 characters; the ID followed by two digit values. If the ID is lowercase then a fade is performed (a cross fade from the current number to the next). Special ID characters '@' (immediate) and '*' (fade) address all backpacks.
Examples:
    @--    (blank both digits in all modules instantly)
    H12    (set module 'H' to '12', instant)
    h12    (set module 'H' to '12', with fade)
    H12M34S56    (show "12:34:56" instantly)

The tube "sockets" are rather disappointing. Modified Molex (02-09-1102/4) connectors are used as tube pin sockets. They are a little too small so some rework is needed to make them fit. Plus they aren't designed to be tube sockets in the first place, so it's impossible to make them fit really well. But they do barely work and the tubes are removable.

5V Backpack Nixie Power Supply*
The Dual IN-1 Backpack normally requires a high voltage power input for the Nixie tube. To run from 5V, this piggyback power supply can be used; it produces about 185V at 5mA, which is enough for two IN-1 tubes.
5V Power Backpack Chain Adapter Schematic
This makes a 5V-only dual IN-1 module.

The voltage regulation is not great. This is how it performs at various load levels...

vInmAinVoutmAoutEfficiency
5.0202100.0No load
5.01501883.075%
5.02601865.477%
5.04201828.977%

Bill of Materials

Part IDQuantityDescriptionSizePartSource
C1,C4,C531uF 100V capacitor1206100VDC 1uF 20%Mouser 963-HMK316BJ105ML-T
C21100uF 6.3V capacitor12066.3VDC 100uFMouser 963-JMK316ABJ107ML-T
C3147pF 100V capacitor080547pF 0805 5%Mouser 710-885012007080
D1,D2,D33100V fast diodeSOT-23BAS16Mouser 771-BAS16-T/R
D4191V Zener diodeSOT-2391V 225mWMouser 863-MMBZ5270BLT1G
L11100uH inducor8mm100uH 20% 1.1AMouser 652-SRN8040TA-101M
Q11NPN transistorSOT-23NSV1C201LT1GMouser 863-NSV1C201LT1G
Q21NPN transistorSOT-23PMBT2222AMouser 771-PMBT2222A-T/R
R11750 Ohm resistor0805750 Ohm 1%Generic
R2122K resistor080522K Ohm 1%Generic
R3,R42100K Ohm resistor0805100K Ohm 1%Generic

Printed circuit board
PCB
PCB Gerber files for this board

* Credit for the original circuit design goes to The LED Artist.

This clock needs high voltage for 3 dual backpack modules, punctuation bulbs, and a power indicator bulb, so a single high voltage module that can provide at least 20mA at 170V is used.

Clock Controller Board
The controller PCB has the Arduino Pro Mini and a bunch of connectors to plug in all the modules.
Clock Controller Schematic
Arduino code for the clock

Nixie Time Display
This clock doesn't have a typical AM/PM indicator. AM/PM is indicated by alternating 12 and 24 hour time formats every 2 seconds.

The clock punctuation is four INS-1 bulbs, which are normally on when the clock is on. If the punctuation is off that means the GPS signal is not locked on.

The power indicator is one INS-1 bulb, which is always on.

Auto-Shutoff occurs after 30 minutes of no motion detection. All Nixies except the power indicator are shut down. Cathode de-poisoning is performed just prior to shutdown.

Automatic cathode de-poisoning is performed every hour of continuous operation. The display will flash for a few seconds during this process.

User Interface
The user interface is a rotary encoder with push.

Motion Sensor Module
A small PIR motion sensor activates the clock.
PIR Sensor Module

Time Base Module
A NEO-6M GPS module provides the primary time base. The processor takes over timekeeping during periods when the GPS signal drops out.
Neo-6M GPS Module

High Voltage Power Supply Module
A generic MAX1771 based high voltage module makes 170V for the Nixies. This tiny module makes just enough current, ~20mA for the clock.
High Voltage Module

Build Pictures

Breadboard Testing
Breadboard

Dual IN-1 Backpack Module
Dual IN-1 Backpack Module Dual IN-1 Backpack Module

Tube Backpacks
Tube Backpacks

Frame with Socket Guides
Frame

Interior
Interior
This has a microwave motion sensor, which was replaced with a PIR motion sensor.

Completed Clock
Completed