Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aschuma/max7219-led-matrix-clock-mqtt-display
Visualizes MQTT events on a Max7219 led matrix / raspberry pi (https://youtu.be/OGFmESPtSfg)
https://github.com/aschuma/max7219-led-matrix-clock-mqtt-display
iot max7219 mqtt python raspberry-pi
Last synced: 5 days ago
JSON representation
Visualizes MQTT events on a Max7219 led matrix / raspberry pi (https://youtu.be/OGFmESPtSfg)
- Host: GitHub
- URL: https://github.com/aschuma/max7219-led-matrix-clock-mqtt-display
- Owner: aschuma
- License: mit
- Created: 2020-12-27T20:39:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T00:51:11.000Z (about 1 year ago)
- Last Synced: 2024-10-10T22:36:52.658Z (26 days ago)
- Topics: iot, max7219, mqtt, python, raspberry-pi
- Language: Python
- Homepage:
- Size: 274 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Visualizes MQTT events on an 8 x MAX7219 8x8 led matrix / raspberry pi w
Here is what you get when you deploy the application on a PI / MAX7219 led matrix, please click on the image to see more.
[![Demo](https://github.com/aschuma/max7219-led-matrix-clock-mqtt-display/blob/main/img/max-display.jpg)](https://youtu.be/OGFmESPtSfg)
## Some hints for setting up the software and the hardware
* This project uses the luma led matrix driver coded by Richard Hull https://github.com/rm-hull/luma.led_matrix/blob/master/README.rst (Credits to Richard for his excellent work).
* For LED matrix setup/wiring, please consult https://luma-led-matrix.readthedocs.io/en/latest/install.html#pre-requisites, especially the section GPIO pin-outs MAX7219 Devices (SPI)
* As Richard Hull mentiones in https://luma-led-matrix.readthedocs.io/en/latest/notes.html, you should consider to use a logic level converter to bridge the 3.3V (PI) <-> 5V (MAX7219) gap. I'am using https://www.amazon.com/Level-Conversion-Module-Sensor-Raspberry/dp/B07QC929R4/ref=sr_1_16?dchild=1&keywords=5V+3.3V+8-Kanal+Logic+Level+Converter+f%C3%BCr+Arduino+Raspberry+Pi&qid=1609707511&sr=8-16, but other bidirectional converter should work fine too.
* Checkout source code `git clone https://github.com/aschuma/max7219-led-matrix-clock-mqtt-display.git`
* Create a python 3 virtual environment
* Install 3rd party libraries defined in `requirements.txt`
* Copy `config.py.template` to `config.py` and adjust the settings
* Run the `__init__.py` script in the base directory
* Submit MQTT events using `display/` as base path. The payload of the events should be like
```
{
name : ,
description: ,
weight : ,
value : ,
unit : ,
timestamp:
}
```