Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [include mainsail.cfg]
- # This file contains pin mappings for the Creality Sermoon D1 with
- # Rev. 4.3.1 Motherboard.
- # To use this config, during "make menuconfig" select the STM32F103
- # with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
- # communication.
- # Flash this firmware by copying "out/klipper.bin" to a SD card and
- # turning on the printer with the card inserted. The firmware
- # filename must end in ".bin" and must not match the last filename
- # that was flashed.
- # See docs/Config_Reference.md for a description of parameters.
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- cs_pin: rpi:None
- [resonance_tester]
- accel_chip: adxl345
- probe_points:
- 140, 135, 20 # an example
- [stepper_x]
- step_pin: PC2
- dir_pin: !PB9
- enable_pin: !PC3
- rotation_distance: 40
- microsteps: 16
- endstop_pin: ^PA5
- position_min: -5
- position_endstop: -5
- position_max: 280
- homing_speed: 50
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- rotation_distance: 40
- microsteps: 16
- endstop_pin: ^PA6
- position_min: -2
- position_endstop: -2
- position_max: 260
- homing_speed: 50
- [stepper_z]
- step_pin: PB6
- dir_pin: PB5
- enable_pin: !PC3
- rotation_distance: 8
- microsteps: 16
- #position_endstop: 0.0 # disable to use BLTouch
- #endstop_pin: ^PA7 # disable to use BLTouch
- endstop_pin: probe:z_virtual_endstop # enable to use BLTouch
- position_min: -5 # enable to use BLTouch
- position_max: 300
- homing_speed: 4
- second_homing_speed: 1
- homing_retract_dist: 2.0
- [extruder]
- max_extrude_only_distance: 1000.0
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 34.936
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- control: pid
- pid_kp: 26.163
- pid_ki: 1.418
- pid_kd: 120.675
- min_temp: 0
- max_temp: 260
- [heater_bed]
- heater_pin: PA2
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- control: pid
- pid_Kp: 76.301
- pid_Ki: 1.707
- pid_Kd: 852.669
- min_temp: 0
- max_temp: 100
- [fan]
- pin: PA0
- kick_start_time: 0.5
- [mcu]
- #use command ls /dev/serial/by-id/* to find the printer connected via USB
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- # Before printing the PROBE_CALIBRATE command needs to be issued
- # to run the probe calibration procedure, described at
- # docs/Probe_Calibrate.md, to find the correct z_offset.
- [safe_z_home] # enable for BLTouch
- home_xy_position: 150.7, 137
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- [bltouch]
- sensor_pin: ^PB1
- control_pin: PB0
- x_offset: 54
- y_offset: -7
- #z_offset: 2
- speed: 3.0
- [bed_mesh] # enable for BLTouch
- speed: 100
- mesh_min: 55, 25
- mesh_max: 278, 250
- algorithm: bicubic
- probe_count: 7, 7
- [filament_switch_sensor filament_sensor]
- pause_on_runout: false
- switch_pin: !PA4
- [printer]
- kinematics: cartesian
- max_velocity: 500
- max_z_velocity: 5
- max_z_accel: 100
- max_accel: 10000
- max_accel_to_decel: 10000
- [board_pins]
- aliases:
- # EXP1 header
- EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
- EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, 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=P0.16, 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"
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bltouch]
- #*# z_offset = 1.650
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.045000, -0.030000, -0.020000, -0.037500, -0.027500, -0.015000, -0.040000
- #*# -0.055000, -0.030000, -0.025000, -0.037500, -0.052500, -0.050000, -0.085000
- #*# -0.027500, -0.022500, -0.022500, -0.047500, -0.065000, -0.052500, -0.080000
- #*# 0.007500, 0.012500, 0.002500, -0.025000, -0.052500, -0.042500, -0.085000
- #*# 0.002500, -0.015000, -0.025000, -0.072500, -0.080000, -0.072500, -0.087500
- #*# -0.007500, -0.015000, -0.040000, -0.082500, -0.100000, -0.095000, -0.117500
- #*# -0.020000, -0.045000, -0.082500, -0.125000, -0.125000, -0.122500, -0.137500
- #*# x_count = 7
- #*# y_count = 7
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 52.0
- #*# max_x = 280.0
- #*# min_y = 25.0
- #*# max_y = 250.0
Advertisement
Add Comment
Please, Sign In to add comment