config: Added config for Creality CR-20 Pro (#2135)

Based on the configuration for the CR20-2018.
Added support for BLtouch, save z-homing and
automatic bed leveling.

Signed-off-by: Matthias Roggo <bskp@posteo.ch>
This commit is contained in:
bskp 2019-11-05 16:47:03 +01:00 committed by KevinOConnor
parent 009d14fc3e
commit 0cd808cfde
1 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,113 @@
# This file contains pin mappings for the Creality CR-20 Pro. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
step_distance: .0125
endstop_pin: ^PE5
position_endstop: 0
position_max: 235
homing_speed: 100
second_homing_speed: 50
homing_retract_dist: 5
[stepper_y]
step_pin: PF6
dir_pin: PF7
enable_pin: !PF2
step_distance: .0125
endstop_pin: ^PJ1
position_endstop: 0
position_max: 235
homing_speed: 100
second_homing_speed: 50
homing_retract_dist: 5
[stepper_z]
step_pin: PL3
dir_pin: !PL1
enable_pin: !PK0
step_distance: .0025
endstop_pin: probe:z_virtual_endstop
position_endstop: 0
position_max: 250
homing_speed: 10.0
position_min: -1.0
[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
step_distance: .010526
nozzle_diameter: 0.400
filament_diameter: 1.750
pressure_advance: 0.9 # please calibrate!
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250
[bltouch]
sensor_pin: ^PD3
control_pin: PB5
z_offset: 3.60
x_offset: 46
y_offset: 9
pin_move_time: 0.15
speed: 3.0
samples: 1
[safe_z_home]
home_xy_position: 117,117
speed: 50.0
z_hop: 10.0
z_hop_speed: 100
[bed_mesh]
speed: 100
horizontal_move_z: 8
min_point: 60,30
max_point: 235,220
probe_count: 3,3
fade_start: 1.0
fade_end: 0 # disable fading
[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
control: pid
pid_Kp: 690.34
pid_Ki: 111.47
pid_Kd: 1068.83
min_temp: 0
max_temp: 130
[fan]
pin: PH6
[mcu]
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AK06SLT2-if00-port0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[display]
lcd_type: uc1701
cs_pin: PA3
a0_pin: PA5
encoder_pins: ^PC4, ^PC6
click_pin: ^!PC2