-
Notifications
You must be signed in to change notification settings - Fork 4
/
main_printer.cfg
62 lines (56 loc) · 1.83 KB
/
main_printer.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[mcu]
serial: /dev/ttyAMA0
restart_method: command
[printer]
kinematics: corexy
max_velocity: 600
max_accel: 7000 #Max 4000
max_accel_to_decel: 7000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 10.0
[idle_timeout]
timeout: 7200 # 2 hours
[virtual_sdcard]
path: ~/gcode_files
[gcode_shell_command backup_cfg]
command: sh /home/pi/klipper_config/autocommit.sh
timeout: 30.
verbose: True
[gcode_macro BACKUP_CFG]
gcode:
RUN_SHELL_COMMAND CMD=backup_cfg
# TODO: Note this is wrong, need to update with what I actually have
[board_pins spider]
aliases:
# Stepper motor pins
X_STEP=PE11, X_DIR=PE10, X_ENABLE=PE9,
Y_STEP=PD8, Y_DIR=PB12, Y_ENABLE=PD9,
Z_STEP=PD14, Z_DIR=PD13, Z_ENABLE=PD15,
E0_STEP=PD5, E0_DIR=PD6, E0_ENABLE=PD4,
E1_STEP=PE6, E1_DIR=PC13, E1_ENABLE=PE5,
E2_STEP=PE2, E2_DIR=PE4, E2_ENABLE=PE3,
E3_STEP=PD12, E3_DIR=PC4, E3_ENABLE=PE8,
E4_STEP=PE1, E4_DIR=PE0, E4_ENABLE=PC5,
# Endstop pins
X_MIN=PB14, X_MAX=PA1,
Y_MIN=PB13, Y_MAX=PA2,
Z_MIN=PA0, Z_MAX=PA3,
# UART pins
X_UART=PE7, Y_UART=PE15, Z_UART=PD10,
E0_UART=PD7, E1_UART=PC14, E2_UART=PC15,
E3_UART=PA15, E4_UART=PD11,
# Heater and fan pins
E_HEATER=PB15, E_THERMISTOR=PC0,
E1_HEATER=PC8, E1_THERMISTOR=PC1,
E2_HEATER=PB3, E2_THERMISTOR=PC2,
BED_HEATER=PB4, BED_THERMISTOR=PC3,
FAN0=PB0, FAN1=PB1, FAN2=PB2,
# Led pins
LED-R=PB6, LED-G=PB5, LED-B=PB7,
# EXP1 header pins (see sample-lcd.cfg file for common LCD displays)
EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PD0, EXP1_9=<GND>,
EXP1_2=PA8, EXP1_4=PD2, EXP1_6=PC12, EXP1_8=PD1, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_3=PC6, EXP2_5=PC7, EXP2_7=PB10, EXP2_9=<GND>,
EXP2_2=PA5, EXP2_4=PA4, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<5V>