Hi guys!
I have a thing for classic tubes. Just last year I built this clock with some very much appreciated guidance on this forum. Yet again I'm tuning in for some advice.
Aim of the project:
I want the IN-1 Nixie to continuously show me DD/MM/YYYY with a +/-1.5 sec interval between each digit.
Project outline
Just last week I received a couple of IN-1 tubes from a Ukrainian seller, which I plan using to build a single-digit calender. Esthetics will be important as I'm using 2.5mm2 copper wire for the frame (I am aware of the discouraging side-effects of touching certain areas). For esthetic purposes I am planning to use a barebone DS1307 IC with crystal oscillator and a barebone Atmega328. Due to availability and simplicity I do not plan on using a SN74141 or Russian/Chinese equivalent. As my single IN-1 nixie just uses 10 pins. To pull each cathode to ground I will make use of a couple of MPSA42 NPN transistors. Of course taking a base resistor into account.
My question:
Is fairly straight forward, but I can't seem to find out how to (properly) split and convey each value from eg. now.day() into a single arduino output pin.
Many people have built nixie clocks/calenders before, but there don't seem to be that much single-digit ones around. Of course I have been searching this forum and the web prior to posting, but I can't seem to find any resemblance. Therefore I'm reaching out to the Forum for some guidance.
Test sketch so far...
#include <Wire.h>
#include "RTClib.h"
#include <TimeLib.h>
RTC_DS1307 rtc;
void setup () {
while (!Serial);
Serial.begin(57600);
if (! rtc.begin())
{
Serial.println("Couldn't find RTC");
while (1);
}
if (! rtc.isrunning()) {
Serial.println("RTC is NOT running!");
// following line sets the RTC to the date & time this sketch was compiled
// rtc.adjust(DateTime(2022, 11, 22, 20, 18, 0));
// This line sets the RTC with an explicit date & time, for example to set
// January 21, 2014 at 3am you would call:
// rtc.adjust(DateTime(2014, 1, 21, 3, 0, 0));
}
}
void loop () {
DateTime now = rtc.now();
Serial.print(now.day(), DEC);
Serial.print('-');
Serial.print(now.month(), DEC);
Serial.print('-');
Serial.print(now.year(), DEC);
Serial.println();
delay(1500);
}
General idea of what I'm building:
Disregard the spare nixies. They will be for future projects. And yes, I very much enjoy the ancient voltage regulator!