Controlling an LED matrix from a website hosted on a raspberry pi
- 2 64x32 RGB LED Matrix
- Adafruit RGB Matrix Bonnet for Raspberry Pi
- Any normal size raspberry pi (so that the bonnet can fit on top of it)
- Boot your Pi with raspbian and with a network connection
- Follow the wiring guide from @hzeller (link)
- Install docker and docker-compose
- create a
.env
file in the same directory asrpi-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
If you have a single matrix, set LED_MATRIX_COUNT
to 1, for a chain of 2, set
it to 2 and so on.
- Run the website with:
docker-compose up
The random button yields a random phrase and colors to test the sign: