- Navigate to your sketchbook directory (typically
Arduinoin your home directory) and download/clone the repository there. - Run
set-ap-password.shto configure the password for the access point. - Launch the Arduino IDE and load the
LedNet-Tiny.inosketch. - Ensure that the ESP32 board is installed (if not, check this tutorial);
- Ensure that the required libraries are installed:
- esp_dmx (by Mitch Weisbrod).
- Go to Tools > Board and ensure that it is set to "ESP32 Dev Module";
- Click the Upload button.
- When plugging in the power for the very first time, the built-in LED will flash magenta 4 times.
- This is an indication that the LedNet Tiny will generate an access point named
LedNet Tiny, with the password you set earlier. - Use another device to connect to the LedNet Tiny.
- Navigate to its webpage on
lednet-tiny.local. - Here, you can change the DMX channel values, the built-in LED color, and optionally, the Wi-Fi network to connect to.
- Enter an SSID and the corresponding password and click 'Connect'.
- Changes to DMX channels and the built-in LED will be applied instantly, but now, the LedNet Tiny has to be reconnected to power.
- Now, the built-in LED will rapidly flash blue, meaning that it tries to connect to the specified Wi-Fi network.
- When successful, the built-in LED will turn green, starting DMX transmission shortly after.
- Once credentials are set, the LedNet Tiny will always try to connect to those.
- To remove the saved credentials, click on 'Reset connection' in the web portal.
- Another override can be achieved by disconnecting the power, holding the AP mode button, then plugging the power back in.
- Now, the LedNet Tiny will behave like it is plugged in for the first time again.
- When encountering an error looking like
error: 'uart_signal_conn_t' has no member named 'module', try downgrading the ESP32 board to 3.0.4.