Skip to content

Commit 1450a25

Browse files
committed
hifi4: Update configs
1 parent faeaa17 commit 1450a25

4 files changed

Lines changed: 51 additions & 83 deletions

File tree

config/cc1-build/config.bed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ CONFIG_WANT_MPU9250=y
9797
CONFIG_WANT_ICM20948=y
9898
CONFIG_WANT_THERMOCOUPLE=y
9999
CONFIG_WANT_HX71X=y
100+
CONFIG_WANT_HX711S=y
100101
CONFIG_WANT_ADS1220=y
101102
CONFIG_WANT_LDC1612=y
102103
# CONFIG_WANT_SENSOR_ANGLE is not set

config/cc1-build/config.dsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ CONFIG_WANT_MPU9250=y
4545
CONFIG_WANT_ICM20948=y
4646
CONFIG_WANT_THERMOCOUPLE=y
4747
CONFIG_WANT_HX71X=y
48+
# CONFIG_WANT_HX711S is not set
4849
CONFIG_WANT_ADS1220=y
4950
CONFIG_WANT_LDC1612=y
5051
# CONFIG_WANT_SENSOR_ANGLE is not set

config/cc1-build/config.hotend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ CONFIG_WANT_MPU9250=y
104104
CONFIG_WANT_ICM20948=y
105105
CONFIG_WANT_THERMOCOUPLE=y
106106
CONFIG_WANT_HX71X=y
107+
# CONFIG_WANT_HX711S is not set
107108
CONFIG_WANT_ADS1220=y
108109
CONFIG_WANT_LDC1612=y
109110
# CONFIG_WANT_SENSOR_ANGLE is not set

config/printer-elegoo-centauri-carbon-1.cfg

Lines changed: 48 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
[include mainsail.cfg]
2-
31
[printer]
42
kinematics: corexy
53
max_velocity: 500.000000
64
max_accel: 20000.000000
7-
# max_accel_to_decel: 20000
85
max_z_velocity: 20.000000
96
max_z_accel: 500.000000
107
square_corner_velocity: 9.000000
@@ -21,9 +18,7 @@ position_max: 256.5
2118
position_min: -2.01
2219
homing_speed: 20
2320
homing_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]
2924
step_pin: PE14
@@ -37,8 +32,7 @@ position_max: 270.000000
3732
position_min: -2.51
3833
homing_speed: 20
3934
homing_retract_dist: 0
40-
rotation_distance: 40
41-
# rotation_distance: 39.872
35+
rotation_distance: 39.872
4236

4337
[stepper_z]
4438
step_pin: PG3
@@ -62,11 +56,11 @@ resistance1: 100000
6256
beta: 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
7064
microsteps: 16
7165
full_steps_per_rotation: 200
7266
gear_ratio: 52:10
@@ -119,8 +113,8 @@ driver_sgthrs: 120
119113
stealthchop_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
124118
interpolate: 1
125119
run_current: 0.8
126120
hold_current: 0.5
@@ -130,7 +124,7 @@ driver_sgthrs: 10
130124
stealthchop_threshold: 0
131125

132126
[led led1]
133-
red_pin: stm32:PC9
127+
red_pin: hotend:PC9
134128
cycle_time: 0.016
135129

136130
[led typec]
@@ -173,12 +167,12 @@ min_temp: -200
173167
max_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]
184178
pin: 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
221209
restart_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]
233216
shaper_type_x: mzv
@@ -247,7 +230,7 @@ hz_per_sec: 1.000000
247230

248231
[lis2dw]
249232
spi_speed: 5000000
250-
cs_pin: stm32:PA4
233+
cs_pin: hotend:PA4
251234
spi_bus: spi1
252235
axes_map: x,z,-y
253236

@@ -267,47 +250,29 @@ speed: 300.0
267250
z_hop: 0.0
268251
z_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]
308254
z_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

Comments
 (0)