/RainbowSnake

One driver of lights to rule them all

Primary LanguageC

RainbowSnake

LED Server with One-button interface, device-to-device mesh using AP-AP networks, and mobile phone sensor bridge.

Quickstart

  • See config.h for pin settings and board configurations.
  • Connect APA102 as specified in config.h.
  • Install data folder using ESP8266 FS tool
    • Note that you should be using 3M SPIFFS, the files are bloaty.
  • Upload sketch and wait for board to come up.
  • Connect to Rainbow Snake AP, server 192.168.4.1.

Notes

The ESP8266 is terrible at serving multiple files so the app is optimized as such with bootstrap and jquery embedded in script.js/style.css. I recommend minifying your javascript, and there's potential to gzip it for even better performance.

Known Issues

  • The current configuration for the Feather does not work with FastLed, I blame pin 16.
  • The SPA stops transmitting when the screen is turned off.

Hardware

If you are on this repo, find @gguuss, there is hardware for you.

Demos

Changing Node Patterns using 1-Button Interface

Mesh Network Node Change

Storing Waypoint using phone GPS and presenting distance to waypoint

GPS waypoint distance

Resizing the strip size for control of large LED arrays

Control Large LED arrays

Roadmap

  • Add support for ESP32
    • Dedicate core to drawing vs to networking?
  • Add BLE mesh
  • Improve web XP
  • More patterns

See also