WS2812B LED matrix - controlled by Twitch chat
The idea was to make my LED matrix more interactive and controllable by other people.
Twitch (a live streaming site) was used to achieve this.
How does it work:
I pointed a camera on the matrix and stream it on my Twitch channel.
The people watching my stream can type commands in the chat. (for example !001 red)
With these commands they can give every pixel the color they want.
I wrote a python script to read my Twitch IRC chat,
everytime it came across a predefined command (chat message),
It had to split the message in a number and a color.
This information was then send by serial communication to my arduino which then turns on the appropriate LED.
Twitch (a live streaming site) was used to achieve this.
How does it work:
I pointed a camera on the matrix and stream it on my Twitch channel.
The people watching my stream can type commands in the chat. (for example !001 red)
With these commands they can give every pixel the color they want.
I wrote a python script to read my Twitch IRC chat,
everytime it came across a predefined command (chat message),
It had to split the message in a number and a color.
This information was then send by serial communication to my arduino which then turns on the appropriate LED.
How did it start:
Actually I started quite simple with switching only 1 LED ON and OFF
Actually I started quite simple with switching only 1 LED ON and OFF
Next step was 1 LED multiple colors
Now it was time to hook on my 100 pixel matrix.
Video below is a compilation of the first test run. (2500 given commands in 9hrs)
Video below is a compilation of the first test run. (2500 given commands in 9hrs)
After a succesful test run, more commands were added:
Changing full horizontal or vertical lines.
Clear function or full color
uptime command
...
Changing full horizontal or vertical lines.
Clear function or full color
uptime command
...