Skip to main content

TMC 5160 Pro V1.5

Loading...

Overview

The TMC5160 Pro V1.5 is a high-performance stepper motor driver module supporting the SPI communication protocol, suitable for applications requiring precise motion control and high energy efficiency.

Technical Specifications

ItemSpecification
Input Voltage24 - 48 V DC
Maximum Current6 A
Compatible FirmwareMarlin / Klipper / RRF
Driver ModeSPI
Maximum Microstepping256 microsteps
Main FeaturesstealthChop2 (silent operation), spreadCycle (high dynamic control), dcStep (load-dependent speed control), stallGuard2 (sensorless load detection), coolStep (energy-saving current control)

Hardware Installation and Configuration

Motherboard Jumper Settings

The TMC5160 Pro uses SPI jumper mode:

  • The SPI pin for FLY drivers is the 4th pin from the top left (CS pin)
  • If using other motherboards, please confirm pin compatibility
Loading...

Module Pin Description

note

The motherboard driver power input is 12V-24V

Loading...

FPC Cable Connection

Loading...

Cooling Fan Connection

Loading...

Driver Power Supply Wiring

Loading...

Firmware Configuration

Important Note
  • Sense resistor value: sense_resistor: 0.033 (Do not set incorrectly)
  • Choose only one configuration between spi_bus and spi_software

SPI Mode Configuration Example

[tmc5160 stepper_x]
cs_pin: # SPI chip select pin
spi_bus: # SPI bus (choose one between this and spi_software_*)
# spi_software_mosi_pin: # Software SPI data output
# spi_software_miso_pin: # Software SPI data input
# spi_software_sclk_pin: # Software SPI clock
run_current: 1.0 # Run current setting
interpolate: False # 256 microstep interpolation (True to enable/False to disable)
sense_resistor: 0.033 # Sense resistor value
stealthchop_threshold: 0 # Silent mode speed threshold
driver_DISS2G: 1
driver_DISS2VS: 1

Sensorless Homing Configuration

Infinite Position Usage Tips
  • Using infinite position requires occupying one limit port. Normally, the first drive uses IO1, the second drive uses IO2, and so on.
  • When using infinite position, please ensure that nothing is connected to the corresponding limit port.
  • Some FLY mainboards have directly connected drive ports. Please check whether DIAG is directly connected to the corresponding pin.
Usage Instructions
  1. Hardware Preparation: The 4-pin FPC cable must be installed.
  2. Configuration Modification:
    • Comment out or delete the original endstop_pin:.
    • Add endstop_pin: tmc5160_stepper_x:virtual_endstop.
  3. Status Confirmation: After configuration, the endstop status should show "not triggered".
  4. Sensitivity Adjustment: The driver_SGT: value needs to be adjusted based on actual conditions.

Reference Configuration

[stepper_x]
# endstop_pin: # Comment out or delete original configuration
endstop_pin: tmc5160_stepper_x:virtual_endstop
homing_retract_dist: 0 # Set to 0 to avoid homing failure due to retraction

[tmc5160 stepper_x]
diag0_pin: ^! # Usually requires a pull-up resistor
driver_SGT: 1 # Sensitivity value (adjust based on actual conditions)
Configuration Suggestions
  • diag0_pin: typically uses the ^ prefix to enable internal pull-up.
  • Sensitivity is affected by factors like belt tension and mechanical structure; the optimal value needs to be determined through testing.
  • The driver_SGTHRS parameter can also be set to adjust the sensitivity threshold.
Loading...