Introduction: Arduino Nixie Tube Clock - Version 1.0

About: It's dark. You are likely to be eaten by a grue.

Love retrotech? Think nixie tubes are totally rad, and you want to make a thing out of them? Well, have I got news for you! You're in luck - because that's exactly what we're going to do!

You will need the following for the clock itself:

Optionally, you can build a simple box to enclose your clock! This tutorial will not go over that - but I will give you some tips at the end.

You can find links to the code on my github project page, here.

Let's begin!

Original Hardware design: Yan Zeyuan

Original Library design: Weihong Guan

Initial Code Tweaks: Bob Edmiston

Step 1: Preparing Power Supply & Wires

  1. Take the 5V 2A DC Power Adapter, and strip off the ends exposing the wire.
  2. Screw them into the terminal strip, clearly distinguishing between positive and negative.
  3. Strip 2 .18 gauge wires on both ends. On one side, solder some male header pins. These will be used to carry enough power to our power-hungry arduino nixie modules.
  4. Attach the .18 gauge wire and a male to male wire on the other side of the terminal strip for both positive and negative - so wires on the positive screw, and 2 wires on the negative screw. (see picture above).
  5. Plug the DC Power Adapter into the wall, and test the voltage using your favorite multimeter. You should have ~5V. Make sure your polarity is correct.

Step 2: Connecting Arduino Components

To avoid potential damage to your components - please be sure at this point that everything is completely unplugged from power sources, as well as USB.
  • Attach wires from Arduino to ChronoDot.
    • A4 <--> SDA
    • A5 <--> SCL
    • 5V <--> VCC
    • GND <--> GND
  • Attach wires from Arduino to rightmost nixie module
    • 13 <--> SHCP
    • 12 <--> STCP
    • 11 <--> DIN
    • 10 <--> OE
  • Attach male lead wires from terminal block (the thin ones, not the .18 ones) directly into the arduino board.
    • Positive wire from terminal strip <--> VIN
    • Negative wire from terminal strip <--> GND

Reference screenshots for idea of pin-outs if you're lost.

Step 3: Uploading Code to Arduino Components

Unfortunately, this is not a how to use Arduino tutorial. Please be sure you understand how to properly communicate with your board via the Arduino IDE. If you understand these steps, please proceed. If not - I recommend watching some youtube videos to catch up in order to proceed beyond this point.

  1. Be sure to have the arduino libraries from the github repository installed. You will need NixieTube and RTClib libraries installed, as they will be used by our sketches.
  2. Open both the RTC_Set_Time_ds1307.ino sketch, as well as the Nixie_Clock.ino sketch in two separate windows.
  3. With power going to the arduino and the ChronoDot module (should be how you have it at this point), connect to your arduino with USB - which will turn on the board and the ChronoDot, but not the nixie modules at this time.
  4. Upload the RTC_Set_Time_ds1307.ino sketch to the board. Once it has completed without errors, immediately remove the VCC and GND pins from the ChronoDot, and plug them into the 5V and GND pins on the rightmost Nixie module. This will give it enough juice to be programmed properly.
  5. Open the Nixie_Clock.ino sketch, and upload it right away. You will not see the numbers yet at this point (until we've plugged in all the power). Ideally, you will have to do this within a split second of uploading the RTC sketch.

    The first sketch sets the time of the ChronoDot to that of the computer you're using. The second sketch is the actual logic behind the clock, and pulls the time from the ChronoDot. Do it fast enough, and you'll have a very accurate clock.

Step 4: Connecting Everything - IT'S ALIVE!

  1. Take the power and ground back out of the Nixie Tube, and put it back where you had it into the ChronoDot.
  2. At this point, you're ready to plug everything in. DO NOT PLUG THINGS IN HOT. Set up all your connections first, then plug in the DC adapter.
  3. Plug the positive .18 wire into the 5V pin on the leftmost nixie module (reference picture). This should be the bottom pin.
  4. Plug the negative wire into the GND pin on the leftmost nixie module.
  5. Your wiring should now look something like the picture above.
  6. At this point, you should have no USB connections.
  7. Plug in the DC adapter.

If everything has gone correctly, you should see the current time! Please note there is currently no distinguishing between AM and PM. This is standard time, not military time (i.e. the left-most tube will only say 0 or 1).

Step 5: (Optional - Extra Credit) Build a Box!

Woodworking isn't something that comes naturally to most electronics geeks. I chose to buy some cheap oak plywood and design a simple box with finger joints using a design I drafted on graph paper. I used a scroll saw, some wood glue, clamps, a sander with fine grit (#120) and some velcro to design the box you see in the pictures above. There are tons of great tutorials on creating simple wooden boxes right here on Instructables, as well as YouTube. Good luck - and safety first!

Arduino Contest 2016

Runner Up in the
Arduino Contest 2016

Make it Glow Contest 2016

Participated in the
Make it Glow Contest 2016

First Time Authors Contest 2016

Participated in the
First Time Authors Contest 2016