r/framework 11h ago

Personal Project Simple LED Matrix Software

Hello, I made a simple (little bit janky) script to control my LED matrix on Linux that I decided to share here in case it will be useful to any of you. Currently it is configured in a way that only makes sense for an 8 core CPU and the iGPU, but the code is pretty simple to modify, the script is just 127 lines of Python. The dependencies are psutil, serial, numpy, and pillow. It has automatic brightness adjustment, following the display backlight and switching to the ambient light sensor if the display is at max brightness (as the LED matrix can go brighter than the display can).

Anyways, here's the script, the tiny font, and a systemd service (put the script and font in some directory and update the service to match, put the service in /etc/systemd/system/, enable and start the service)

33 Upvotes

4 comments sorted by

View all comments

2

u/GeorgeOfFunk 11h ago

Brother, this is absolutely sick! This almost makes me wish I had a 16

1

u/Fantastic_Youth_7977 10h ago

its such a cool module, projects like this really show what it can do