Project tutorial

The ONE TUBE™ Easiest Arduino Nano Nixie Clock Project Ever © GPL3+

Cheapest and easiest Nixie clock in the world, the ONE TUBE™. Open source is the way. ( or use, UNO-Pro Mini/Micro-ESP )

  • 3,176 views
  • 7 comments
  • 10 respects

Components and supplies

Ard nano
Arduino Nano R3
328p version 16mhz ( can come with old bootloader but you can change that in the IDE ) under the processor menu bar where you chose the port and board type.
×1
Mfr 25frf52 100r sml
Resistor 100 ohm
But you can use any in the range from 68 Ohm to 100 Ohms if you have no specific one, it is just for the brightness. DO NOT USE IT WITHOUT.
×8
11026 02
Jumper wires (generic)
×1
Adafruit industries ada239 image 75px
Solderless Breadboard Full Size
For testing and debugging before you solder it all up.
×1
Maxim ds1307%2b
Real Time Clock (RTC)
I used the highly efficient RTC DS3231, You need to set the time first. You can also use the RTC DS1307, you don`t have to change anything in the code, it is uploaded with AM/PM 12 hour setting. can be set in 24 hours but I had problems with that.
×1
313j9z2e56l
Pocket Solder- 60/40 Rosin Core 0.031" diameter
But if you don`t have 0.3mm tin you can use your own brand and sizes.
×1
flux
Use flux to solder, it makes your life easier.
×1
Nixie Tube IV-9 Numitron
This tube and setup works exactly like a 7 segment display, so 1 ground and the rest is for display. 75 Ohm/100 Ohm and they connected on each segment of IV9 tube, a,b,c,d,e,f,g, and dot, so eight resistors. and nr 1 Common ( PIN 1 ) is Gnd
×1
project box
A box to fit it all in.
×1

Necessary tools and machines

09507 01
Soldering iron (generic)
Temp 300C, and flux your wires and connections first, It will make an amazing nice bonding, do not use it longer than 3 seconds on the Tube legs.

Apps and online services

Ide web
Arduino IDE
I used 1.8.3, if you use a clone nano, it can be that you get an error, the solution is just to set under processor in the menu bar, OLD BOOTLOADER 328P. sometimes it comes with an old bootloader, so just choose that. And install the RTC3213 Library, otherwise, you get errors. But most likely it is already installed in Arduino IDE, you need it to set the time first on the RTC whichever one you prefer to use of the 2 I mentioned.

About this project

  • First Clock Ever Invented Was My Grandma.
SEE IT TO BELIEVE IT. ( Best Clock Ever )

The Nixie Clock that let you see the time in a beautiful way, these tubes come from the Soviet era, they are so old and are not produced anymore but still available till today for us to re-love them. It works on a Arduino Nano and an DS3231 real time clock chip, and is in my eye`s almost the simplest project i seen here so far for advanced Hacksters but also the beginners. Don`t be afraid to ask for help, I am here to get YOUR project to work.

Time. Time, and time is all we think of, we have not enough of. If we could turn back time, if I could turn back time, If I could buy time! I saw a old project here,

This is an idea from my brain to a paper, and from that paper to a 3D drawing on a computer and from that to a real object about time. I am a clock junky.

I seen a old blog of the life of Kenneth he made this with a normal 7 segment led, so this could be easily done with any other 7 segment with common ground pin, link, http://blog.thelifeofkenneth.com/2009/11/seven-segment-led-arduino-clock.html

Only I USE A COMPLETE OTHER RTC CHIP that is MORE ACURATE and BETTER the 3231 RTC

Why? Because I have less time then probably all of you. And that is why this is my burden for the Time I have left. Read my story on our website: https://www.wannaduino.com/

As you noticed on my other builds I also LOVE the Arduino Nano, I try to use it as much as possible in my Hackster Projects. It is cheap and easy for beginners but also great to use for advanced users. This clock will turn heads 100%, I even dare to say it will be FEATURED. It is that cool. It is Art, It all was after an idea of a seven segment display clock project from Kenneth on the internet.

1 DAY LATER, UPDATE: AND THIS BUILD HAS BEEN FEATURED super happy about that. Code will be posted in the Github repository asap.

Highly accurate RTC DS3231 IC chip

USB power, so you can power it from almost everywhere

https://www.wannaduino.com or #wannaduino on Instagram. For some more info and back scene insights. Tell me here, is this a clock you like???

Code

DS3231_Simple.inoC/C++
Arduino code to set the Time
// CONNECTIONS:
// DS3231 SDA --> SDA
// DS3231 SCL --> SCL
// DS3231 VCC --> 3.3v or 5v
// DS3231 GND --> GND

/* for software wire use below
#include <SoftwareWire.h>  // must be included here so that Arduino library object file references work
#include <RtcDS3231.h>

SoftwareWire myWire(SDA, SCL);
RtcDS3231<SoftwareWire> Rtc(myWire);
 for software wire use above */

/* for normal hardware wire use below */
#include <Wire.h> // must be included here so that Arduino library object file references work
#include <RtcDS3231.h>
RtcDS3231<TwoWire> Rtc(Wire);
/* for normal hardware wire use above */


void setup () 
{
    Serial.begin(57600);

    Serial.print("compiled: ");
    Serial.print(__DATE__);
    Serial.println(__TIME__);

    //--------RTC SETUP ------------
    // if you are using ESP-01 then uncomment the line below to reset the pins to
    // the available pins for SDA, SCL
    // Wire.begin(0, 2); // due to limited pins, use pin 0 and 2 for SDA, SCL
    
    Rtc.Begin();

    RtcDateTime compiled = RtcDateTime(__DATE__, __TIME__);
    printDateTime(compiled);
    Serial.println();

    if (!Rtc.IsDateTimeValid()) 
    {
        // Common Cuases:
        //    1) first time you ran and the device wasn't running yet
        //    2) the battery on the device is low or even missing

        Serial.println("RTC lost confidence in the DateTime!");

        // following line sets the RTC to the date & time this sketch was compiled
        // it will also reset the valid flag internally unless the Rtc device is
        // having an issue

        Rtc.SetDateTime(compiled);
    }

    if (!Rtc.GetIsRunning())
    {
        Serial.println("RTC was not actively running, starting now");
        Rtc.SetIsRunning(true);
    }

    RtcDateTime now = Rtc.GetDateTime();
    if (now < compiled) 
    {
        Serial.println("RTC is older than compile time!  (Updating DateTime)");
        Rtc.SetDateTime(compiled);
    }
    else if (now > compiled) 
    {
        Serial.println("RTC is newer than compile time. (this is expected)");
    }
    else if (now == compiled) 
    {
        Serial.println("RTC is the same as compile time! (not expected but all is fine)");
    }

    // never assume the Rtc was last configured by you, so
    // just clear them to your needed state
    Rtc.Enable32kHzPin(false);
    Rtc.SetSquareWavePin(DS3231SquareWavePin_ModeNone); 
}

void loop () 
{
    if (!Rtc.IsDateTimeValid()) 
    {
        // Common Cuases:
        //    1) the battery on the device is low or even missing and the power line was disconnected
        Serial.println("RTC lost confidence in the DateTime!");
    }

    RtcDateTime now = Rtc.GetDateTime();
    printDateTime(now);
    Serial.println();

	RtcTemperature temp = Rtc.GetTemperature();
	temp.Print(Serial);
	// you may also get the temperature as a float and print it
    // Serial.print(temp.AsFloatDegC());
    Serial.println("C");

    delay(10000); // ten seconds
}

#define countof(a) (sizeof(a) / sizeof(a[0]))

void printDateTime(const RtcDateTime& dt)
{
    char datestring[20];

    snprintf_P(datestring, 
            countof(datestring),
            PSTR("%02u/%02u/%04u %02u:%02u:%02u"),
            dt.Month(),
            dt.Day(),
            dt.Year(),
            dt.Hour(),
            dt.Minute(),
            dt.Second() );
    Serial.print(datestring);
}
FOR THE CLOCK CODE JUST ASK OR GO TO Mirko PavleskiC/C++
/ ASK FOR CODE, OR GO TO Mirko Pavleski

Custom parts and enclosures

V2 of the One Tube Nixie Clock
one_tube_idea3d_Wb8o3kH0Q4.3mf

Schematics

Pin connection nixie tube to Arduino Nano
Pin connection nixie tube to Arduino Nano
Pin connection pic nsuiixfoha
Pin connection nixie tube to Arduino Nano
Pin connection nixie tube to Arduino Nano
iv9_pinconnection31345_gM6yFrM50x.odt
one_tube_sc_leG2anUnWu.png
One tube sc leg2anunwu
one_tube_2q1cPD9RnX.fzz
one_tube_2q1cPD9RnX.fzz

Comments

Similar projects you might like

7-Segment Clock with Arduino Nano + DS3231 + LDR

Project tutorial by Ingo Lohs

  • 11,511 views
  • 21 comments
  • 32 respects

RTC Based Clock

Project tutorial by shivakumarj1995

  • 12,989 views
  • 15 comments
  • 17 respects

Arduino Nano Clock with 4x64 LED Matrix

Project tutorial by M.V.P.

  • 7,533 views
  • 16 comments
  • 29 respects

Analog Style LED POV Clock

Project tutorial by Mirko Pavleski

  • 6,669 views
  • 2 comments
  • 26 respects

Arduino Shield NCS314 NIXIE Tubes Clock IN-14

Project tutorial by GRA_AND_AFCH

  • 24,430 views
  • 8 comments
  • 76 respects

Complete Digital Clock Including Alarm and Motion Sensor

Project tutorial by LAGSILVA

  • 19,155 views
  • 21 comments
  • 65 respects
Add projectSign up / Login