RGB LED 64x64 module

This article illustrate how to build a Telegram controlled info panel based on Raspberry Pi and a RGB 64x64 pixel module

Install rpi-rgb-led-matrix

Install the rpi-rgb-led-matrix following this article HAT-A3 - Led RGB controller for Raspberry Pi

Test the HAT-A3 board and RGB panel from command line with this commands:

If you are ssing a LEDRGB-05 Indoor 64x64 P.3.91 pich type:

sudo ./led-image-viewer  --led-rgb-sequence=GBR --led-rows=64 --led-cols=64 --led-multiplexing=1 --led-slowdown-gpio=2 twitter.png

If you are using two LEDRGB-05 Indoor 64x64 P.3.91 pich type:

sudo ./led-image-viewer  --led-rgb-sequence=GBR --led-parallel=2 --led-rows=64 --led-cols=64 --led-multiplexing=1 --led-slowdown-gpio=2 -C pattern_128x64.png

If you are using a otdoor 64x64 P.3.91 pich type:

sudo ./led-image-viewer  --led-rgb-sequence=RGB --led-rows=64 --led-cols=64 --led-multiplexing=1 --led-slowdown-gpio=2 twitter.png

Install Node-RED on Raspberry Pi 3 B+:

Type at command line prompt:

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Enable the systemd service by typing:

sudo systemctl enable nodered.service

Then start it:

sudo systemctl start nodered.service    

Install RedBot

RedBot is a collection of Node-red nodes to implements a telegram Bot

npm install node-red-contrib-chatbot

Node-red flow

Open your browser on http://raspberrypi.local:1880 and import this flow:

Insert yout Telegram Token and send message, photo, video and animation to your RGB panel.

Links

Buy