-
Notifications
You must be signed in to change notification settings - Fork 43
/
toolhead_fysect_sbcan_1_1.cfg
116 lines (104 loc) · 2.54 KB
/
toolhead_fysect_sbcan_1_1.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
## BOARD PINS
[board_pins SB_CAN_TH_v1.1]
mcu: can0
aliases:
aliases_step:
EXT_EN=PB4,EXT_STEP=PA7,EXT_DIR=PA5,EXT_UART=PA10
aliases_limitsw: # these are preferred for endstops (including klicky)
LIMIT_1=PB6,LIMIT_2=PB11,LIMIT_3=PB7
aliases_fans:
FAN0=PA2,FAN1=PA3
aliases_thermistors:
TH0=PA0
aliases_heaters:
HE0=PA8
aliases_rgb:
RGBLED=PB1
aliases_adxl:
ADXL_CS=PB12,ADXL_SCLK=PB13,ADXL_MISO=PB14,ADXL_MOSI=PB15
aliases_aux:
AUX0=PA11,AUX1=PE11
## can0
[mcu can0]
canbus_uuid: 2c77b9d71a11 # run the following command to locate the uuid > ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
## can0
[temperature_sensor CANBOARD]
sensor_type: temperature_mcu
sensor_mcu: can0
## HOT END FAN
[heater_fan hotend_fan]
## Hotend Fan - FAN1
pin: can0:FAN1
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
## PART COOLING
[fan]
pin: can0:FAN0
kick_start_time: 0.25
cycle_time: 0.15
off_below: 0.10
## EXTRUDER
[extruder]
step_pin: can0:EXT_STEP
dir_pin: !can0:EXT_DIR
enable_pin: !can0:EXT_EN
#rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
rotation_distance: 26.72306036
gear_ratio: 50:8 #for sherpa mini 8t motor
microsteps: 16
full_steps_per_rotation: 200 #1.8deg Motor
max_extrude_only_distance: 1400.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: can0:HE0
sensor_pin: can0:TH0
sensor_type: ATC Semitec 104GT-2 # this is the default for the Revo heater
#pullup_resistor: 2200 # 4700 is default and does not need defining, 2200 is used for the PT1000
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: -50
max_temp: 350
## EXTRUDER MOTOR
[tmc2209 extruder]
uart_pin: can0:EXT_UART
stealthchop_threshold: 0
run_current: 0.30
## ADXL345
[adxl345]
cs_pin: can0:ADXL_CS
spi_software_sclk_pin: can0:ADXL_SCLK
spi_software_mosi_pin: can0:ADXL_MOSI
spi_software_miso_pin: can0:ADXL_MISO
axes_map: -y,z,-x
[resonance_tester]
accel_chip: adxl345
probe_points:
175,175,20 # an example for a 350mm printer
## RGB
#[neopixel my_neopixel]
#pin: can0:RGBLED
#chain_count: 12
#color_order: GRB
#initial_RED: 0.0
#initial_GREEN: 0.0
#initial_BLUE: 0.0
!THIS IS HERE SO YOU READ THE NEXT LINE ;) - DELETE ME ONCE DONE!
## PROBE - MOVE THIS TO printer.cfg or your probe offsets will fail!
[probe]
pin: ^can0:LIMIT_1
x_offset: -29.8
y_offset: -13.5
z_offset: 2.202
speed: 5
samples: 3
sample_retract_dist: 2
lift_speed: 5.0
samples_result: median
samples_tolerance: 0.02
samples_tolerance_retries: 5