From cc4227aec86d806b433fb1349b728f7db624935a Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Fri, 14 Dec 2018 16:48:43 +0200 Subject: [PATCH] config: Add printer config for the CR-20 by Creality3D Signed-off-by: Uri Shaked --- config/printer-creality-cr20-2018.cfg | 81 +++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 config/printer-creality-cr20-2018.cfg diff --git a/config/printer-creality-cr20-2018.cfg b/config/printer-creality-cr20-2018.cfg new file mode 100644 index 00000000..62ea3d3c --- /dev/null +++ b/config/printer-creality-cr20-2018.cfg @@ -0,0 +1,81 @@ +# This file contains pin mappings for the Creality CR-20. 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: 50 + +[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: 50 + +[stepper_z] +step_pin: PL3 +dir_pin: !PL1 +enable_pin: !PK0 +step_distance: .0025 +endstop_pin: ^PD3 +position_endstop: 0.5 +position_max: 250 + +[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 + +[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/ttyUSB0 + +[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