Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dev:tailcontrol-command-protocol [2026/08/02 15:24] – darkgrue | en:dev:tailcontrol-command-protocol [2026/08/03 19:18] (current) – darkgrue | ||
|---|---|---|---|
| Line 182: | Line 182: | ||
| ===== RGB LED Commands ===== | ===== RGB LED Commands ===== | ||
| - | RGB support is experimental, and not included | + | RGB support is new with the introduction of the ClawGear, and support is experimental on other hardware. |
| + | |||
| + | All **RGB**'' | ||
| | **RGBOFF** | **RGB** LEDs **OFF**, returns '' | | **RGBOFF** | **RGB** LEDs **OFF**, returns '' | ||
| - | | **RGBRBO** | **RGB** **R**ain**B**ow pattern, returns '' | + | | **RGBBRT** | Set **RGB** **BR**igh**T**ness percentage in NVS and running configuration (e.g., '' |
| - | | **RGBRB2** | **RGB** **R**ain**B**ow pattern with random sparkly glitter, returns '' | + | | **RGBCHS** | **RGB** **CH**a**S**e; theater marquee chase; optionally takes a hue color (in RGB Hexidecimal, |
| - | | **RGBCON** | **RGB** **CON**fetti; random-colored speckles that blink in and fade smoothly, returns '' | + | | **RGBCLN** | **RGB** **CY**lo**N**; color dot sweeping back and forth, with fading trails; optionally takes a hue color (in RGB Hexidecimal, |
| - | | **RGBSIN** | **RGB** **SIN**e; a colored dot sweeping back and forth, with fading trails, returns '' | + | | **RGBDMO** | **RGB** **DE**m**O**; cycle through all the preceding patterns, changing every 10 seconds (e.g., '' |
| - | | **RGBJUG** | **RGB** **JUG**gle; eight colored dots, weaving | + | | **RGBFDE** | **RGB** **F**a**DE**; fade in/out effect (e.g., '' |
| - | | **RGBBPM** | **RGB** **BPM**; colored stripes pulsing at a defined Beats-Per-Minute, returns '' | + | | **RGBFIR** | **RGB** **FIR**e; fire effect (e.g., '' |
| - | | **RGBDMO** | **RGB** **DE**m**O**; cycle through | + | | **RGBRBW** | **RGB** **R**ain**B**o**W** pattern (e.g., '' |
| - | | **RGBTST** | **RGB** **TE**s**T**; | + | | **RGBSLD** | **RGB** **S**o**L**i**D**; display a solid color (in RGB Hexidecimal) on all pixels (e.g., '' |
| - | | **SETRGB** | **SET** **RGB** configuration; returns '' | + | | **RGBSNO** | **RGB** **SNO**w; snow effect; optionally takes a hue color (in RGB Hexidecimal, |
| + | | **RGBTST** | **RGB** **TE**s**T**; | ||
| + | | **RGBTWK** | **RGB** **TW**in**K**le; random twinkle effect (e.g., '' | ||
| + | | **RGBWPE** | **RGB** **W**i**PE**; color wipe (e.g., '' | ||
| + | |||
| + | |||
| + | ==== RGB Hardware Support ==== | ||
| + | |||
| + | RGB LED support is provided through various headers, depending on the hardware. Certain hardware configurations require amounts of soldering and electronics design skill to modify, and can damage the board if current draw or other limits are exceeded. Mods are performed solely at user's risk. | ||
| + | |||
| + | |||
| + | ==== ClawGear ==== | ||
| + | |||
| + | The ClawGear supports a **maximum** of 42, 5 VDC, WS2811-protocol RGB LED pixels on the Servo 2 connector: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ==== MiTail ==== | ||
| + | |||
| + | The MiTail supports **externally-powered**, | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ==== MiTail Mini ==== | ||
| + | |||
| + | The MiTail Mini supports a **maximum** of 42, 5 VDC, WS2811-protocol RGB LED pixels on the Servo 2 connector: | ||
| + | |||
| + | {{ : | ||
| Line 218: | Line 249: | ||
| | **WRITECONF** | **WRITE** **CONF**iguration to NVS and set running configuration to match (e.g., '' | | **WRITECONF** | **WRITE** **CONF**iguration to NVS and set running configuration to match (e.g., '' | ||
| | **SETDISCONNECTEDCOUNT** | **SET** BLE **DISCONNECTED** power off **COUNT**down parameter in NVS and running configuration (in minutes, '' | | **SETDISCONNECTEDCOUNT** | **SET** BLE **DISCONNECTED** power off **COUNT**down parameter in NVS and running configuration (in minutes, '' | ||
| - | | **SETHOLDONSTOP** | **SET** servo **HOLD** is maintained when the servos **STOP** (maintains servo PWM when not moving, default for EarGear 2); returns '' | + | | **SETHOLDONSTOP** | **SET** |
| - | | **UNSETHOLDONSTOP** | **UNSET** servo **HOLD** when the servos **STOP** (servo PWM is dropped when not moving, default for tail-based devices and ClawGear); returns '' | + | | **UNSETHOLDONSTOP** | **UNSET** servo **HOLD** when the servos **STOP** |
| - | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' | + | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' |
| - | | **SETLISTENMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a listen event in addition to sending event notifications; | + | | **SETLISTENMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a listen event in addition to sending event notifications |
| - | | **UNSETLISTENMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | + | | **SETRGB** | **SET** **RGB** configuration in NVS and running configuration; |
| - | | **SETTILTMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a tilt event in addition to sending event notifications; | + | | **UNSETLISTENMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' |
| - | | **UNSETTILTMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | + | | **SETTILTMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a tilt event in addition to sending event notifications |
| + | | **UNSETTILTMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | ||
| | **OTA** | Starts firmware **O**ver **T**he **A**ir update process (e.g., '' | | **OTA** | Starts firmware **O**ver **T**he **A**ir update process (e.g., '' | ||
| | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds), returns '' | | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds), returns '' | ||
