aliask / ledmatrix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LED Matrix Server

LED Matrix Server runs on a Raspberry Pi and passes incoming streaming video data to a connected WS2812 LED Matrix.

LED Matrix Context Diagram

Shiny lights

Hardware

Compatibility

This utility should perform adequately on the following devices:

  • Raspberry Pi 3A+
  • Raspberry Pi 3B+
  • Raspberry Pi 4B
  • Raspberry Pi Zero 2

Earlier devices may also work but may run into performance issues, especially with higher framerates.

LED Matrix Module

I used two 16x16 modules from AliExpress wired in series for a display size of 32x16 pixels.

In theory, all of these LEDs could draw more than 10A (1500 individual LEDs), but after connecting to my bench power supply I didn't see anything higher than a couple of amps, even at full brightness.

I decided to be lazy and run the matrix directly from the Raspberry Pi power line, which means making sure your USB power supply is a good brand. It needs to feed the Pi and all these LEDs.

Wiring Diagram

Installation

This project has been Dockerised to assist with dependency management and portability.

Follow these steps on the Raspberry Pi to get this working.

  1. Ensure docker and docker-compose are installed and working

  2. Clone this repo ๐Ÿ‘

git clone git@github.com:aliask/ledmatrix.git

  1. Build the Docker image ๐Ÿ‹

docker-compose build

This will take a while, depending on which model you have.

  1. Run it! ๐Ÿ‘Ÿ

docker-compose up -d

Photos


Related Projects

https://github.com/aliask/radmat - Stream the BOM weather radar loop https://github.com/aliask/ScreenCast - Stream a portion of your screen from a Windows machine https://github.com/aliask/gifstreamer - Stream a GIF

https://github.com/rpi-ws281x/rpi-ws281x-python - Library to interface to the LEDs

About

License:MIT License


Languages

Language:Python 97.3%Language:Dockerfile 2.7%