Enhanced software for the GRA & AFCH NIXIE tube clock. Changes include:
- Always use NTS for signed NTP to set the time, using Netnod NTS servers
- Display the IPv4 address of the wlan0 interface if you press the mode button
- Turn the display on/off when you press the mode button
- Do AntiPoison of the tubes last second of each hour
- Configure when the tubes should be turned on (one time interval per weekday)
This software can replace the DisplayNixie software distributed with the NCS314 package you get via this link:
The original code you can find in this repository, where you also see more information about the code on the clocks you get shipped to you.
https://github.com/afch/NixieClockRaspberryPi
The Nixie Tubes can have a card of version 2.x or 3.x. The two versions of the DisplayNixie binary (DisplayNixie and DisplayNixie3x) in this repository are for each one of the cards.
To install and build the clock do as follows:
Buy the clock, follow instructions to do base install of the RaspberryPi and software for the clock. Ensure the clock works. Look at the instructions in this repository if you have problems: https://github.com/afch/NixieClockRaspberryPi
# systemctl stop systemd-timesyncd
# systemctl disable systemd-timesyncd
# wget https://dl.google.com/go/go1.14.2.linux-armv6l.tar.gz
# sudo tar -C /usr/local -xvf go1.14.2.linux-armv6l.tar.gz
# git clone https://gitlab.com/hacklunch/ntsclient
# cd ntsclient
# make
# ./ntsclient --dry-run --config=./ntsclient.toml
:
^C
# sudo setcap CAP_SYS_TIME+ep ./ntsclient
# sudo cp ntsclient /usr/bin/
# cp ntsclient.toml /etc/
# cp contrib/ntsclient.service /etc/systemd/system
# systemctl enable ntsclient
# systemctl start ntsclient
# make
# sudo make install
Edit /etc/rc.local
to your liking. Launch either DisplayNixie
(for version 2) or DisplayNixie3x
(for version 3) of the card.
Edit /etc/DisplayNixie.conf
to include the time intervals when the clock is to be turned on.