2018-12-30 20:38:28 +01:00
|
|
|
# This file contains common pin mappings for the Duet2 Maestro. To use
|
|
|
|
# this config, the firmware should be compiled for the sam4s8c.
|
|
|
|
|
2020-11-17 00:47:32 +01:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2018-12-30 20:38:28 +01:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PC20
|
|
|
|
dir_pin: PC18
|
2019-11-13 00:18:32 +01:00
|
|
|
enable_pin: !PA1
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2018-12-30 20:38:28 +01:00
|
|
|
endstop_pin: ^PA24
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[tmc2208 stepper_x]
|
|
|
|
uart_pin: PA9
|
|
|
|
tx_pin: PA10
|
|
|
|
select_pins: !PC14, !PC16, !PC17
|
2019-06-13 04:26:44 +02:00
|
|
|
sense_resistor: 0.075
|
2018-12-30 20:38:28 +01:00
|
|
|
run_current: 0.800
|
|
|
|
stealthchop_threshold: 250
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PC2
|
|
|
|
dir_pin: PA8
|
2019-11-13 00:18:32 +01:00
|
|
|
enable_pin: !PA1
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
2018-12-30 20:38:28 +01:00
|
|
|
endstop_pin: ^PB6
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[tmc2208 stepper_y]
|
|
|
|
uart_pin: PA9
|
|
|
|
tx_pin: PA10
|
|
|
|
select_pins: PC14, !PC16, !PC17
|
2019-06-13 04:26:44 +02:00
|
|
|
sense_resistor: 0.075
|
2018-12-30 20:38:28 +01:00
|
|
|
run_current: 0.800
|
|
|
|
stealthchop_threshold: 250
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PC28
|
|
|
|
dir_pin: PB4
|
2019-11-13 00:18:32 +01:00
|
|
|
enable_pin: !PA1
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
2018-12-30 20:38:28 +01:00
|
|
|
endstop_pin: ^PC10
|
|
|
|
position_endstop: 0.5
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[tmc2208 stepper_z]
|
|
|
|
uart_pin: PA9
|
|
|
|
tx_pin: PA10
|
|
|
|
select_pins: !PC14, PC16, !PC17
|
2019-06-13 04:26:44 +02:00
|
|
|
sense_resistor: 0.075
|
2018-12-30 20:38:28 +01:00
|
|
|
run_current: 0.800
|
|
|
|
stealthchop_threshold: 30
|
|
|
|
|
2020-09-10 03:32:03 +02:00
|
|
|
# Support analog sensor adjustments using VREF/VSSA pins
|
|
|
|
[adc_scaled vref_scaled]
|
|
|
|
vref_pin: PA17
|
|
|
|
vssa_pin: PA19
|
|
|
|
|
2018-12-30 20:38:28 +01:00
|
|
|
[extruder]
|
|
|
|
step_pin: PC4
|
|
|
|
dir_pin: PB7
|
2019-11-13 00:18:32 +01:00
|
|
|
enable_pin: !PA1
|
2020-12-14 15:09:19 +01:00
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 33.500
|
2018-12-30 20:38:28 +01:00
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
2019-07-10 19:23:59 +02:00
|
|
|
heater_pin: !PC1
|
2018-12-30 20:38:28 +01:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2019-10-24 19:07:07 +02:00
|
|
|
pullup_resistor: 2200
|
2020-09-10 03:32:03 +02:00
|
|
|
sensor_pin: vref_scaled:PB0
|
2018-12-30 20:38:28 +01:00
|
|
|
control: pid
|
|
|
|
pid_Kp: 22.2
|
|
|
|
pid_Ki: 1.08
|
|
|
|
pid_Kd: 114
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 250
|
|
|
|
|
|
|
|
[tmc2208 extruder]
|
|
|
|
uart_pin: PA9
|
|
|
|
tx_pin: PA10
|
|
|
|
select_pins: PC14, PC16, !PC17
|
2019-06-13 04:26:44 +02:00
|
|
|
sense_resistor: 0.075
|
2018-12-30 20:38:28 +01:00
|
|
|
run_current: 0.800
|
|
|
|
stealthchop_threshold: 5
|
|
|
|
|
|
|
|
#[extruder1]
|
|
|
|
#step_pin: PC5
|
|
|
|
#dir_pin: PC6
|
|
|
|
#enable_pin: !PA1
|
2019-07-10 19:23:59 +02:00
|
|
|
#heater_pin: !PA16
|
2018-12-30 20:38:28 +01:00
|
|
|
#sensor_pin: PC30
|
2019-10-24 19:07:07 +02:00
|
|
|
#pullup_resistor: 2200
|
2018-12-30 20:38:28 +01:00
|
|
|
#...
|
2019-06-13 04:26:44 +02:00
|
|
|
#[tmc2208 extruder1]
|
2018-12-30 20:38:28 +01:00
|
|
|
#select_pins: !PC14, !PC16, PC17
|
2019-06-13 04:26:44 +02:00
|
|
|
#sense_resistor: 0.075
|
|
|
|
#...
|
2018-12-30 20:38:28 +01:00
|
|
|
|
|
|
|
# External steppers
|
|
|
|
# e2: step_pin=PC31 dir_pin=PA18 enable_pin=PC27 select_pins=PC14,!PC16,PC17
|
|
|
|
# e3: step_pin=PC21 dir_pin=PC24 enable_pin=PC25 select_pins=!PC14,PC16,PC17
|
|
|
|
# e0_stop: endstop_pin=PA25
|
|
|
|
# e1_stop: endstop_pin=PC7
|
|
|
|
# c_temp: sensor_pin=PB1
|
|
|
|
|
|
|
|
[heater_bed]
|
2019-07-10 19:23:59 +02:00
|
|
|
heater_pin: !PC0
|
2018-12-30 20:38:28 +01:00
|
|
|
sensor_type: EPCOS 100K B57560G104F
|
2019-10-24 19:07:07 +02:00
|
|
|
pullup_resistor: 2200
|
2020-09-10 03:32:03 +02:00
|
|
|
sensor_pin: vref_scaled:PA20
|
2018-12-30 20:38:28 +01:00
|
|
|
control: watermark
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: PC23 # FAN0
|
|
|
|
|
|
|
|
#[heater_fan nozzle_cooling_fan]
|
|
|
|
#pin: PC22 # FAN1
|
|
|
|
|
|
|
|
#[heater_fan board_cooling_fan]
|
|
|
|
#pin: PC29 # FAN2
|
|
|
|
|
2020-06-17 19:21:18 +02:00
|
|
|
#[bltouch]
|
|
|
|
#sensor_pin: PC15 # Z_PROBE_IN
|
|
|
|
#control_pin: PC26 # Z_PROBE_MOD
|
|
|
|
#...
|
|
|
|
|
2018-12-30 20:38:28 +01:00
|
|
|
[mcu]
|
|
|
|
serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
|
|
|
|
|
|
|
[static_digital_output led]
|
2020-06-17 19:21:18 +02:00
|
|
|
pins: !PC26 # Z_PROBE_MOD / SERVO pin
|
2019-06-13 17:29:35 +02:00
|
|
|
|
2019-08-09 18:50:10 +02:00
|
|
|
# EXP1 / EXP2 (display) pins
|
|
|
|
[board_pins]
|
|
|
|
aliases:
|
|
|
|
# EXP1 header
|
|
|
|
EXP1_1=PA15, EXP1_3=PA6, EXP1_5=PA2, EXP1_7=<NC>, EXP1_9=<GND>,
|
|
|
|
EXP1_2=PA7, EXP1_4=PC9, EXP1_6=<NC>, EXP1_8=<NC>, EXP1_10=<5V>,
|
|
|
|
# EXP2 header
|
|
|
|
EXP2_1=PA5, EXP2_3=PC3, EXP2_5=PB5, EXP2_7=<NC>, EXP2_9=<GND>,
|
|
|
|
EXP2_2=PA2, EXP2_4=PB13, EXP2_6=PA6, EXP2_8=<RST>, EXP2_10=<NC>
|
|
|
|
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "usart0"
|
|
|
|
|
|
|
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|