2020-06-21 14:51:35 +02:00
|
|
|
# This file contains common pin mappings for MKS Robin E3 boards. To
|
|
|
|
# use this config, the firmware should be compiled for the STM32F103.
|
|
|
|
# When running "make menuconfig", enable "extra low-level
|
2021-03-18 18:20:54 +01:00
|
|
|
# configuration setup", select the 20KiB bootloader, and serial (on
|
|
|
|
# USART1 PA10/PA9) communication.
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
# Note that the "make flash" command does not work with MKS Robin
|
|
|
|
# boards. After running "make", run the following command:
|
|
|
|
# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_e3.bin
|
|
|
|
# Copy the file out/Robin_e3.bin to an SD card and then restart the
|
|
|
|
# printer with that SD card.
|
|
|
|
|
|
|
|
# MKS Robin E3 has onboard TMC2209. This config can also be used for
|
|
|
|
# MKS Robin E3D if equipped with TMC2209 stepper drivers.
|
|
|
|
|
2021-08-17 17:49:52 +02:00
|
|
|
# Please note pin name change for stepper Z for v1.1 of the boards.
|
|
|
|
|
2020-11-17 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PC0
|
|
|
|
dir_pin: PB2
|
|
|
|
enable_pin: !PC13
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-06-21 14:51:35 +02:00
|
|
|
endstop_pin: ^PA12
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 165
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PC2
|
|
|
|
dir_pin: PB9
|
|
|
|
enable_pin: !PB12
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-06-21 14:51:35 +02:00
|
|
|
endstop_pin: ^PA11
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 165
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_z]
|
2021-08-17 17:49:52 +02:00
|
|
|
step_pin: PB7 # PC14 if using board v1.1
|
|
|
|
dir_pin: !PB6 # !PC15 if using board v1.1
|
2020-06-21 14:51:35 +02:00
|
|
|
enable_pin: !PB8
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2020-06-21 14:51:35 +02:00
|
|
|
endstop_pin: ^PC6
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
step_pin: PB4
|
|
|
|
dir_pin: PB3
|
|
|
|
enable_pin: !PB5
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 33.500
|
2020-06-21 14:51:35 +02:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: PC9
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: PA0
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 21.527
|
|
|
|
pid_Ki: 1.063
|
|
|
|
pid_Kd: 108.982
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[tmc2209 stepper_x]
|
|
|
|
uart_pin: PC7
|
|
|
|
run_current: 0.800
|
|
|
|
hold_current: 0.500
|
2021-05-09 15:02:43 +02:00
|
|
|
stealthchop_threshold: 999999
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
[tmc2209 stepper_y]
|
|
|
|
uart_pin: PD2
|
|
|
|
run_current: 0.800
|
|
|
|
hold_current: 0.500
|
2021-05-09 15:02:43 +02:00
|
|
|
stealthchop_threshold: 999999
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
[tmc2209 stepper_z]
|
|
|
|
uart_pin: PC12
|
|
|
|
run_current: 0.650
|
|
|
|
hold_current: 0.450
|
2021-05-09 15:02:43 +02:00
|
|
|
stealthchop_threshold: 999999
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
[tmc2209 extruder]
|
|
|
|
uart_pin: PC11
|
|
|
|
run_current: 0.800
|
|
|
|
hold_current: 0.500
|
2021-05-09 15:02:43 +02:00
|
|
|
stealthchop_threshold: 999999
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: PA8
|
|
|
|
|
|
|
|
#[heater_bed]
|
|
|
|
#heater_pin: PC8
|
|
|
|
#sensor_pin: PA1
|
|
|
|
#...
|
|
|
|
|
|
|
|
#[bltouch]
|
|
|
|
#sensor_pin: ^PC6
|
|
|
|
#control_pin: PA3
|
|
|
|
#...
|
|
|
|
|
2021-08-17 17:49:52 +02:00
|
|
|
#[filament_switch_sensor my_sensor]
|
|
|
|
#switch_pin: PB10
|
|
|
|
#...
|
|
|
|
|
2020-06-21 14:51:35 +02:00
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
|
|
|
restart_method: command
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 1500
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
|
|
|
|
|
|
|
# EXP1 / EXP2 (display) pins
|
|
|
|
[board_pins]
|
|
|
|
aliases:
|
|
|
|
# EXP1 header
|
|
|
|
EXP1_1=PC3, EXP1_3=PA4, EXP1_5=PA6, EXP1_7=PC4, EXP1_9=<GND>,
|
|
|
|
EXP1_2=PC1, EXP1_4=PA5, EXP1_6=PA7, EXP1_8=PC5, EXP1_10=<5V>,
|
|
|
|
# EXP2 header
|
|
|
|
EXP2_1=PB14, EXP2_3=PB11, EXP2_5=PB0, EXP2_7=PC10, EXP2_9=<GND>,
|
2021-08-19 23:10:06 +02:00
|
|
|
EXP2_2=PB13, EXP2_4=PA15, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>,
|
2021-08-17 17:49:52 +02:00
|
|
|
# CR_EXP3 header - additional header dedicated to Creality Ender 3/5 stock screens
|
|
|
|
CR_EXP3_10=<5V>, CR_EXP3_8=PA4, CR_EXP3_6=PA6, CR_EXP3_4=<RST>, CR_EXP3_2=PC3,
|
|
|
|
CR_EXP3_9=<GND>, CR_EXP3_7=PA5, CR_EXP3_5=PB0, CR_EXP3_3=PB11, CR_EXP3_1=PC1
|
|
|
|
|
|
|
|
# If you're using this board to replace stock Creality board, connect display to EXP3
|
|
|
|
# and use this display config
|
|
|
|
#[display]
|
|
|
|
#lcd_type: st7920
|
|
|
|
#sid_pin: CR_EXP3_8
|
|
|
|
#cs_pin: CR_EXP3_7
|
|
|
|
#sclk_pin: CR_EXP3_6
|
|
|
|
#encoder_pins: ^CR_EXP3_5, ^CR_EXP3_3
|
|
|
|
#click_pin: ^!CR_EXP3_2
|
|
|
|
#
|
|
|
|
#[output_pin beeper]
|
|
|
|
## pin: EXP1_9
|
|
|
|
#pin: CR_EXP3_1
|
2020-06-21 14:51:35 +02:00
|
|
|
|
|
|
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|