brianholley / picotile

DIY nanoleaf replica control software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Picotile

DIY nanoleaf replica control software

Hardware

Currently designed for:

  • ESP8266 microcontroller
  • WP2812B strand lights
  • Light panels

Feature set

Current + Planned features:

  • Flexible tile arrangements
  • Brightness
  • On/off
  • Light modes
  • Palette switching

Running modes

Automatic - cycles through these patterns:

  • Fade - single color fade transitions
  • Fire - warm color palette mimicking firelight
  • Firefly - darn nighttime with fireflies
  • Pulse - single color pulses through the tiles
  • Rainbow - chasing rainbow lights
  • Starburst - tile color explosion and fade

Single - lock to single pattern above

Manual - toggle individual tiles on/off or color

Instructions

Debugging the web app:

  1. cd webapp
  2. npm install
  3. npm run start

Publishing the web app to the ESP8266

  1. cd webapp
  2. npm run build
  3. In the Arduino IDE: Tools | ESP8266 Sketch Data Upload

Running on the Arduino:

  1. Open picotile.ino
  2. Upload the data folder into SPIFFS memory
  3. Run project

Intial setup (wifi configuration):

  1. TBD

Dependencies

Arduino dependencies:

Packages:

Name Installed
ArduinoJson 6.21.3
FastLED 3.6.0
WebSockets 2.4.0
WiFiManager 2.0.16-rc.2

Installation (with arduino-cli):

arduino-cli lib install ArduinoJson@6.21.3
arduino-cli lib install FastLED@3.6.0
arduino-cli lib install WebSockets@2.4.0
arduino-cli lib install WiFiManager@2.0.16-rc.2

About

DIY nanoleaf replica control software


Languages

Language:JavaScript 55.7%Language:C++ 35.6%Language:C 7.5%Language:HTML 0.8%Language:CSS 0.4%