Working…
⚔️ Lightsaber · USB Serial not connected Offline
Before connecting: two firmware settings decide whether commands are read at all, because logging::available() only listens on the channel selected by serial_output. You need serial_handler = 1 and serial_output = 0/2/5/7 for the UART0 pins, or 1/2/6/7 for the USB CDC connector. The default, 2 (Serial + USB), reads from both.
With CDCOnBoot = Disabled, Serial is UART0 on GPIO43/44 — physically a different port from the USB connector. Requires Chrome, Edge or Opera on desktop.
Active profile
–
Free heap
–
Battery
–
SD card
–
IMU temp
–
Stream
0 Hz

📈 Real-time IMU

The chart is fed by imu_stream <hz>, which prints the CSV line t_ms,ax,ay,az,gx,gy,gz,accMag,gyroXZ,gyroY,shockHP,intensity; intensity is a one-sample pulse on the clash, 0 the rest of the time. Starting it puts the saber into DEBUG mode — send debug off to bring normal operation back.
The stream is stopped automatically whenever you leave this tab or a bulk read starts, and restarted when you come back. At 115200 baud a 50–200 Hz CSV line is 5–14 kB/s of the ~11.5 kB/s the link carries, so leaving it running would starve config print and every other reply.
auto-paused outside this tab
Gyroscope (dps) X Y (blade / roll) Z
Accelerometer (g) X Y (blade) Z
Clash intensity (0–100) intensity
|accel|
–
|gyro XZ|
–
gyro Y (roll)
–
Last clash
–
Packets
0
Clash count
0

🌐 Global Settings

Read with config print, written with config set global <key> <value>. Changes stay in RAM until you press Save to SD (config save), and most of them need a reboot to take effect.
config print lists only what /config.txt actually contains. Fields marked firmware default are keys the file does not have: the value shown is the one the firmware falls back to. Edit one to persist it, or use Write missing keys to write them all.

🎨 Profiles

🌀 SmoothSwing v2

🎚️ Equalizer

Audio test

The equaliser is applied per channel inside audio::mixAudio(), gated only by the global enable_eq — so what you hear here really is equalised. Workflow: pick a sound, tick loop, press Play, then move the band sliders and press 🔊 Apply live to hear the change without saving anything.
Stick to a clash channel: the state machine rewrites the volume of hum and swing from SmoothSwing on every loop pass.
Sends loadwav <ch> <file> 1.0 [1] + play <ch> / stop <ch>. The paths come from the configuration read off the saber, so the list shows what this device actually has.

📐 IMU Calibration

These values live in /calib.cfg, not in config.txt. They are read with calib print and written with offset / threshold, then persisted with calib save.
calibOrientFreeDurationMs and calibScanPhaseDurationMs are shown by the WiFi UI but the firmware exposes no command for them, so they are not editable here.

Procedures (long running — watch the console)

These put the saber into DEBUG mode (blade off, audio stopped); send debug off to go back to normal operation. Follow the spoken/console instructions on the saber itself.

Clash sensitivity & detection

Blade debug & simulation

📁 SD Card browser

Browsing uses ls, rm and mkdir. File upload/download is not available on this transport — the firmware only implements it over HTTP (WiFi UI) and through the binary sdcard send/receive serial protocol.

Connect and press Open.

⚙️ System


    

🎨 Blade test

The firmware has no "arbitrary colour" that lasts. color maps the value through blade::hexToColor(), which returns COLOR_RED for anything not exactly in the 31-colour palette; colorw does set the exact RGBW, but it writes the driver without updating currentColor, and blade::update() repaints from currentColor on every loop pass — so a raw colour lasts one iteration. Pick from the palette for a colour that stays.
Applies to every Test button, here and on the Profiles tab. The page sends ledoff when the time is up — the firmware's own blade auto-off exists but no command reaches it.
Exact RGBW, overwritten on the next loop pass.

💾 Configuration & power

Log channel (runtime)

💻 Console

↑/↓ browse history. Every command this page sends is logged here too.

EVA01_CORE — USB serial control panel (usbconfig.html) · the firmware is not modified by this page