Nixie Tube IoT Clock

Overview

This internet alarm clock takes some old war tech and mixes it with new age hardware to create an interesting time piece for any home.A GPS unit sources the latitude and longitude of the clocks location which is used to accurately check the current weather conditions of its location and display constant updates using pictures to an LCD. Using an internet connection and some custom PCB's, the current time for your local area will display on Nixie Tubes.

What are Nixie Tubes?

A glass tube contains a wire mesh anode, cathodes shaped like numerals, and a neon gas at a low pressure, in this case they provide an numerical display using glow discharge. The Anode is supplied with high voltage (170V) with series ballast resistor and one of the cathodes are grounded to glow for a value from 0-9 or dot.

Each tube needs 170-200V on anode, and one grounded cathode, The Tubes can be multiplexed which reduces area and cost dramatically. Only one cathode bus is needed, no need for individual cathode buses for each tub so each tube has individually controllable anode switches, but share common cathodes. This is achieved through multiplexing.

Multiplex procedure

Only the anode of the first tube is turned on, and the cathode corresponding to the first number is turned on. Second tube anode is then turned on, then the cathode with the second number is turned on, and so on. This process is cycled for all tubes repeatedly at a fast rate

300

The PCB board designed for this project were creating using KiCAD, a free and open source PCB design software. The necessary files to download and review the PCB schematics are attached bellow.

PCB

Demo Video

/media/uploads/fischk08/20161215_161535_001.mp4

Components

Mbed Microcontroller

Nixie Tube Motherboard Custom PCB

Details

  • Drives tube holders
  • Exposes shift registers to the host uC
  • Shift registers drive cathode HV transistors
  • Also controls anode and LEDs for each tube holder
  • Fabbed by MakerStudio.cc

400

Wiring

mbed1Nixie Mother Board
p24sdi
p23scl
p22rcl
p1cen
3.3Vcc
gndVcc
  • Mother Board must also be given 12 V

4x Nixie Holder Custom PCB

Details

  • Provide socket for Nixie Tube for toolless replacement
  • HV driver for anode (optocoupler)
  • LED illumination
  • Cathodes are exposed with IDC block connector for multiplexing
  • Custom PCB fabbed by OSH Park

400

Wiring

Nixie Mother Board -> Nixie Holder1->Nixie Holder_n Connected using Ribbon cables with multiple IDC block connectors.

IN-12B Nixie Tubes (4x)

Can be purchased from ebay in-12b Nixie Tubes

200

GPS Module Adafruit Ultimate GPS Breakout

https://www.adafruit.com/product/746

200

Wiring

mbedGPS
V5Vbat
p13TX
p14RX
gndgnd

Ethernet

https://www.sparkfun.com/products/retired/8790

200

Wiring

mbedethernet
TD+P1
TD-P2
RD+P7
RD-P8

uLCD-144-G2

200

Wiring

mbeduLCD
VU5V
GndGnd
TXP28
RXRXP27
ResetP29

Speaker

Speaker

https://www.sparkfun.com/products/11089

SparkFun Mono Audio Amp

200

https://www.sparkfun.com/products/11044

Wiring

mbedTPA2005D1Speaker
gndpwr - (gnd), in -
Vout (3.3V) or 5Vpwr +
p18 D/Ain +
out ++
out --
Any DigitalOut px(optional)S (low for shutdown)

Light Sensor CdS Photocell

200

https://www.adafruit.com/product/161

Wiring

mbed1Photocell
p191
gndgnd

Bluetooth module HC05-Module

200

Wiring

mbed1HC-05
p9RX
p10TX
gndgnd
V5Vcc

Discussion

Due to RAM and library compatibility limitations, one MBEDs using an older build revision was utilized. The mbed provides time and alarm clock functionality, and weather data from the internet. Bluetooth messages can be received by the mbed for debugging. The uLCD accompanying MBED displays the weather conditions based on queries to a yahoos weather API and displays an image associated to yahoos weather codes, the images are stored locally on the uLCD using an SD card. The functions used to control the Nixie tubes were built into a custom library. The library allows for setting each individual tube or setting all tubes at once, as well as a function that dims the brightness off all tubes by a set amount. Using the photocell and the dimming function allows for the tubes to decrease in brightness at night and increase when needed during the day. The figure below illustrates the concept discussed.

Import libraryNixieTube

Provides class structure for simple control of Nixie Tubes using custom PCB

Import programFinal_Lab_v1

Final Project for 4180 Nixie Tube IoT Clock

Further Development

Update Bluetooth compatibility to change how improve how the alarm is set on the clock. Implement redundancy measures for time such that if Ethernet is unavailable GPS time will provide the static time on the clock. It would be beneficial to reduce RAM usage by putting large libraries, such as the Ethernet libraries, in scope.

Contributors

Don Gi Min(Section A) Emilly Pitts (Section B) Karl Fischer (Section B)

References


Please log in to post comments.