Skip to content
openlaunch
Esc
↑↓navigate↵open⌘Jpreview
On this page

Uno R4 WiFi

Build and provision Uno R4 WiFi firmware over USB with a short-lived device setup token, then inspect permissions and hardware results.

Implemented capabilities

Health, built-in LED and ASCII matrix text. Firmware compiles; real board operation remains unverified. No arbitrary pin control or OTA update is implemented.

Prepare stock firmware

npm run setup:firmware

Install Arduino CLI first. The helper asks for the installed ESP transport and your application (LED/matrix or ArduRoomba), prepares isolated dependencies, and compiles with pinned versions. It never uploads or changes the ESP image. It does not guess the transport from a USB board name.

Repaired console-mux profile

The repaired board requires its existing matching custom ESP mux firmware and patched WiFiS3 pair. The console-mux transport reroutes requests through the console UART, not USB D+/D−. Keep Serial at 115200 and avoid concurrent frame traffic or modem calls from an ISR.

The owner must establish that the matching mux image is installed, then explicitly select console-mux through the root firmware command with the local repair directory and acknowledgment flag. Stock and console-mux artifacts remain isolated under build/firmware/PROFILE/compiled.

Follow the complete transport profile guide before building the repaired board.

Flash and provision deliberately

  1. Connect USB and run arduino-cli board list. Identify the exact board and port; close serial monitors.
  2. Upload only the matching profile’s compiled sketch to the confirmed port. The RA sketch upload is separate from ESP connectivity firmware.
  3. In Devices → Add device, create a device setup token. It uses the ol_sdk_ prefix, expires after 10 minutes by default, and attaches one device by default.
  4. Connect one Uno by USB, close serial monitors, and run the hosted setup menu:
curl -fsSL https://www.openlaunch.dev/setup.sh | bash

Choose Uno for LED/matrix firmware, or ArduRoomba for the Roomba sketch. Arduino CLI detects the single board. From a checkout, use npm run provision:uno or npm run provision:roomba. The helper prompts for Wi-Fi details and the device setup token, hiding sensitive input, then asks before sending the setup to the board. The workspace comes from the token; you do not need to copy it separately. It does not write credentials to a computer file. The board stores a private child credential that survives setup-token expiry or revocation; removing the device from the console revokes that credential. After pairing, the console opens the device’s Access view so you can grant functions separately. If pairing confirmation times out, inspect Devices before retrying with the same token; do not start a second attachment request.

The firmware stores its device identity in EEPROM. Use an appropriate test network. TLS verification and a valid clock are mandatory. Firmware compile success does not establish physical operation: confirm real health/RSSI, physically observe the LED and matrix, then run the permission acceptance checks. Physical board acceptance remains pending; see Verification.

The console does not need your USB port. Connect one Uno R4 WiFi and run its setup command; the helper uses Arduino CLI to detect the board locally. If several Unos are connected, disconnect the others or pass --port to select the intended one. Detection never flashes firmware or chooses the stock versus console-mux profile. Agents use a separate ol_agent_ API connection or OAuth; the setup token cannot authenticate them.

The Roomba 551 adapter uses D0/D1 serial at 19200 baud and D5 BRC. D6/D7 are unused in the default harness. Initialization wakes the robot before selecting baud, stops outputs, and returns to Passive mode for idle charging. Before cleaning or motion, firmware requires a fresh OI-mode response; direct wheel and brush bursts require Safe mode and stop within one second.

Device health reports roombaLinkVerified, oiMode, linkError, and the time of the last link check. It does not interrupt autonomous cleaning. Online means the Uno is reachable, not that the Roomba replied. A serial timeout requires checking wiring, waking the Roomba, and restarting the adapter. Older robots may need physical CLEAN wake while docked.

Activity distinguishes Serial command sent · operation unverified from an observed hardware result. A valid serial reply confirms communication; it does not establish that cleaning began. Saved receipts reconcile without replaying commands or resetting pairing. Read the transport and link guide.

Was this page helpful?