Scorbot ER-4u controller: install firmware
Puts the controller firmware on the ESP32 DevKit over USB, straight from this page.
-
Check your browser
-
Pick your motor drivers
All six driver boards on the controller must be the same kind. This sets how the firmware reads motor current. You can re-install later to change it.
-
Get the controller ready
The port doesn't show up?
- Try another cable and another USB port.
- Install the USB driver for the chip next to the DevKit's USB socket: CP2102 (Silicon Labs CP210x driver) or CH340/CH9102 (WCH driver). macOS and Linux usually need none.
- On Linux, add yourself to the
dialoutgroup (sudo usermod -aG dialout $USER), then log out and back in.
-
Install
Click Connect, pick the serial port (often named CP2102, USB Serial or usbserial), then choose Install in the window that opens.
Erase or not? On a first install, say yes to erasing. For an update, say no: erasing also deletes your Wi-Fi settings and the arm's calibration.This browser can't talk to serial ports. Use Chrome or Edge on a desktop computer. Open this page from http://localhost(runpython3 flasher/serve.py), not as a file.It says "Failed to connect" or hangs at "Connecting…"
- Click Connect again, and this time hold the BOOT button on the DevKit (next to the USB socket) until the progress bar starts moving, then let go.
- Still stuck: unplug the USB cable, hold BOOT, plug it back in, release BOOT, then Connect.
- Install takes about a minute. Don't unplug until it says it's done.
Afterwards, Logs & Console in the same window shows what the controller prints while it starts.
-
Connect to the controller
- The controller restarts. With no Wi-Fi settings yet, it starts its own network
Scorbot-XXXX, passwordscorbot1. Join it from your computer or phone. - A setup page should pop up. If not, open http://192.168.4.1.
- Under Settings → WiFi, enter your own network. After that the controller is at http://scorbot.local on your network (or at the IP your router gives it).
- The controller restarts. With no Wi-Fi settings yet, it starts its own network
-
First run with the arm
Turn motor power back on (release the E-stop), then in the controller's web page:
- Test → Self-test. Fix any motor marked "disagree" with Flip.
- Check each home switch with the switch lamps.
- Calibrate → Measure travel for each joint, then Apply.
- Home all.