Simple Nixie Tubes Clock Based on RaspberryPi, adapter and NCS314 shield for Arduino (by GRA and AFCH)
A simple program that show the current system time at the Nixie tubes.
Requared hardware:
- Raspberry Pi any models with 40-pin GPIO connector (Except A and B models).
- Arduino to Raspberry Pi adapter (by GRA & AFCH): https://gra-afch.com/catalog/shield-nixie-clock-for-arduino/raspberry-pi-shield-nixie-tubes-clock-ncs314-for-in-14-nixie-tubes-options-tubes-gps-remote-arduino-columns-copy/
- Arduino Nixie Clock Shield NCS314 (v1.2, v2.x): https://gra-afch.com/catalog/shield-nixie-clock-for-arduino/nixie-tubes-clock-arduino-shield-ncs314-for-xussr-in-14-nixie-tubes/
How to use binary:
-
Download and unzip.
-
Set execute permission "Anyone" to "DisplayNixie" file: https://photos.app.goo.gl/yVWtZkcIU9afhsvI2
-
Enable SPI module in the "Raspberry Pi Configuration": https://photos.app.goo.gl/vH7DtG9nwMzJHwvP2 3.1) or CLI way "sudo raspi-config": https://photos.app.goo.gl/wfoPd8CNLSlJ0bF83
-
Run the program "sudo /home/pi/Downloads/NixieClockRaspberryPi-master/Bin/DisplayNixie clock" : https://photos.google.com/album/AF1QipPrdCjy8WkSl1f51m8EP9go7VUFAiGsy_bjW9pH/photo/AF1QipPch7Yz6RWZKBhiU_U8SIZtXHFvxyfVzh27Byjp
Step-by-Step video: https://youtu.be/-58clsFwA3I
Сommand line options:
-
123456 - any 6 digits. Shield will display these numbers.
-
now - Shield will display current time at the time the command is executed.
-
clock - the program will loop and will update every second of the current time on the tubes.
To compile the source:
Add folder "DisplayNixie" into the workspace of Eclipse: "File"->"Import", "Genral"->"Existing Project into Workspce". p.s. The project uses the "wiringPi" library: http://wiringpi.com/download-and-install/
Autorun the program at startup:
Edit /home/pi/.bashrc file - add string like this: sudo "/home/pi/Documents/Eclipse Projects/DisplayNixie/Debug/DisplayNixie" clock