Skip to content

garymueller/ESP-131GPIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

WeMos D1 Mini

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 IDE

Arduino 8266

arduino-esp8266littlefs-plugin

or

Platformio

Arduino IDE Libraries

Arduino WiFi

Arduino JSON

ESPAsyncE131

ESPAsyncWebServer

ESPAsyncDNSServer

ESPAsyncTCP

ESPAsyncUDP

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

  1. The Wemos requires you to jump pins D3 and GND to start the board into programming mode.
  2. Plug the arduino into your computers USB.
  3. Click the upload button to compile and transfer the firmware to the arduino.
  4. 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.