Motivation
The #1 question related to this gadget is, of course, why, WHY,
WHY?! Why would anybody want to build such a thing? Well, the answer is
simple: having joined the NEONIXIE-L (>) nixie
enthusiast Yahoo Group as one of the first members, I decided to create
something different. Clocks using nixie tubes (>)
had certainly existed prior to NEONIXIE-L (although the group gave the Nixie
movement a significant amount of boost and structure), so if my contribution
was to be a clock (which I preferred the most, being a devoted clock
freak myself), it had to be an unusual clock of some sort. Rather quickly
the propeller clock (>) design came to mind;
propeller clocks had also existed before [since the mid-90's], but they all
seemed to use a column of LEDs. Building the world's first nixie tube
propeller clock was just too great of an opportunity to pass on.
In essence, this clock is nothing else than the successful combination of
an exotic display method with an exotic display device.
◆ NEONIXIE-L
The NEONIXIE-L Yahoo group
was founded by nixie gadgetry icon Raymond Weisling on January
27, 2002. As it turned out, Ray had the idea of creating a community for
hobbyists interested in this unique technology, so he started to prowl
eBay monitoring nixie transactions for a short period of time, and politely
approached the buyers [and maybe even the sellers] with his Yahoo group idea.
I happened to be one of the buyers caught up in Ray's web [no pun intended],
but since my nixie purchase was more of an impulse buying than an acquisition
with a concrete plan behind it, I accepted Ray's invitation only with a bit of
reluctance. I also kept thinking, "This is quite a hare-brained idea; he can't
possibly recruit more than a handful of people, so the whole effort is
probably dead in the water." Boy, was I totally wrong... not only that group
membership exploded within weeks, NEONIXIE-L literally became a
life-altering experience for me: thank to the excellent patrons of the
group, I quickly drank my fair share of Kool-Aid from the nixie glass, and
became a serious nixie-fan myself. Five years after being founded, the
group boasts 1600+ members, with new members joining virtually every day.
Note: The group's name is the result of the word "nixie" being
prefixed by "neo-" (meaning "new", from the Greek word "neos"), a subtle
reference to the nixie renaissance the group represents. By no means is
it trying to refer to the neon gas found inside all nixie tubes...!
◆ Nixie Tube Propeller Clock
The first version of the Nixie Tube Propeller Clock was built in the summer
of 2002, and spun out the first complete time/date display on June 27,
2002 at 0:30:52 CDT. This version had a couple of mechanical issues
(see more details in the NTPClock v1 (>) section),
so it was more of a proof-of-concept than a final design. The gadget needed a
serious revision, but as it always happens, I just never had the time to get
around it for four entire years! (Regrettably, the same is true about
this very website, to much of the frustration of several people, including
myself...) Then in the summer of 2006 I said enough is enough,
confiscated the necessary time from other [much less fun] activities,
and finalized the project; the work also included cleaning out the firmware
and drafting the schematic diagram properly. Since the revamp, the NTPClock has
been chugging and churning without a glitch!
The
world's second nixie tube propeller clock was built in January 2006
by Jon Stanley (see his excellent "Electronix and More" site
about his vintage equipment and cool projects).
Hmm... a very good point! But now this website is ready, so
future enthusiasts should have no more problems finding all the necessary information!
(Note: "Nebulus" is my screen name on NEONIXIE-L.)
Hardware
The full schematic diagram in PDF format can be viewed by clicking on the
image below.
The nixie tube, as well as the entire clock electronics driving it, is
placed on the Spinning Board – the circuit board mounted on the floppy drive's
carousel. The heart of the device is a single Microchip PIC16F84A
microcontroller. (One of the goals of this project was to familiarize myself
with the PIC's, and to see how much computing power can be crammed into this
very popular low-end micro.) Port B of the PIC is dedicated to receiving
signals from the environment, such as the Control button, the 12/24H selector
jumper and the photodiode required to provide a stationary display. (The role
and operation of these peripherals are detailed in the PDF document
under the Features (>) section.) The BCD code
output on Port A lights up the digits through the classic 74141
dedicated high-voltage nixie driver chip. (Just like nixie tubes, this chip
has become obsolete as well; see the Links (>)
section for hints on how to get this IC nowadays.)
The toughest challenge, as far as the hardware is concerned, was the
generation of the high voltage required to ignite the nixie tube. Fortunately,
multiple solutions exist; one of the most popular genre is a
switching-mode power supply using a single coil to induce the high voltages.
These circuits are typically based on specialized chips, such as the Maxim
MAX771; an even simpler approach uses a plain 555 timer, see Lance
Turner's nixie power supply kit. The solution employed in the NTPClock is the simplest of all. Most small,
battery-operated fluorescent lights (available in hardware- and variety
stores) contain a tiny circuit that produces the high voltage necessary for
their operation; it is based on a relaxation oscillator connected to a
transformer, and can provide enough high-voltage power to drive a nixie
tube. Such a circuitry yanked out from a fluorescent lamp serves as
the NTPClock's barbaric DC-DC converter.
The output of the circuit is one-way rectified and filtered. Since the
voltage of the unloaded output can reach up to 400 V, a Zener
diode is used to cap the nixie's anode voltage to prevent the infamous
ghosting phenomenon from occurring when none of the cathodes are
driven.
The power to the entire system is provided by the stationary Power Board.
The 12 V needed for the floppy motor is supplied directly from the 4-way
rectified and filtered [unregulated] 9 V AC input voltage. Since the
floppy electronics also requires 5 V, the Power Board houses the 5 V
regulator as well; this voltage is supplied to the spinning board through the
home-made slip ring assembly. (Taking the 12 V DC to the Spinning
Board instead would make it possible to remove the nixie current from the
regulator's load, but it would require a second regulator on the Spinning
Board. Taking the 9 V AC itself would make high voltage generation
easier, but the implementation of the Control button would become a bit
trickier.)
Firmware
The firmware of the Nixie Tube Propeller Clock was written entirely in
PIC assembly. This made it possible to provide an implementation that
fulfills the timing requirements of the propeller clock functionality, and
also remains within the boundaries of the 16F84's very limited resources. (The
only somewhat pressing issue was the fill-up of the 8-deep hardware
stack whenever the waves collide over the poor micro's head - symbolically
speaking. However, with a little trickery the situation could be
contained.)
The time is kept and the Control button is read with the help of the
periodic Timer0 overflow interrupts. In Stationary Mode, the display is
stabilized by detecting the photodiode of the Spinning Board's "index hole"
passing over the stationary infrared LED mounted on the floppy drive
electronics. The turn of the carousel is tracked by carefully crafted code
execution delays in the firmware's background code; this is responsible for
generating the "spatially multiplexed" propeller display.
You can download the NTPClock's firmware using the links below:
Even that odd-ball PIC assembly can be handled by ordinary mortals, but
only if the super counter-intuitive instructions are replaced by a set
of well-designed macros. (This by no means is a criticism of the PIC
assembly language! Some of the instructions are strange because the
microcontroller's architecture itself is unique.) My macro collection
below is intended to mitigate the aforementioned issue.
MyPICMacros.inc
- My collection of useful PIC macros
The new "instructions" were inspired by 68000 and Z80
assembly mnemonics. One important thing to point out is that while the data
transfer macros retained the "destination last" convention suggested by the
original PIC instructions (e.g., "MOVWF"), the comparison macros
follow the "destination first" convention, thus nipping one more source of
counter-intuitivity in the bud.