-
Set the time over serial
10/26/2020 at 18:11 • 0 commentsTo keep the design simple I decided to adjust the time only with a serial command.
Most of the logic comes from the DS3231_set example code.
The Arduino listens on the serial connection with 9600 baud.It accepts the following string:
YYMMDDwHHMMSSx
YY= two digit year (example '20')MM=two digit month (example '10')
DD=two digit day (example '26')
w=separator
HH=two digit hour (exampel '19')
MM=two digit minute (example '10')
SS=two digit second (example '20')
x=sparator at the end
Full example would be:
201026w191020x
for the 26th of October 2020, 19:10:20
To set the date with a Linux computer just type:
stty -F /dev/ttyUSB0 -hupcl echo -n "201026w191020x" > /dev/ttyUSB0
-
Creating the case
10/25/2020 at 18:13 • 0 commentsThe case consists of a empty 1HE server power supply. To make it a bit more interesting I added some handles, mesh and elements I scraped from an old case I found on the flea market.
-
Replacing tubes
10/25/2020 at 18:00 • 0 commentsBy assembling the case of the clock I managed to break two of the tubes. The case was quite tight and caused some pressure on the glass tubes. Luckily I had two spare tubes so I replaced them and added more space in the case.
However unsoldering the broken glass tubes was quite stressful.
-
Soldering the second pair of Numitrons
10/25/2020 at 17:55 • 0 commentsThe next step was to solder the next pair of Numitrons to the PCB.
Due to the usage of simple shift registers, the PCBs can be chained together.
-
Soldering the first Numitron pcb
10/25/2020 at 17:49 • 0 commentsThe first step was to solder the Numitron tubes to the pcbs. The PCBs are quite simple and just consist of a pair of shift registers, two tubes and a diode. I found the pcb here.
After soldering the tubes I connected the Arduino and created the mapping for each number. The mapping can be found in the linked Github repository. The idea is to map the right bitmapping to each number for one tube:
byte digit[10]= {B00100001, B11111001, B00010101, B10010001, B11001001, B10000011, B00000011, B11110001, B00000001, B11000001};