drivers, servos and endstops

This commit is contained in:
Ender3 venya
2026-01-28 20:58:53 +03:00
parent 517f731b7d
commit 66a7c69a86

View File

@@ -8,29 +8,29 @@
[stepper_x] [stepper_x]
step_pin: P2.2 step_pin: P2.2
dir_pin: P2.6 dir_pin: !P2.6
enable_pin: !P2.1 enable_pin: !P2.1
microsteps: 16 microsteps: 16
rotation_distance: 40 rotation_distance: 40
endstop_pin: !P1.29 endstop_pin: ^P1.29
position_endstop: 0 position_endstop: 0
position_max: 235 position_max: 235
homing_speed: 50 homing_speed: 50
[stepper_y] [stepper_y]
step_pin: P0.19 step_pin: P0.19
dir_pin: P0.20 dir_pin: !P0.20
enable_pin: !P2.8 enable_pin: !P2.8
microsteps: 16 microsteps: 16
rotation_distance: 40 rotation_distance: 40
endstop_pin: !P1.28 endstop_pin: ^P1.28
position_endstop: 0 position_endstop: 0
position_max: 235 position_max: 235
homing_speed: 50 homing_speed: 50
[stepper_z] [stepper_z]
step_pin: P0.22 step_pin: P0.22
dir_pin: !P2.11 dir_pin: P2.11
enable_pin: !P0.21 enable_pin: !P0.21
microsteps: 16 microsteps: 16
rotation_distance: 8 rotation_distance: 8
@@ -47,13 +47,13 @@ rotation_distance: 33.500
nozzle_diameter: 0.400 nozzle_diameter: 0.400
filament_diameter: 1.750 filament_diameter: 1.750
heater_pin: P2.7 heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F sensor_type: Generic 3950 # wild guess based on https://www.facebook.com/groups/voroncorexy/posts/2164489710646250/
sensor_pin: P0.24 sensor_pin: P0.24
control: pid control: pid
pid_Kp: 22.2 pid_Kp: 21.73
pid_Ki: 1.08 pid_Ki: 1.54
pid_Kd: 114 pid_Kd: 76.55
min_temp: 0 min_temp: 5
max_temp: 260 max_temp: 260
#[extruder1] #[extruder1]
@@ -88,35 +88,45 @@ max_accel: 500
max_z_velocity: 10 max_z_velocity: 10
max_z_accel: 100 max_z_accel: 100
[display]
lcd_type: st7920
cs_pin: EXP1_7
sclk_pin: EXP1_6
sid_pin: EXP1_8
encoder_pins: ^EXP1_5, ^EXP1_3
click_pin: ^!EXP1_2
[output_pin beeper]
pin: EXP1_1
######################################## ########################################
# TMC2208 configuration # TMC2208 configuration
######################################## ########################################
#[tmc2208 stepper_x] [tmc2208 stepper_x]
#uart_pin: P1.10 uart_pin: P1.10
#run_current: 0.800 run_current: 0.670
#stealthchop_threshold: 999999 stealthchop_threshold: 999999
#
#[tmc2208 stepper_y] [tmc2208 stepper_y]
#uart_pin: P1.9 uart_pin: P1.9
#run_current: 0.800 run_current: 0.670
#stealthchop_threshold: 999999 stealthchop_threshold: 999999
#
#[tmc2208 stepper_z] [tmc2208 stepper_z]
#uart_pin: P1.8 uart_pin: P1.8
#run_current: 0.650 run_current: 0.670
#stealthchop_threshold: 999999 stealthchop_threshold: 999999
#
#[tmc2208 extruder] [tmc2208 extruder]
#uart_pin: P1.4 uart_pin: P1.4
#run_current: 0.800 run_current: 0.940
#stealthchop_threshold: 999999 stealthchop_threshold: 999999
#
#[tmc2208 extruder1] # [tmc2208 extruder1]
#uart_pin: P1.1 # uart_pin: P1.1
#run_current: 0.800 # run_current: 0.800
#stealthchop_threshold: 999999 # stealthchop_threshold: 999999
######################################## ########################################