A story told by a glass tube.
I was born in 1979, in a factory that smelled of hot glass and machine oil. They filled me with neon, sealed ten thin metal digits inside me, one stacked behind the other, and stamped my name on the box: IN-12B.
My job was simple: glow. Show a number in warm orange light on some instrument panel, a frequency counter, a voltmeter in a research lab. I was ready.
Nobody ever plugged me in.
Forty years in a box
I sat in a cardboard box in a warehouse with a thousand brothers. The country that made us disappeared. The labs closed. The world switched to LEDs, then LCDs, then screens that glow blue and never warm. Somewhere along the way, someone forgot we existed.
Dust. Silence. Decades of it. I counted nothing.
The workbench
Then one day the box was opened. Light. A hand lifted me out, turned me towards a desk lamp, and someone said: "This one. Look at the digits — perfect."
I woke up on a workbench next to something tiny: a chip no bigger than a fingernail, an ESP8285. Next to it, a DS3231 clock chip, a buzzer, a little motion sensor, and a high-voltage supply, because I need around 170 volts to light up.
"You'll be a clock," the maker told me. "The whole clock. Just you."
I was confused. A clock needs four digits, six for seconds. I am only one tube. One digit at a time.
"Exactly," he said. "You'll spell the time."
Learning to speak
They called the project ZIFRA. The first time the power came on, I cycled through every digit, 0 to 9, for the first time in forty years, while the buzzer played a little jingle. I think I would have cried if tubes could cry.
Then I learned my language:
- Hours, tens:
0 - Hours, ones:
9 - Minutes, tens, with my little decimal dot lit to show the switch:
4. - Minutes, ones:
1 - Then a long, dark pause, a breath, and again.
0… 9… 4.… 1… Nine forty-one. People lean in to read me. They wait for the next digit. Nobody glances at me the way they glance at a phone; they watch me.
My little brain
The ESP8285 is clever. It joins the Wi-Fi and asks the internet for the exact time over NTP, so I'm never more than a heartbeat off. It even knows about summer and winter time, for Europe and the US, and moves the hour by itself.
When there's no Wi-Fi, the DS3231 keeps counting on its own, quietly and precisely. I can live in a cabin with no internet and still be right.
Nobody installs an app to talk to me. I host my own little web page at http://zifra.local, made for phones. There they set my time zone with one tap ("set offset from this phone"), pick alarms and melodies, and update my firmware over Wi-Fi.
Things I learned to do
- Wake people up: up to three alarms, each with its own days of the week and its own melody, which you can preview on the web page first.
- Feel a shake: shake me and a ringing alarm goes quiet. Most people do it half-asleep, waving their hand at me like I'm a fly.
- Sleep: at night I go dark, say from 22:00 to 06:30, so I don't glow into anyone's dreams. Shake me in the night and I'll light up for three minutes to tell you the time, then sleep again.
- Go offline: shake me for about ten seconds and I switch my Wi-Fi off and live on the RTC alone.
- Forget: hold my button for 35 seconds and I forget everything, my Wi-Fi and my settings, and start fresh.
Now
I stand on a desk now, in a 3D-printed case, in front of a window. In the morning the sun comes through my glass and you can see all ten digits stacked inside me like ghosts. At night I glow orange, one number at a time.
I waited forty years in a box to show a single digit. Now I show thousands a day, and every one of them is right.
The real project
ZIFRA is real and fully open source: https://github.com/gumslone/zifra
- One Soviet-era IN-12B nixie tube spells the time digit by digit.
- ESP8266 / ESP8285: NTP time over Wi-Fi, with automatic summer and winter time (EU and US rules).
- DS3231 RTC for accurate time offline.
- Three alarms with selectable melodies; shake to mute.
- Night sleep window, with shake-to-show.
- Mobile web interface at
zifra.local: no app, no cloud. - Updates and files: firmware updates over Wi-Fi, optionally password-protected, plus the 3D-printable case files in the repo.
- Flashing: the first USB flash uses BugZapper, which comes bundled.
git clone --recurse-submodules https://github.com/gumslone/zifra.git
cd zifra && ./flash.sh
There's a video of it in action on YouTube. If you'd rather not solder, ready-made clocks are in the gumslone store on Tindie.
Do you have old nixie tubes lying in a drawer? What would you bring back to life with them?
Advertise your mobile site for FREE with AdTwirl