Skip to content

mzandrew/led-matrix-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

led-matrix-clock

generates clockface and drives it to an led matrix panel

image of clockface

install

to install, run (from "sudo su" prompt):

 root@2020pi:~# mkdir -p build
 root@2020pi:~# cd build/
 root@2020pi:~/build# git clone https://github.com/mzandrew/led-matrix-clock.git

to run at every boot, edit /etc/rc.local

 root@2020pi:~# vim /etc/rc.local

add a line to that file like so (before the exit 0 line):

 nice /root/build/led-matrix-clock/clock.py &

reboot and enjoy!

notes

This must be run as sudo, since it needs access to /dev/mem. If you know another way to do it, please let me know!

The bonnet+panel uses 130 mA when dark and about 145 mA when illuminated with the shown clockface, so a modest power supply is all that's needed.

thanks

Kudos to the scipython team for posting code to generate clockfaces and to adafruit for posting a good tutorial on how to wire up and use these panels with a rpi rgb matrix bonnet and also to hzeller for the nice library documentation.

About

generates clockface and uploads it to an led matrix panel once a minute

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages