evanugarte / rpi-led-controller

Controlling an LED matrix from a website hosted on a raspberry pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpi-led-controller

Controlling an LED matrix from a website hosted on a raspberry pi

Prerequisites:

Running the website

  1. Boot your Pi with raspbian and with a network connection
  2. Follow the wiring guide from @hzeller (link)
  3. Install docker and docker-compose
  4. create a .env file in the same directory as rpi-led-controller to match your led sign settings. For example, a single 32x64 matrix would have the below values:
LED_MATRIX_ROWS=32
LED_MATRIX_COLUMNS=64
LED_MATRIX_COUNT=1

led matrix dimensions

If you have a single matrix, set LED_MATRIX_COUNT to 1, for a chain of 2, set it to 2 and so on.

  1. Run the website with:
docker-compose up
  1. After some time, the website should appear, accessible from port 80 on the pi: image

The random button yields a random phrase and colors to test the sign:

image

About

Controlling an LED matrix from a website hosted on a raspberry pi


Languages

Language:HTML 58.8%Language:Python 38.7%Language:Dockerfile 2.5%