my nixie clock project

nixer: the evolution of a hacked design.
introduction:

the obvious next step from my led clock was of course, a nixie clock. i became quite enraptured with the idea of designing and building my own nixie clock once i realized what nixie tubes were, so i bought some IN-8 (ИН-8) nixie tubes from ebay and went to work on a clock design.

at first, my design was crude. using eagle, i put together a clock which used cd4016 decade counters, mpsa42 cathode drivers, and an avr, as well as an integrated boost controller. my mistakes were numerous, and they resulted in the frying of an atmega8535 and an stk500. :/

my second design used a max1771 boost converter and an avr which drove six 74141 nixie drivers through sn74hc595 shift registers. this design was too expensive to even try, so i scrapped it. (i used an autorouter to route the traces on the board anyways, so it's a good thing it never went anywhere... never trust the autorouter! :P)

the nixer mainboard:

finally, i decided to rectify the (120vac) mains to 170vdc for the tube voltage and use a multiplexed setup: ten mpsa42 cathode drivers and six mpsa92+mpsa42 anode drivers. the atmega16 receives a pulse-per-second interrupt by prescaling the signal from a 32.768khz watch crystal. a second timer/counter is used to multiplex the nixie tubes at 31.25khz. of course, there are switches to increment the hour and minute.

nixer mainboard pics:

here are the designs for the main controller board of nixer:

nixer-sch.png nixer-brd.png
mainboard materials listing:
nixer mainboard bill of materials
part no. description quantity price ea. subtotal
556-ATMEGA16-16PU ATmega16 16kB flash micro 1 1.42 1.42
293-1M-RC 1M 1/2W carbon film resistor 6 0.09 0.54
293-75K-RC 75k 1/2W carbon film resistor 3 0.09 0.27
293-22K-RC 22k 1/2W carbon film resistor 12 0.09 1.08
293-10K-RC 10k 1/2W carbon film resistor 10 0.09 0.90
512-MPSA42 50MHz 300V NPN bipolar transistor 16 0.24 3.84
512-MPSA92 50MHz 300V PNP bipolar transistor 10 0.21 2.10
73-XT38T 32.768kHz 20ppm watch crystal 1 0.30 0.30
total: 10.45
nixer mainboard code:

the code for nixer is C linked against the avr-libc open-source library for avr micros. avrdude commands are already available through the makefile included. the gerber zipfile is ready for sending to batchpcb, if you were interested.

the boost converter:

testing the driver circuitry with the 170vdc from the wall, while it proved the driver circuits worked, fried a few switches and diodes along the way... so, as a quick fix to ensure the safe operation of the device for years to come (and in other countries) i designed a simple attiny13a-controlled boost converter to step up 12vdc from a wall-wort into the 170vdc required by the IN-8.

the avr (attiny13a) runs a simple C program that monitors the voltage at the output of a resistor-divider and adjusts the duty cycle of its internal 31.25khz pulse-width modulation peripheral. the RAM size of the attiny13a is a tiny (pun?) 1kB, so no fancy PID controls here.

boost converter pics:

here are the designs for the power supply board of nixer:

smps-sch.png smps-lay.png smps-brd.png
boost converter materials listing:
boost converter bill of materials
part no. description quantity price ea. subtotal
580-18R104C 100uH 1.2A power inductor 1 1.42 1.42
299-2M-RC 2M 1/8W carbon film resistor 1 0.09 0.09
299-75K-RC 75k 1/8W carbon film resistor 1 0.09 0.09
299-51K-RC 51k 1/8W carbon film resistor 1 0.09 0.09
556-ATTINY13A-PU ATtiny13A 1kB flash micro 1 1.40 1.40
511-BYT01-400 1A 400V ultrafast diode 1 0.40 0.40
511-STTH102 1A 200V ultrafast diode 1 0.37 0.37
647-UPT2D471MRD 470uF 200V electrolytic 1 4.40 4.40
512-LM7805CT 5V 1.5A linear regulator 1 0.37 0.37
511-IRF630 200V 10A switching N-MOS 1 1.13 1.13
80-C330C105Z5U5CA 1uF 50V Z5U ceramic 1 0.46 0.46
total: 20.67
boost converter code:

again, the code is in C. nothing special here...

photos of the progress:
pic01.jpg pic02.jpg pic03.jpg
pic04.jpg pic05.jpg pic06.jpg
pic07.jpg pic08.jpg pic09.jpg
pic10.jpg pic11.jpg pic12.jpg
pic13.jpg pic14.jpg pic15.jpg
pic16.jpg pic17.jpg pic18.jpg
pic19.jpg pic20.jpg
video of the finished product: