||5 months ago|
|assets||8 months ago|
|wiflash_esp32||5 months ago|
|.gitignore||10 months ago|
|.gitmodules||5 months ago|
|LICENSE||11 months ago|
|README.md||10 months ago|
Uses a GPIO to control a lighting console over OSC, whilst also controlling an LED strobe light with DMX data received over sACN.
This software is designed for the ESP32, but will probably be usable on other Espressif platforms,
The WiFlash firmware needs to be initially flashed onto the ESP32.
Arduino IDE Requirements
- Start Arduino and open Preferences window.
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.jsoninto Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
- Open Boards Manager from Tools > Board menu and install esp32 platform (and don't forget to select your ESP32 board from
Tools > Boardmenu after installation).
Arduino ESP32 Plugin - Arduino plugin which packs sketch data folder into SPIFFS filesystem image.
Follow the install instructions in the link.
ArduinoOSC - OSC subscriber / publisher for Arduino
NeoPixelBus - A library to control one wire protocol RGB and RGBW leds.
ESPAsyncWebServer - Async HTTP and WebSocket Server for ESP Arduino.
Install from the Arduino library manager.
- Unzip the downloaded file.
- Select your ESP32 board from the
Tools > Boardmenu.
- Use the upload button in Arduino to compile your changes and upload the software to your ESP32 device.
Tools > Esp32 Sketch Data Uploadto build and upload the SPIFFS partition.
|Arduino shows compiler errors.||Make sure you have the correct board type selected in the
|Errors during upload.||Make sure that you have the correct port selected in the
|Unable to upload SPIFFS||Make sure the serial monitor window is closed.|
- Connect to the default access point:
- SSID: WiFlash
- Password: technologyismagic
- Open a web browser and navigate to http://wiflash.local
Here you can observe the current state of the device.
This tab lets you configure the device settings.
Reset your configuration to defaults by connecting pin A1 to GND during boot-up.
Change these to enter your own SSID and WEP/WPA2 password.
Enter your own IP configuration.
Set the value of
host to be the IP address of the OSC server.
Change the pressed and released values to suit your setup. These examples will send
GOTO LIST 99 CUE 1 when the button is pressed, and
GOTO LIST 99 CUE 2 when the button is released. Check the Hog 4 OSC mappings manual page for additional inspiration.
Set the sACN Universe and DMX Address for the strobe device.
LED Pixel Strip
Set the sACN Universe and DMX Address for the LED pixels.
These values on this tab need to match the hardware setup.
Hog4 fixture profile:
|Chan||Command||DMX Range||Value Range||Resolution|
|1||Intensity Coarse||0 - 65535||0 - 100%||15 bit
|3||Duration||0 - 255||0.02 - 0.5s||0.004s|
|4||Rate||0 - 255||0.5 - 25Hz||0.1Hz|
While not the first device of this class to be constructed, this version is credited to:
- Concept & electronics: Phil Abeyta
- System design & firmware: Kevin Matz
This Software is released under the MIT License.
Copyright © 2020, Kevin Matz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|WiFlash||Copyright © 2020 Kevin Matz||MIT|
|NeoPixelBus||Michael Miller||LGPL 3.0|
|ESPAsyncWebServer||Copyright © 2016 Hristo Gochkov||LGPL 2.1|
|arduino-esp32||Copyright © 2015 Ivan Grokhotkov||LGPL 2.1|