Motherboard ID Reading
Please do not modify the configuration when translating on the web.
Please do not modify the configuration when translating on the web.
Please do not modify the configuration when translating on the web.
- CANBus UUID Retrieval
- RS232 ID Retrieval
- Please pay attention to whether the DIP switch is set correctly.
- Ensure that the CAN H and CAN L have a resistance of around
60Ω
when measured with a multimeter in an open circuit condition. If it is120Ω
, the120Ω
DIP switch needs to be turned on. If it is around40Ω
, the DIP switch needs to be turned off. - Before searching for the ID, use the XT30 data cable to connect the tool board to UTOC or a motherboard flashed with bridge firmware. Below is a reference wiring diagram.
CAN Configuration and ID Search
- If you need to use CAN, make sure your host computer has undergone CAN configuration.
NoticePlease ensure the motherboard is properly connected to the host computer before proceeding with the following operations.
warningPlease ensure that the CAN network on the host computer, the CAN rate of the bridge motherboard, and the CAN tool board rate are all consistent.
Precautions Before Device Search
- Before searching for CAN IDs, please first connect to SSH.
- Please note that you need to ensure you are logging into SSH via the network, not via serial port.
- Please ensure that the UTOC or a motherboard with CAN bridge firmware installed is properly connected, and the data cable connecting to the host computer has data transfer capability.
Device Search
- Now that you have successfully logged into the host computer, you can enter
lsusb
to search for devices. You will encounter one of the following situations:- Entering
lsusb
prompts that thels
command is not found; in this case, you can enter the following command to install the command:sudo apt-get install usbutils
- Entering
lsusb
produces no response. This is a system issue beyond our control; you will need to replace the system or use a confirmed working system. - The information shown below appears. Please note that this is only for reference. You only need to confirm that
1d50:606f
appears.
- Entering
1d50:606f
belongs to the device you will be using. Ignore any subsequent prompts as they may be incomplete or not displayed due to system issues.- If there are multiple
1d50:606f
, it is recommended to exclude one, otherwise it may affect subsequent firmware burning and connection, such as when using theFLY MINI PAD
, it is recommended to use the onboard UTOC and not other CAN bridge devices. - If none appear, please check if the data cable is properly connected and if the firmware is correctly installed.
NoteYou can only proceed with CAN ID search when
1d50:606f
is present.CAN ID Search
- Enter the following command to search for IDs:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
- If an ID appears and the
Application:
at the end showsKlipper
, it means this ID can be used directly. - If an ID appears and the
Application:
at the end showsCANBOOT
orKatapult
, it means you need to flash the firmware to use it.
CAN Issue Collection
Notice- If you cannot find a CAN ID, refer to the documentation below.
- CAN Issue Collection
Fill in the CAN ID into the Configuration
-
Open the printer's web interface. In the configuration options on the left sidebar, find
fluidd
:{...}
;mainsail
:Machine
, then click to accessprinter.cfg
. -
Copy the queried UUID and paste it into the
[mcu]
section of theprinter.cfg
configuration undercanbus_uuid:
. After saving and restarting, you should be able to connect to the motherboard. If Klipper prompts for firmware updates, ADC errors, etc., it indicates that Klipper has successfully connected to the motherboard.dangerousNote: All IDs mentioned in the document are examples. Each motherboard's ID is unique, so please modify according to the actual ID obtained.
- Please pay attention to whether the DIP switch is set correctly.
- Before searching for the ID, use the XT30 data cable to connect the tool board to UTOR or G2T. Below is a reference wiring diagram.
Search for RS232 ID
Precautions Before Searching for Devices
- Before searching for the RS232 ID, please first connect to SSH
- Please note that you need to ensure that you are logging in via SSH using the network, not via a serial port
- Please ensure that UTOR is properly connected and that the data cable connecting to the host computer has data transfer capabilities
- If using G2T, confirm whether the system supports UART connection
Searching for Devices
- Now that you have successfully logged into the host machine, you can enter
lsusb
to search for devices. This will result in one of the following scenarios:- If entering
lsusb
prompts that thels
command cannot be found, you can enter the following command to install the command:sudo apt-get install usbutils
- If entering
lsusb
results in no response, this indicates a system issue. You will need to change the system or use a confirmed working system. - If you see the information shown in the image below, please note that this is just a reference. You only need to determine the characters after the ID.
- If entering
1a86:7523
belongs to the device you need to use. The subsequent prompts do not need to be concerned with because system issues may cause it to display incompletely or not at all.- If none of these apply, please check if the data cable is properly connected and if the firmware has been correctly flashed.
NoteYou can only use the commands below to search for the RS232 ID when you have
1a86:7523
.Searching for RS232 ID
ls /dev/serial/by-path/*
- If entering
ls /dev/serial/by-path/*
does not produce any IDs, butlsusb
shows devices, consider replacing the host machine or the host machine's system. - Please note that using UTOR will output three IDs, and if you have used another UTOR system before, it may record them, leading to multiple IDs appearing during the search.
- Ensure that the ID ends with
-port0
, otherwise it cannot be used.
NotePlease make sure that the tool board and UTOR are grounded!!! Otherwise, you will not be able to connect to the tool board!!!
Enter the RS232 ID into the Configuration
-
Open the printer web interface and find the
printer.cfg
configuration under the configuration option in the left sidebar. For fluidd, it is{...}
; for mainsail, it ismachine
. -
Copy the blue ID and paste it into the
[mcu]
section of theprinter.cfg
configuration file underserial:
. After saving and restarting, you should be able to connect to the mainboard. If Klipper promptsADC out of range
, this is normal. Connect the hotbed and thermistor properly, configure the thermistor pins and output pins for the nozzle and hotbed, then save and restart.
Note- The RS232 ID needs to be configured with
baud:
andrestart_method:command
. - Below is a reference configuration:
[mcu SHT36]
serial: /dev/serial/by-path/platform-1c1c000.usb-usb-0:1.2:1.0-port0
baud: 250000
restart_method:commanddangerousNote: All IDs mentioned in the document are examples. Each motherboard’s ID is unique, so please modify and fill in according to the actual ID obtained.
dangerousPlease note that the IDs below cannot be used!!!
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0