Skip to main content

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

  1. Power Off Safely: Ensure the toolboard is completely disconnected from the power source before operation.
  2. Locate DIP Switches: Flip the toolboard over and find the DIP switch group on the back.
  3. 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

  1. Keep Power Off: The device must remain powered off throughout the entire connection process.
  2. Required Cable: Prepare an XT30(2+2)-F 4-core cable. The wire definitions are as follows:
Wire ColorSignalConnection Target
RedVCC (Power Positive)12V–24V Power Supply Positive
BlackGND (Power Negative)Power Supply Negative
YellowIN (Signal Input)OUT pin of the UTOR module's RS232 expansion port
White/GreenOUT (Signal Output)IN pin of the UTOR module's RS232 expansion port
  1. 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
  1. Firmware Requirement: The toolboard must be flashed with the RS232 firmware, otherwise communication is impossible.
  2. Mandatory Common Ground: ⚠️ You must ensure the GND of the toolboard is connected to the GND of the mainboard (using the same 24V/12V power 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

  1. Open a browser and enter the host computer's IP address (e.g., 192.168.101.179).
Loading...

Step 2: Open the Configuration File

  1. In the left-hand menu, find and click on printer.cfg:

Fluidd
Click the {…} icon.

Loading...

Mainsail
Click the "Machine" menu.

Loading...

Step 3: View Device List

  1. Click the DEVICES button in the top right corner:
Loading...
Loading...

Step 4: Refresh Serial Devices

  1. Click SERIAL and refresh the list:
Fluidd
Loading...
Mainsail
Loading...

Step 5: Copy the RS232 ID

  1. Find the device containing ttyUSB and copy its Path_by_hardware value:

Fluidd
Confirm the presence of ttyUSB and Path_by_hardware.

Loading...

Mainsail
Confirm the presence of ttyUSB and Path_by_hardware.

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, toolboard refers 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:

  1. Paste the copied ID after the serial: parameter.
  2. Click the SAVE & RESTART button 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...