From 011425be281eb6877429777e6953ae70a02d9997 Mon Sep 17 00:00:00 2001 From: Guy Radford Date: Sat, 29 Oct 2022 13:55:48 +0100 Subject: [PATCH] Added to README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a098d66..30fd6f0 100644 --- a/README.md +++ b/README.md @@ -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