Skip to content

yuvalabou/spi-vfd-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VFD display clock Using a NanoPi NEO2 (But any SBC with Armbian and SPI Interface should work)

Display model: Noritake-Itron CU20045-UW5J Datasheet, Footprint (Eagle) and 3D model are available on my other repo - Noritake VFD Display

Since the display is using 3 wire SPI and the Pi is using 4 an extra step is needed, Please follow the wiring tutorial from smbaker which I have also based my program on.

The VFD library is a mishmash between smbaker library and the library used by bob thisoldgeek in his RPi-boombox.

please note that since the NanoPi does not have an RTC it needs to access the internet to update it's internal time.

Notable features:

  • python 3 only
  • VFD lib is separeted from the main app so you can use it individually in your own design! just import it and you good to go.

Installation:

Configure your Pi SPI interface (May vary depends on manufacturer and OS) and reboot.

sudo apt-get update
sudo apt-get install -y python python-dev python-pip
pip3 install spidev
pip3 install psutil

git clone https://github.com/yuvalabou/spi-vfd-clock
cd spi-vfd-clock

Running the app:

python3 clock.py

for running in the background just add '&', please note the process id so you could kill it later when needed.

python3 clock.py &

[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee] [buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg [buymeacoffee]: https://www.buymeacoffee.com/HMa8m26

About

Simple clock running on a vfd Display and a NanoPi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages