2020-09-29 17:45:44 +02:00
|
|
|
# This file contains pin mappings for the Creality "v4.2.7" board. To
|
|
|
|
# use this config, during "make menuconfig" select the STM32F103 with
|
2021-03-18 18:20:54 +01:00
|
|
|
# a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication.
|
2020-09-29 17:45:44 +02:00
|
|
|
|
|
|
|
# If you prefer a direct serial connection, in "make menuconfig"
|
2021-03-18 18:20:54 +01:00
|
|
|
# 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:
|
2020-09-29 17:45:44 +02:00
|
|
|
# 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.
|
|
|
|
|
2020-11-17 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2020-09-29 17:45:44 +02:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PB9
|
|
|
|
dir_pin: PC2
|
|
|
|
enable_pin: !PC3
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-09-29 17:45:44 +02:00
|
|
|
endstop_pin: ^PA5
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 235
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PB7
|
|
|
|
dir_pin: PB8
|
|
|
|
enable_pin: !PC3
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-09-29 17:45:44 +02:00
|
|
|
endstop_pin: ^PA6
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 235
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PB5
|
|
|
|
dir_pin: !PB6
|
|
|
|
enable_pin: !PC3
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2020-09-29 17:45:44 +02:00
|
|
|
endstop_pin: ^PA7
|
|
|
|
position_endstop: 0.0
|
|
|
|
position_max: 250
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
max_extrude_only_distance: 100.0
|
|
|
|
step_pin: PB3
|
|
|
|
dir_pin: PB4
|
|
|
|
enable_pin: !PC3
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 33.500
|
2020-09-29 17:45:44 +02:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: PA1
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PC5
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 21.527
|
|
|
|
pid_Ki: 1.063
|
|
|
|
pid_Kd: 108.982
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: PA2
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PC4
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 54.027
|
|
|
|
pid_Ki: 0.770
|
|
|
|
pid_Kd: 948.182
|
|
|
|
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
|
2021-05-17 15:44:50 +02:00
|
|
|
|
|
|
|
[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
|