2019-11-05 18:47:03 +03:00
|
|
|
# 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
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[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
|
|
|
|
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
|
|
|
|
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
|
2019-12-17 22:15:49 +03:00
|
|
|
mesh_min: 106,39
|
|
|
|
mesh_max: 281,229
|
2019-11-05 18:47:03 +03:00
|
|
|
probe_count: 3,3
|
|
|
|
|
|
|
|
[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
|