1- [include mainsail.cfg]
2-
31[printer]
42kinematics: corexy
53max_velocity: 500.000000
64max_accel: 20000.000000
7- # max_accel_to_decel: 20000
85max_z_velocity: 20.000000
96max_z_accel: 500.000000
107square_corner_velocity: 9.000000
@@ -21,9 +18,7 @@ position_max: 256.5
2118position_min: -2.01
2219homing_speed: 20
2320homing_retract_dist: 0
24- rotation_distance: 40
25- # rotation_distance: 39.872
26- # homing_positive_dir: true
21+ rotation_distance: 39.872
2722
2823[stepper_y]
2924step_pin: PE14
@@ -37,8 +32,7 @@ position_max: 270.000000
3732position_min: -2.51
3833homing_speed: 20
3934homing_retract_dist: 0
40- rotation_distance: 40
41- # rotation_distance: 39.872
35+ rotation_distance: 39.872
4236
4337[stepper_z]
4438step_pin: PG3
@@ -62,11 +56,11 @@ resistance1: 100000
6256beta: 4300
6357
6458[extruder]
65- step_pin: stm32 :PC13
66- dir_pin: stm32 :PC14
67- enable_pin: !stm32 :PC15
68- heater_pin: stm32 :PB6
69- sensor_pin: stm32 :PA3
59+ step_pin: hotend :PC13
60+ dir_pin: hotend :PC14
61+ enable_pin: !hotend :PC15
62+ heater_pin: hotend :PB6
63+ sensor_pin: hotend :PA3
7064microsteps: 16
7165full_steps_per_rotation: 200
7266gear_ratio: 52:10
@@ -119,8 +113,8 @@ driver_sgthrs: 120
119113stealthchop_threshold: 99999
120114
121115[tmc2209 extruder]
122- tx_pin: stm32 :PC6
123- uart_pin: stm32 :PC7
116+ tx_pin: hotend :PC6
117+ uart_pin: hotend :PC7
124118interpolate: 1
125119run_current: 0.8
126120hold_current: 0.5
@@ -130,7 +124,7 @@ driver_sgthrs: 10
130124stealthchop_threshold: 0
131125
132126[led led1]
133- red_pin: stm32 :PC9
127+ red_pin: hotend :PC9
134128cycle_time: 0.016
135129
136130[led typec]
@@ -173,12 +167,12 @@ min_temp: -200
173167max_temp: 125
174168
175169[fan]
176- pin: stm32 :PB5
177- tachometer_pin: stm32 :PA0
170+ pin: hotend :PB5
171+ tachometer_pin: hotend :PA0
178172
179173[heater_fan extruder]
180- pin: stm32 :PC8
181- tachometer_pin: stm32 :PA1
174+ pin: hotend :PC8
175+ tachometer_pin: hotend :PA1
182176
183177[fan_generic model_helper_fan]
184178pin: PG17
@@ -207,27 +201,16 @@ resolution: 0.1
207201# resume_extrude_fan_speed: 255
208202
209203[mcu]
210- # serial: /dev/ttyGS0
211- serial: /tmp/vmodem
212- # serial: /dev/ttyS0
213- # baud: 250000
214-
215- [mcu stm32]
216- # serial: /dev/ttyACM0
217- serial: /tmp/vmodem2
218- # restart_method: power
219- # power_pin: PE12
220- # max_pending_blocks: 12
204+ serial: /tmp/vtty/dsp
205+ restart_method: command
206+
207+ [mcu hotend]
208+ serial: /tmp/vtty/hotend
221209restart_method: command
222- # baud: 1000000
223210
224- [mcu strain_gauge_mcu]
225- # serial: /dev/ttyS4
226- serial: /tmp/vmodem3
227- # baud: 115200
228- # max_pending_blocks: 12
229- # restart_method: power
230- # power_pin: PG9
211+ [mcu bed]
212+ serial: /tmp/vtty/bed
213+ restart_method: command
231214
232215[input_shaper]
233216shaper_type_x: mzv
@@ -247,7 +230,7 @@ hz_per_sec: 1.000000
247230
248231[lis2dw]
249232spi_speed: 5000000
250- cs_pin: stm32 :PA4
233+ cs_pin: hotend :PA4
251234spi_bus: spi1
252235axes_map: x,z,-y
253236
@@ -267,47 +250,29 @@ speed: 300.0
267250z_hop: 0.0
268251z_hop_speed: 6.0
269252
270- [load_cell bed_front_left]
271- sensor_type: hx711
272- sclk_pin: strain_gauge_mcu:PB13
273- dout_pin: strain_gauge_mcu:PB14
274- counts_per_gram: 90.358340
275- reference_tare_counts: -575504
276- sensor_orientation: inverted
277-
278- [load_cell bed_front_right]
279- sensor_type: hx711
280- sclk_pin: strain_gauge_mcu:PC7
281- dout_pin: strain_gauge_mcu:PC8
282- counts_per_gram: 86.591381
283- reference_tare_counts: -895310
284- sensor_orientation: inverted
285-
286- [load_cell bed_rear_right]
287- sensor_type: hx711
288- sclk_pin: strain_gauge_mcu:PC6
289- dout_pin: strain_gauge_mcu:PB15
290- counts_per_gram: 71.509178
291- reference_tare_counts: 537807
292- sensor_orientation: inverted
293-
294- [load_cell bed_rear_left]
295- sensor_type: hx711
296- sclk_pin: strain_gauge_mcu:PC9
297- dout_pin: strain_gauge_mcu:PA8
298- counts_per_gram: 71.509178
299- reference_tare_counts: 537807
300- sensor_orientation: inverted
301-
302- [load_cell_probe_multi]
303- sensors: bed_front_left, bed_front_right, bed_rear_left, bed_rear_right
304- bed_corners: 30,30, 230,30, 30,230, 230,230
305- fusion_mode: average
306- trigger_force: 75
307- force_safety_limit: 1000
253+ [hx711s]
308254z_offset: 0.0
309- speed: 1.0
310- lift_speed: 8.0
311- samples: 2
312- samples_tolerance: 0.05
313- samples_tolerance_retries: 3
255+ enable_test : 0
256+ count : 4
257+ sg_mode : 3
258+ install_dir : 0
259+ enable_hpf : 0
260+ find_index_mode : 4
261+ enable_shake_filter : 1
262+ enable_channels : 16
263+ rest_ticks : 3125
264+ kalman_q : 10000
265+ kalman_r : 100
266+ max_th : 6000
267+ min_th : 2000
268+ th_k : 1
269+ k_slope : 58
270+ bias_slope : 42
271+ sensor0_clk_pin : bed:PB13
272+ sensor1_clk_pin : bed:PC7
273+ sensor2_clk_pin : bed:PC6
274+ sensor3_clk_pin : bed:PC9
275+ sensor0_sdo_pin : bed:PB14
276+ sensor1_sdo_pin : bed:PC8
277+ sensor2_sdo_pin : bed:PB15
278+ sensor3_sdo_pin : bed:PA8
0 commit comments