ESP-131GPIO
This is arduino firmware that will listen to a E1.31 (sACN) data soure and will drive a boards GPIO pins. The firmware supports ESP8266 and is currently configured to support the WEMOS mini. This was designed to drive relays for static christmas display lights being driven by Vixen, XLights or other application that output a E1.31 data stream. The board supports the following …
- Web Interface
- Status page
- Configuration Page
- Network
- E131
- GPIO
- Test Page
- REST API - to set relay states through an external interface
-
/SetRelay?relay=[0-#]&checked=[true false]
-
- Captive Portal (Optional) - Automatically start the arduino in access point mode if the WiFi settings aren’t able to connect.
- Digital/PWM support
Hardware
8-Channel 5V Solid State Relay
Wiring
Build Environments
There are 2 ways to build the software. The first is to use the arduino ide and the second is to use platformio. The required libraries for the arduino ide environment are listed below and must be installed in order to compile. The Platformio environment is a little easier to use as the libraries should automatically be downloaded and made available to the environment for you.
arduino-esp8266littlefs-plugin
or
Arduino IDE Libraries
Software Installation
Download and install the above build environments and libraries. The build environments can be installed by downloading and installing the appropriate software. The libraries can be installed through the ide with manage libraries.
Firmware Installion
- The Wemos requires you to jump pins D3 and GND to start the board into programming mode.
- Plug the arduino into your computers USB.
- Click the upload button to compile and transfer the firmware to the arduino.
- Then select the “ESP8266 LittleFS data upload” found under the tools menu. This will upload the data directory (html) to the arduino.
Web Interface
Acknowledgements
I wish to thank the following individuals / groups were instrumental into helping make this project.
- Shelby Merrick
- doityourselfchistmas
- many others with various examples, tutorials, etc.