RS232 Firmware Connection Guide
Firmware Preparation
- Before entering RS232 mode, please first flash the toolboard with the pre-compiled RS232 firmware via a Type-C data cable.
Connection Steps
Setting the DIP Switches
- Power Off Safely: Ensure the toolboard is completely disconnected from the power source before operation.
- Locate DIP Switches: Flip the toolboard over and find the DIP switch group on the back.
- Switch Mode: Set all DIP switches to the position specified for RS232 mode (see image below).
Loading...
Warning
- If the DIP switch state is changed, the RS232 firmware must be re-flashed, otherwise communication will fail.
- If the correct firmware was already flashed previously and the DIP switches haven't been changed, re-flashing is not necessary.
Connecting Cables
- Keep Power Off: The device must remain powered off throughout the entire connection process.
- Required Cable: Prepare an
XT30(2+2)-F4-core cable. The wire definitions are as follows:
| Wire Color | Signal | Connection Target |
|---|---|---|
| Red | VCC (Power Positive) | 12V–24V Power Supply Positive |
| Black | GND (Power Negative) | Power Supply Negative |
| Yellow | IN (Signal Input) | OUT pin of the UTOR module's RS232 expansion port |
| White/Green | OUT (Signal Output) | IN pin of the UTOR module's RS232 expansion port |
- Complete Connection:
- Insert the cable's male connector into the corresponding interface on the toolboard.
- Insert the cable's female connector into the corresponding interface on the UTOR module.
- Connect the UTOR module to the host computer (e.g., FLY Pi, Raspberry Pi, or PC) using a USB cable.
Checking Common Ground
- Use a multimeter in buzzer/continuity or resistance mode to measure between the following two points:
- GND on the toolboard
- GND on the host computer
- It is essential to ensure these two grounds are connected (resistance close to 0Ω). If they are not connected, communication cannot be established. Please check if the wiring is complete and secure.
Searching and Configuring the Toolboard RS232 ID
🔴 Important Preparation
Warning
- Firmware Requirement: The toolboard must be flashed with the RS232 firmware, otherwise communication is impossible.
- Mandatory Common Ground: ⚠️ You must ensure the GND of the toolboard is connected to the GND of the mainboard (using the same
24V/12Vpower supply will achieve this).
📌 Hardware Notes
- Only D8, D8PRO, C8P mainboards support native RS232 interfaces.
- Other mainboards require connection via a UTOR or G2T module (this tutorial uses UTOR as an example).
🔍 Steps to Search for RS232 ID
Step 1: Access the Host Computer
- Open a browser and enter the host computer's IP address (e.g.,
192.168.101.179).
Loading...
Step 2: Open the Configuration File
- In the left-hand menu, find and click on
printer.cfg:
Fluidd Loading... | Mainsail Loading... |
Step 3: View Device List
- Click the
DEVICESbutton in the top right corner:
Loading... | Loading... |
Step 4: Refresh Serial Devices
- Click
SERIALand refresh the list:
| Fluidd Loading... | Mainsail Loading... |
Step 5: Copy the RS232 ID
- Find the device containing
ttyUSBand copy itsPath_by_hardwarevalue:
Fluidd Loading... | Mainsail Loading... |
Note for UTOR Users
- When using UTOR for connection, two candidate IDs typically appear. Please try each one to determine the correct ID.
- Click the arrow icon next to the ID to copy it.
⚙️ Configuring the RS232 ID into the Firmware
Configuration Note
- In the configuration below,
toolboardrefers to the toolboard name. Please replace it according to your actual situation. - The toolboard configuration should be
[mcu toolboard], while the mainboard configuration is[mcu]. Do not confuse them.
Reference Configuration:
Configuration Template
[mcu toolboard]
serial: <Replace here with the actual ID you found>
baud: 250000
restart_method: command
Configuration Steps:
- Paste the copied ID after the
serial:parameter. - Click the
SAVE & RESTARTbutton in the top right corner to save and restart Klipper.
Important Warning
- All IDs in this document are examples. It is strictly forbidden to copy and use them directly.
- You must fill in the actual hardware ID you obtained.
- The following ID is an invalid example and must not be used:
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
Important Note: Regarding the RS232 ID
Core Point
The RS232 ID you searched for is the ID of the UTOR module itself, not the toolboard's ID.
Key Understanding
- This ID represents the connection interface between the UTOR module and the host computer.
- The host computer uses this ID to tell the UTOR module: "Please connect to the toolboard through this interface of yours."
- Regardless of whether the toolboard is connected, as long as the UTOR module is connected to the host computer, this ID will exist.
In Simple Terms
Host Computer → [UTOR Module (ID)] → Toolboard
You are configuring the address of the middle box (UTOR), not the toolboard's address.
Practical Tips
- You can find the ID as long as the UTOR is connected, but communication only works if the toolboard is functioning normally.
- ID changes usually occur because the UTOR was moved to a different USB port or the system was restarted.
- Ensure the toolboard is correctly connected and powered when configuring.
Loading...