Skip to content

Connect and try the demo

Use desktop Chrome or Edge for Web Serial. Read your product manual before wiring and powering the hardware.

Try it without hardware

  1. Open Motor GUI.
  2. Choose Mock CAN (demo) in the transport menu.
  3. Click Connect. The app shows a simulated motor and live plots.
  4. In the demo's Control section, choose Position. Enter 1000 ticks and click Send setpoint.
  5. With Setpoints selected, watch the position trace approach the dashed target.
  6. Select Gripper to try the simulated SSG-48. Select Motor to switch back.

If the browser shows a Web Serial notice, select Use the mock CAN demo, then click Connect.

The workspace overview shows where to find the controls and drive state.

Connect your hardware

At power-on, the bootloader listens for updates for about two seconds. Give the application a few seconds to start before connecting or rescanning. If the board only has a bootloader, flash the application first.

Use CAN for live control and tuning on a bus of drives, or to run a gripper. We recommend the CANvas USB to CAN adapter.

  1. Plug in your CANvas adapter or a CANable running slcan firmware.
  2. Choose CAN (slcan) in Motor GUI.
  3. Match the bus bitrate. The factory default is 1 Mbps.
  4. Click Connect and choose the adapter in the browser's port picker.
  5. Select the node for the device you want to use. Click Rescan if the bus has changed.

Each drive on the bus needs its own CAN ID.

Motor GUI header with CAN transport, bitrate and Connect controls Motor GUI header with CAN transport, bitrate and Connect controls

Choose CAN and set the bus bitrate before opening the adapter.

Use UART for first-time motor setup, calibration and the serial console. We recommend the 3.3 V USB to Serial Adapter with the matching UART cable.

  1. Plug in the 3.3 V USB-to-UART adapter wired to the drive.
  2. Choose UART in Motor GUI.
  3. Match the drive's baud rate. The factory default is 256 000 baud.
  4. Click Connect and choose the adapter in the browser's port picker.

Motor GUI header with UART transport, baud rate and Connect controls Motor GUI header with UART transport, baud rate and Connect controls

Choose UART and set the drive's baud rate before opening the adapter.

Check the connection

Confirm that Motor GUI shows the intended device before sending a command. If the adapter opens and the drive fails to respond, see Connection problems.

For a new motor, continue to calibration. With a configured gripper, go to Run a gripper.

Give a drive its own CAN ID

Choose an unused ID from 0 to 13 so the drive can be updated over CAN. The bootloader reserves 14 and 15.

If two drives already share an ID, address one at a time over UART or connect only one to the CAN bus while assigning IDs.

  1. In Motor view, select the drive's current node.
  2. Open System and find the CAN ID card.
  3. Enter the new ID in New CAN ID. Click Change CAN ID and confirm.
  4. Check that Motor GUI selects the new node in the header. Click Rescan if needed.
  5. Open Control and click Save config to keep the new ID after a restart.

CAN System card with New CAN ID set to 3 beside the Change CAN ID button CAN System card with New CAN ID set to 3 beside the Change CAN ID button

  1. Enter an unused New CAN ID. This demo uses 3.
  2. Change CAN ID writes the change. Motor GUI then scans for the new node.

  1. Connect the target drive over UART and open System.
  2. Under Change CAN ID, click Read current.
  3. Enter the new ID in New CAN ID and click Set & save.
  4. Reconnect over CAN and select the new node. If the old ID is still active, support the mechanism and restart the drive. Wait for it to boot, then click Rescan.

UART System panel showing current CAN ID 0, proposed ID 1, Read current and Set & save UART System panel showing current CAN ID 0, proposed ID 1, Read current and Set & save

  1. Read current asks the connected drive for its existing ID. The simulated drive reports 0.
  2. Set & save writes the new ID to the drive's EEPROM.

On current firmware, saving the CAN ID also copies it to the bootloader. If the IDs differ, check both when you update firmware.