User Tools

Site Tools


pibot_cnc_laser_series:v577_carrier:test_usb2:start

3.1 Test Secondary USB

Advanced Tests · Optional · Test the secondary USB connection with a pendant / hand controller
ℹ️
Objective: This section tests the secondary USB communication function. A pendant / hand controller is required for this test.
⚠️
NOTE: This is an optional advanced test. If you do not use a pendant / hand controller, you can skip this section.
1
Set the Controller USB Mode
  • Open the FluidNC WebUI command line.
  • Enter command: $USBCDC/Enable=Off
  • This sets the ESP32 side to host mode for this test. You can understand it as making the ESP32 work like a small computer.
  • Restart the controller if required.
Then add the following to your config.yaml to enable the secondary USB host port:
## Start USB-HOST FIRST TIME NEED SET $USBCDC/Enable=Off (test the second usb port)
uart3:
  usb_host:
    baud: 115200
## the baud almost=115200

uart_channel3:
  report_interval_ms: 0
  uart_num: 3
  message_level: Verbose
## Start USB-HOST
2
Install ESP3D Firmware on the Pendant
  • Connect the pendant / hand controller to your computer.
  • Open the ESP3D Web Installer: https://webinstaller.esp3d.io/
  • Install the ESP3D firmware on the pendant.
  • Restart the pendant after installation.
3
Set Pendant Communication
  • On the pendant, open Settings.
  • Set communication mode to Serial.
  • Go back to Settings, then open Setting Editor.
  • Set baud rate to 115200.
4
Test Communication
  • Connect the pendant to the controller secondary USB port.
  • Wait a few seconds for the connection to initialize.
  • If the settings are correct, the pendant should communicate with the controller normally.
🔧
Troubleshooting: If the pendant does not communicate, go to SettingsSetting Editor, set Swap RX TX to Disable, then reconnect and test again.
Expected Results
  • The controller accepts $USBCDC/Enable=Off.
  • The pendant is running ESP3D firmware.
  • Communication mode is set to Serial.
  • Baud rate is set to 115200.
  • The pendant can communicate with the controller through the secondary USB port.

pibot_cnc_laser_series/v577_carrier/test_usb2/start.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki