• 注册
  • 综合讨论 综合讨论 关注:22 内容:75

    SKR1.1安装klipper上电锁定X轴

  • 查看作者
  • 打赏作者
    • 2
    • 综合讨论
    • 打印菜鸟
      小黑屋专业户

      别人给了一块SKR1.1主板用来替换我的TINY-M上的RAMPS,美滋滋的接完线刷上klipper以后联机,XY归零的时候发现斜着跑,立马检查AB电机,发现X轴的电机被锁死不动,于是拔电拆却发现能动了,又上电归零还是斜着跑,交换AB电机换个还是又一个电机被锁死,于是乎开始了一系列的折腾,换电机、换电机线、换驱动、换上位机重新编译和刷固件、改配置文件,甚至一度把X轴移动到E1位置去,无论如何都没用,AB电机接在X轴上那个始终被锁死不能动。求问有没有大神遇到过这种问题,该怎么解决啊?

      [include kiauh_macros.cfg]

      [mcu]

      serial: /dev/serial/by-id/usb-Klipper_lpc1768_16B0FF13A4942EAF08E0585BC32000F5-if00

      [printer]

      kinematics: corexy

      max_velocity: 300

      max_accel: 3000

      max_z_velocity: 5

      max_z_accel: 100

      [pause_resume]

      [display_status]

      [virtual_sdcard]

      path: ~/gcode_files

      # This file contains common pin mappings for the BIGTREETECH SKR V1.1

      # board. To use this config, the firmware should be compiled for the

      # LPC1768.

      # See docs/Config_Reference.md for a description of parameters.

      [stepper_x]

      step_pin: P0.4

      dir_pin: P0.5

      enable_pin: P4.28

      microsteps: 32

      rotation_distance: 40

      endstop_pin: P1.28

      position_endstop: 150

      position_max: 150

      homing_speed: 50

      [stepper_y]

      step_pin: P2.1

      dir_pin: !P2.2

      enable_pin: !P2.0

      microsteps: 32

      rotation_distance: 40

      endstop_pin: P1.26

      position_endstop: 150

      position_max: 150

      homing_speed: 50

      [stepper_z]

      step_pin: P0.20

      dir_pin: P0.21

      enable_pin: !P0.19

      microsteps: 32

      rotation_distance: 8

      endstop_pin: P1.25

      position_endstop: 0

      position_max: 130

      #[stepper_z1]

      #step_pin: P0.1

      #dir_pin: P0.0

      #enable_pin: !P0.10

      #position_endstop: 0.5

      #position_max: 200

      [extruder]

      step_pin: P0.11

      dir_pin: !P2.13

      enable_pin: !P2.12

      microsteps: 32

      rotation_distance: 22.14895

      full_steps_per_rotation: 200

      gear_ratio: 5:1

      nozzle_diameter: 0.400

      filament_diameter: 1.750

      heater_pin: P2.7

      sensor_type: PT1000

      sensor_pin: P0.24

      #control = pid

      #pid_kp = 14.489

      #pid_ki = 0.534

      #pid_kd = 98.343

      min_temp: 0

      max_temp: 250

      [heater_bed]

      heater_pin: P2.5

      sensor_type: ATC Semitec 104GT-2

      sensor_pin: P0.23

      control = pid

      pid_kp = 60.060

      pid_ki = 3.850

      pid_kd = 234.232

      min_temp: 0

      max_temp: 130

      [fan]

      pin: P2.3

      [output_pin LED灯控制]

      pin: P2.4

      [temperature_sensor NanoPINEO2]

      sensor_type: temperature_host

      min_temp: 10

      max_temp: 100

      [board_pins]

      aliases:

          # EXP1 header

          EXP1_1=P1.30, EXP1_3=P0.18, EXP1_5=P0.15, EXP1_7=<NC>, EXP1_9=<GND>,

          EXP1_2=P2.11, EXP1_4=P0.16, EXP1_6=<NC>,  EXP1_8=<NC>, EXP1_10=<5V>,

          # EXP2 header

          EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,

          EXP2_2=P0.15, EXP2_4=P1.23, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>

          # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus “ssp0”

      打印菜鸟

      X和Y的enable_pin这个设置不一致,加了反转。

      [stepper_x]

      enable_pin: !P4.28


      [stepper_y]

      enable_pin: !P2.0

    • 手手不乖感谢,又去GitHub看了一遍确实是这样,改天空了接线试试。 [s-54]
      拉黑 3个月前 电脑端回复
    • 回复

      请登录之后再进行评论

      登录
      帖子间隔 侧栏位置: