Install the firmware
Flash the swing-up controller onto the ESP32-S3 from your browser.
You need an ESP32-S3 board with 16 MB flash and 8 MB PSRAM (N16R8, such as the ESP32-S3-DevKitC-1), a USB cable that carries data, and Chrome or Edge on a desktop. The rig it drives is described in the hardware notes.
-
Plug in the board
Connect the ESP32-S3 to your computer with the USB cable, to the port marked UART.
-
Install the firmware
Click the button, pick the board in the list your browser shows, then choose Install and confirm. It takes about a minute; keep this tab open and the board plugged in.
This browser has no Web Serial. Use Chrome or Edge on a desktop. Web Serial needs HTTPS. Board not in the list? Hold BOOT, tap RESET, release BOOT, and click again. Your saved Wi-Fi network is kept. Skip Erase User Data in the install window: it also wipes the model.
-
Install the model
The firmware and the model are separate files, so install the model the same way: click, pick the board again (it restarted after step 2), then choose Install.
Prefer the board's dashboard? Download the model (.ncpm) and drag it onto the dashboard instead.
-
Connect it to Wi-Fi
A new board opens its own network, cartpole-XXXX. Join it, open
http://192.168.4.1and enter your 2.4 GHz network. Then reconnect your computer to your own network and openhttp://cartpole.local.
Already set up? Update over Wi-Fi instead: drag the app image onto the board's dashboard.