Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains pin mappings for the Creality "v4.2.7" board. To
- # use this config, during "make menuconfig" select the STM32F103 with
- # a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication.
- # If you prefer a direct serial connection, in "make menuconfig"
- # select "Enable extra low-level configuration options" and select
- # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
- # cable used for the LCD module as follows:
- # 3: Tx, 4: Rx, 9: GND, 10: VCC
- # 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.
- [include mainsail.cfg]
- [include adxl.cfg]
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- : rpi:None
- [resonance_tester]
- accel_chip: adxl345
- probe_points:
- 100,100,20 # an example
- [input_shaper]
- shaper_freq_x: 36.8
- shaper_type_x: mzv
- shaper_freq_y: 44.0
- shaper_type_y: mzv
- [bltouch] # Comment out if not using a BL/CR-Touch
- sensor_pin: ^PB1 # Comment out if not using a BL/CR-Touch
- control_pin: PB0 # Comment out if not using a BL/CR-Touch
- x_offset: -46 # Enter your own value here, Comment out if not using a BL/CR-Touch
- y_offset: -2 # Enter your own value here, Comment out if not using a BL/CR-Touch
- #[filament_switch_sensor Filament_runout_sensor]
- #pause_on_runout: True
- #runout_gcode:
- # G91
- # G1 Z20 F900 # Raise Z away from print
- # G90
- # G1 X245 Y218.5 F5000 # Move to purge area
- # G91
- # G1 E-450 F600 # Retract 450mm of filament
- # G90
- #insert_gcode:
- # G4 P10000 # Pause for 10 seconds
- # G1 E150 F400 # Prime the nozzle
- #switch_pin: PC6 # Pin that the sensor is connected to
- [safe_z_home]
- home_xy_position: 117.5,117.5 # Change coordinates to the center of your print bed
- z_hop: 10 # Move up 10mm
- z_hop_speed: 5
- [bed_mesh]
- speed: 120
- horizontal_move_z: 5
- mesh_min: 32, 10
- mesh_max: 199, 220
- probe_count: 6, 6
- mesh_pps: 2, 3
- algorithm: bicubic
- bicubic_tension: 0.
- fade_start: 1
- fade_end: 10
- fade_target: 0
- [stepper_x]
- step_pin: PB9
- dir_pin: PC2
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA5
- position_endstop: 0
- position_max: 245
- homing_speed: 50
- [stepper_y]
- step_pin: PB7
- dir_pin: PB8
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA6
- position_endstop: 0
- position_max: 230
- homing_speed: 50
- [stepper_z]
- step_pin: PB5
- dir_pin: !PB6
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop # Comment out if not using BL/CR-Touch
- #endstop_pin: ^PA7 # Uncomment if using the z-endstop
- #position_endstop: 0.0 # Uncomment if using the z-endstop
- position_max: 240
- position_min: -4
- [extruder]
- max_extrude_only_distance: 100.0
- step_pin: PB3
- dir_pin: PB4
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 31.755 # profile default 33.500
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- #control: pid
- #pid_kp: 24.545
- #pid_ki: 1.136
- #pid_kd: 132.544
- min_temp: 0
- max_temp: 300
- [heater_bed]
- heater_pin: PA2
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- control: pid
- pid_kp: 73.035
- pid_ki: 1.902
- pid_kd: 701.138
- min_temp: 0
- max_temp: 130
- [fan]
- pin: PA0
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 3000
- max_z_velocity: 5
- max_z_accel: 100
- [board_pins]
- aliases:
- EXP1_1=PC6,EXP1_3=PB10,EXP1_5=PB14,EXP1_7=PB12,EXP1_9=<GND>,
- EXP1_2=PB2,EXP1_4=PB11,EXP1_6=PB13,EXP1_8=PB15,EXP1_10=<5V>,
- PROBE_IN=PB0,PROBE_OUT=PB1,FIL_RUNOUT=PC6
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bltouch]
- #*# z_offset = 3.045
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 25.154
- #*# pid_ki = 1.310
- #*# pid_kd = 120.740
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.307500, 0.230000, 0.180000, 0.135000, -0.060000, 0.395000
- #*# 0.227500, 0.192500, -0.012500, 0.040000, 0.020000, -0.025000
- #*# 0.152500, 0.057500, -0.262500, -0.062500, -0.095000, -0.097500
- #*# 0.095000, 0.010000, -0.062500, -0.097500, -0.140000, -0.165000
- #*# 0.027500, -0.062500, -0.130000, -0.147500, -0.185000, -0.190000
- #*# 0.020000, -0.057500, -0.137500, -0.180000, -0.225000, -0.267500
- #*# x_count = 6
- #*# y_count = 6
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 3
- #*# algo = bicubic
- #*# tension = 0.0
- #*# min_x = 32.0
- #*# max_x = 199.0
- #*# min_y = 10.0
- #*# max_y = 220.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement