2020-01-24 00:06:38 +01:00
|
|
|
# This file contains common pin mappings for the MKS SGEN_L board. To
|
|
|
|
# use this config, the firmware should be compiled for the LPC1768.
|
|
|
|
|
2020-11-17 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: P2.2
|
|
|
|
dir_pin: !P2.3
|
|
|
|
enable_pin: !P2.1
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-03-08 19:36:09 +01:00
|
|
|
endstop_pin: ^P1.29 # ^P1.28 for X-max
|
2020-01-24 00:06:38 +01:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 320
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: P0.19
|
|
|
|
dir_pin: !P0.20
|
|
|
|
enable_pin: !P2.8
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2020-03-08 19:36:09 +01:00
|
|
|
endstop_pin: ^P1.27 # ^P1.26 for Y-max
|
2020-01-24 00:06:38 +01:00
|
|
|
position_endstop: 0
|
|
|
|
position_max: 300
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: P0.22
|
|
|
|
dir_pin: P2.11
|
|
|
|
enable_pin: !P0.21
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2020-03-08 19:36:09 +01:00
|
|
|
endstop_pin: ^P1.25 # ^P1.24 for Z-max
|
2020-01-24 00:06:38 +01:00
|
|
|
position_endstop: 0.5
|
|
|
|
position_max: 400
|
|
|
|
|
|
|
|
[extruder]
|
|
|
|
step_pin: P2.13
|
|
|
|
dir_pin: !P0.11
|
|
|
|
enable_pin: !P2.12
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 33.500
|
2020-01-24 00:06:38 +01:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
heater_pin: P2.7
|
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
|
|
sensor_pin: P0.23
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 22.2
|
|
|
|
pid_Ki: 1.08
|
|
|
|
pid_Kd: 114
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 260
|
|
|
|
|
|
|
|
#[extruder1]
|
|
|
|
#step_pin: P0.1
|
|
|
|
#dir_pin: P0.0
|
|
|
|
#enable_pin: !P0.10
|
|
|
|
#heater_pin: P2.6
|
|
|
|
#sensor_pin: P0.25
|
|
|
|
#...
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: P2.5
|
|
|
|
sensor_type: ATC Semitec 104GT-2
|
|
|
|
sensor_pin: P0.24
|
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: P2.4
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 200
|
|
|
|
max_accel: 2000
|
|
|
|
max_z_velocity: 25
|
|
|
|
max_z_accel: 100
|
|
|
|
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# TMC2208 configuration
|
|
|
|
########################################
|
|
|
|
|
|
|
|
#[tmc2208 stepper_x]
|
|
|
|
#uart_pin: P1.1
|
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2208 stepper_y]
|
|
|
|
#uart_pin: P1.8
|
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2208 stepper_z]
|
|
|
|
#uart_pin: P1.10
|
|
|
|
#run_current: 0.650
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2208 extruder]
|
|
|
|
#uart_pin: P1.15
|
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2208 extruder1]
|
|
|
|
#uart_pin: P1.17
|
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# TMC2130 configuration
|
|
|
|
########################################
|
|
|
|
|
|
|
|
#[tmc2130 stepper_x]
|
|
|
|
#cs_pin: P1.1
|
|
|
|
#spi_software_miso_pin: P0.5
|
|
|
|
#spi_software_mosi_pin: P4.28
|
|
|
|
#spi_software_sclk_pin: P0.4
|
2020-03-08 19:36:09 +01:00
|
|
|
##diag1_pin: ^!P1.29
|
2020-01-24 00:06:38 +01:00
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2130 stepper_y]
|
|
|
|
#cs_pin: P1.8
|
|
|
|
#spi_software_miso_pin: P0.5
|
|
|
|
#spi_software_mosi_pin: P4.28
|
|
|
|
#spi_software_sclk_pin: P0.4
|
2020-03-08 19:36:09 +01:00
|
|
|
##diag1_pin: ^!P1.27
|
2020-01-24 00:06:38 +01:00
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2130 stepper_z]
|
|
|
|
#cs_pin: P1.10
|
|
|
|
#spi_software_miso_pin: P0.5
|
|
|
|
#spi_software_mosi_pin: P4.28
|
|
|
|
#spi_software_sclk_pin: P0.4
|
2020-03-08 19:36:09 +01:00
|
|
|
##diag1_pin: ^!P1.25
|
2020-01-24 00:06:38 +01:00
|
|
|
#run_current: 0.650
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2130 extruder]
|
|
|
|
#cs_pin: P1.15
|
|
|
|
#spi_software_miso_pin: P0.5
|
|
|
|
#spi_software_mosi_pin: P4.28
|
|
|
|
#spi_software_sclk_pin: P0.4
|
2020-03-08 19:36:09 +01:00
|
|
|
##diag1_pin: ^!P1.28
|
2020-01-24 00:06:38 +01:00
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
#[tmc2130 extruder1]
|
|
|
|
#cs_pin: P1.17
|
|
|
|
#spi_software_miso_pin: P0.5
|
|
|
|
#spi_software_mosi_pin: P4.28
|
|
|
|
#spi_software_sclk_pin: P0.4
|
2020-03-08 19:36:09 +01:00
|
|
|
##diag1_pin: ^!P1.26
|
2020-01-24 00:06:38 +01:00
|
|
|
#run_current: 0.800
|
2021-05-09 15:02:43 +02:00
|
|
|
#stealthchop_threshold: 999999
|
2020-01-24 00:06:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# EXP1 / EXP2 (display) pins
|
|
|
|
########################################
|
|
|
|
|
|
|
|
[board_pins]
|
|
|
|
aliases:
|
|
|
|
# EXP1 header
|
|
|
|
EXP1_1=P1.31, EXP1_3=P0.18, EXP1_5=P0.15, EXP1_7=P1.0, EXP1_9=<GND>,
|
|
|
|
EXP1_2=P1.30, EXP1_4=P0.16, EXP1_6=P0.17, EXP1_8=P1.22, EXP1_10=<5V>,
|
|
|
|
# EXP2 header
|
|
|
|
EXP2_1=P0.8, EXP2_3=P3.25, EXP2_5=P3.26, EXP2_7=P0.27, EXP2_9=<GND>,
|
|
|
|
EXP2_2=P0.7, EXP2_4=P0.28, EXP2_6=P0.9, EXP2_8=<RST>, EXP2_10=<NC>
|
|
|
|
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"
|
|
|
|
|
|
|
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|