mirror of https://github.com/Desuuuu/klipper.git
127 lines
2.7 KiB
INI
127 lines
2.7 KiB
INI
# 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
|
|
# configuration setup", select the 20KiB bootloader, and serial (on
|
|
# USART1 PA10/PA9) communication.
|
|
|
|
# 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.
|
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
|
|
|
[stepper_x]
|
|
step_pin: PC0
|
|
dir_pin: PB2
|
|
enable_pin: !PC13
|
|
microsteps: 16
|
|
rotation_distance: 40
|
|
endstop_pin: ^PA12
|
|
position_endstop: 0
|
|
position_max: 165
|
|
homing_speed: 50
|
|
|
|
[stepper_y]
|
|
step_pin: PC2
|
|
dir_pin: PB9
|
|
enable_pin: !PB12
|
|
microsteps: 16
|
|
rotation_distance: 40
|
|
endstop_pin: ^PA11
|
|
position_endstop: 0
|
|
position_max: 165
|
|
homing_speed: 50
|
|
|
|
[stepper_z]
|
|
step_pin: PB7 #PC14 if using board v1.1
|
|
dir_pin: !PB6 #PC15 if using board v1.1
|
|
enable_pin: !PB8
|
|
microsteps: 16
|
|
rotation_distance: 8
|
|
endstop_pin: ^PC6
|
|
position_endstop: 0
|
|
position_max: 200
|
|
|
|
[extruder]
|
|
step_pin: PB4
|
|
dir_pin: PB3
|
|
enable_pin: !PB5
|
|
microsteps: 16
|
|
rotation_distance: 33.500
|
|
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
|
|
stealthchop_threshold: 999999
|
|
|
|
[tmc2209 stepper_y]
|
|
uart_pin: PD2
|
|
run_current: 0.800
|
|
hold_current: 0.500
|
|
stealthchop_threshold: 999999
|
|
|
|
[tmc2209 stepper_z]
|
|
uart_pin: PC12
|
|
run_current: 0.650
|
|
hold_current: 0.450
|
|
stealthchop_threshold: 999999
|
|
|
|
[tmc2209 extruder]
|
|
uart_pin: PC11
|
|
run_current: 0.800
|
|
hold_current: 0.500
|
|
stealthchop_threshold: 999999
|
|
|
|
[fan]
|
|
pin: PA8
|
|
|
|
#[heater_bed]
|
|
#heater_pin: PC8
|
|
#sensor_pin: PA1
|
|
#...
|
|
|
|
#[bltouch]
|
|
#sensor_pin: ^PC6
|
|
#control_pin: PA3
|
|
#...
|
|
|
|
[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>,
|
|
EXP2_2=PB13, EXP2_4=PA15, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>
|
|
|
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|