Skip to content

Commit

Permalink
Added to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guyradford committed Oct 29, 2022
1 parent cbb4767 commit 011425b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Pi Py Clock

I did this project as I needed a new clock and I had an only Raspberry Pi lying around unused and I also wanted to use my new 3D Printer.

The idea was simple, buy an LED matrix, connect it to the RPi, then using python write a very simple clock application that would auto-start on boot.

The LED Matrix uses a MAX7219 Chip driving 4 8x8 LED Matrix boards. This easily connects to the Raspberry Pi via the SPI interface.

Then a quick google search revealed the Python [Luma LED Matrix](https://pypi.org/project/luma.led-matrix/) Library. This library nicely wraps the SPI interface and abstracts the display to an easy to use "Canvas".
It even allows you to set different fonts :)

After playing with the library for a bit I discovered the [silly-clock.py](https://github.com/rm-hull/luma.led_matrix/blob/master/examples/silly_clock.py) example.
I used this as a base, removed some of the "silly" bits, changed the font. This gave me the perfect clock for my project.



## Connecting up Display to RPi1

https://raspi.tv/2013/8-x-8-led-array-driven-by-max7219-on-the-raspberry-pi-via-python
Expand Down

0 comments on commit 011425b

Please sign in to comment.