thumbedmonkey / NeoMatrix-FastLED-IR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NeoMatrix-FastLED-IR

This is a combined example code that does neopixel animations while listening for IR commands (given a capable enough chip) and while animating a neopixel matrix. It is written/tested on ESP8266 and ESP32. It should also work with minimal changes on teensy.

This is a fork of https://github.com/marcmerlin/FastLED-IR and adds FastLED-Neomatrix / SmartMatrix::GFX code:

It uses these libraries

Hardware Support

This code was originally written for ESP8266 running a 24x32 Neopixel Matrix, and I later moved to ESP32 running 64x96 SmartMatrix, and eventually ported the code to Raspberry Pi where it now runs via rpi-rgb-panel at 128x192 via the ArduinoOnPC compat layer.
While the code is meant to work on all 3 platforms, some time after tag 20200307_last_ESP8266 ( https://github.com/marcmerlin/NeoMatrix-FastLED-IR/tree/5d5ce13e24b5d6c08fbcb5a46119bb32f51a1af8 ) I added Wifi support on ESP32, and moved the hardcoded demo config from code to a demo_map.txt read from the filesystem. This allows modifying the file at runtime, but not on SPIFFS. Running FatFS/LittleFS on ESP8266 just takes too much RAM, so if you are set on using ESP8266 (but really, why? Please buy an ESP32) then you should use the code at tag 20200307_last_ESP8266 (this is also a good place to get the code before I added Wifi support in case Wifi is an issue for you, and Wifi can be turned off with a #define).

More generally you can find historical tags here https://github.com/marcmerlin/NeoMatrix-FastLED-IR/tags

Photos and videos

https://www.youtube.com/watch?v=tU_wkrrv_4A

On NeoMatrix Backend (FastLED::NeoMatrix) 24x32, running on ESP8266 dsc09944

On SmartMatrix backend (SmartMatrix::GFX), 64x96, running on ESP32 image image

And on rPi/rpi-rgb-panel backend, 128x192, running on Raspberry Pi3 image

About

License:Apache License 2.0


Languages

Language:C 64.3%Language:C++ 35.7%Language:Makefile 0.0%