diff --git a/components/basicmicro/web/mcp_console.html b/components/basicmicro/web/mcp_console.html new file mode 100644 index 000000000..9a57e3477 --- /dev/null +++ b/components/basicmicro/web/mcp_console.html @@ -0,0 +1,2062 @@ + + + + + + Basicmicro MCP Console + + + + + +
+

Basicmicro MCP Console

+
+ + + Disconnected +
+ + +
+ Web Serial is not available in this browser. + Web Serial requires a Chromium-based browser (Chrome, Edge, Opera, Brave) + served over https:// or http://localhost. +
+ +
+ +
+

Transport

+
+
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+
+ Packet serial: the console talks the Basicmicro binary protocol directly over the USB-UART converter. +
+
+ +
+ + +
+ +
+

Device Info + + +

+
+
+
Firmware
+
Main battery
+
Temperature
+
Motor currents
+
Status
+
+
GETVERSION (21) · GETMBATT (24) · GETTEMP (82) · GETCURRENTS (49) · GETSTATUS (90). Status bit meanings can vary slightly across firmware revisions.
+
+
+
+
Device type (0x1000)
+
Error register (0x1001)
+
Vendor ID (0x1018:1)
+
Product code (0x1018:2)
+
Revision (0x1018:3)
+
Serial number (0x1018:4)
+
+
Read over expedited SDO from the configured node.
+
+
+ + +
+

CANopen Status & NMT

+
+ NMTno heartbeat + CiA 402unknown + +
+
+ + + + + +
+
Heartbeat monitor listens on 0x700+node. If the drive is not producing heartbeats, enable them via object 0x1017.
+
+ + +
+

Motion — Packet Serial

+ +

Signed duty (±32767) · cmds 32 / 33

+
+ M1 duty + + 0 + +
+
+ M2 duty + + 0 + +
+
Sliders spring back to zero when released. Keyboard users: arrow keys nudge, the 0 button stops that motor.
+ +

Signed speed (qpps) · cmds 35 / 36 / 37

+
+
+ + +
+ +
+ + +
+ + +
+ + +

Encoders · cmds 16 / 17 / 20

+
+
Encoder 1
+
Encoder 2
+
+
+ + + + +
+
+ + +
+

Motion — DS402

+
+
+ + +
+ + Mode display (0x6061): +
+
+ + + + +
+ +

Velocity

+
+
+ + +
+ +
+ Actual (0x606C) + +
+ +
+ +

Position

+
+
+ + +
+ + +
+ Actual (0x6064) + +
+
+ +
Values are transmitted only after strict validation (full-string integer parse + type range check).
+
+
+ + +
+ +
+

SDO Object Browser

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+
+ +
+ + + + + + + + + + + + +
ObjectIndexSubTypeValue
+
+
Click a row to load it into the form. reads the object. Expedited transfers only (≤ 4 bytes).
+
+ + +
+

Raw Traffic + + +

+
+ + + + + +
+
+
UART mode: hex packet bytes. CAN mode: raw slcan lines. Pause stops the display; capture (for Export) continues.
+
+
+
+ + + + + + diff --git a/components/twai/web/can_console.html b/components/twai/web/can_console.html new file mode 100644 index 000000000..9d4c920d4 --- /dev/null +++ b/components/twai/web/can_console.html @@ -0,0 +1,1316 @@ + + + + + + CAN Bus Console (slcan) + + + + + +
+

CAN Bus Console — slcan / Web Serial

+
+ + + + + + Disconnected +
+ + +
+ Web Serial is not available in this browser. + Web Serial requires a Chromium-based browser (Chrome, Edge, Opera, Brave) + served over https:// or http://localhost. +
+ +
+ +
+ +
+

Traffic Log + + +

+
+ + + + + +
+
+
+ + +
+

Per-ID Latest + + +

+
+ + + + + + + + + + + + +
IDTypeDLCDataCountPeriod
+
No frames received yet.
+
+
Bytes that changed since the previous frame with the same ID are highlighted. Period is a smoothed inter-frame interval.
+
+
+ + +
+ +
+

Transmit Frame

+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+ + +
+ +
+ +
+
+ + +
+ +
Adds a repeating transmit slot below (5–60000 ms).
+
+
+ + +
+

Periodic Transmits + + +

+
No periodic transmits running.
+
+ + +
+

ID Filter

+
+
+ + +
+
+ + +
+ +
+ +
Filters received frames in the log and the per-ID table. Transmitted frames are always echoed.
+
+ + +
+

Adapter

+
+ + + +
+
+
+ + +
+ +
+
Responses appear in the traffic log. BEL (0x07) from the adapter is reported as an error.
+
+
+
+ + + + + +