Skip to content

Code to control a ESP8266 and a matrix of ws2812b pixels

Notifications You must be signed in to change notification settings

alanswx/WebPixelFrame

Repository files navigation

WebPixelFrame

This repository provides the code to control a ESP8266 and a matrix of ws2812b pixels for the Web Pixel Frame. In order to properly install the software on the WeMo device, you will need to both install the software & libraries needed, and also update the Arduino IDE to be able to program the WeMo board.

Software and Library Installation

Requires these libraries:

In order to install an Arduino library by cloning the Github Repository, in your command line navigate to the Arduino libraries directory. On a Mac it can be found at this path:

<home directory>/Documents/Arduino/libraries/

Then you can simply clone each of the required libraries:

git clone [email protected]:me-no-dev/ESPAsyncTCP.git
git clone [email protected]:me-no-dev/ESPAsyncWebServer.git
git clone [email protected]:alanswx/ESPAsyncWiFiManager.git

Restart the Arduino IDDE to activate these new libraries.

New Mac driver for Sierra

Next, install the Web Pixel Frame software repository anywhere else (not in the Arduino libraries folder!) simply by cloning the repository. Since Piskel is a submodule, make sure to clone the repository with --recursive option:

git clone --recursive git://github.com/alanswx/WebPixelFrame.git

If you are using a Mac, please be sure to install the USB driver for the WeMo.

Arduino IDE Update

If you Arduino IDE is not already updated to program the WeMo board, follow these steps:

  • Install WeMo Support - Follow the instructions at this page to install get the Arduino app able to program WeMo D1 Mini boards.
  • Install SPIFFS Uploader - This project requires this tool to uploaded the web page code to the web server we install on the WeMo board.

Notes:

Make sure the pixel display on ESP8266 plugs into the RX pin - that is where the DMA is.

Make sure the SPIFFS is larger than 1M