Konfiguracja Klippera pod Ender 5 plus

Oprogramowanie sterownika drukarki i do łączenia komputera z drukarką
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

Hej,

Szukam ogarniętego gościa, aby pomógł mi i rozjaśnił drogę konfiguracji plików config w klipperze. Do tej pory działałem na gotowych firmware marlin i szczerze mówiąc nie mam aż tyle wolnego czasu, aby kopać w internecie. Jestem w stanie zapłacić lub "jakoś dogadać".
Mam tu na myśli zgadanie się na jakimś teamspeak czy innym komunikatorze i zrobienie razem configu.

Mam wgrane już klippera, mainsalia i moonrakera. Trzeba to tylko skonfigurować pod seryjnego endera 5 plus z płytą octopus v1.1 i biqu h2 z bltouchem. Produktem końcowym ma być mercury one/hydra (ale narazie z uwagi na ograniczony budżet muszę to skonfigurować w takiej formie jak jest). Również myślę, że jak będę miał już gotowy config pod obecną formę będę w stanie już sobie zmodyfikować niektóre parametry później.

Obecne zestawienie sprzętowe:
Ender 5 plus seria
płyta octopus v1.1 z 5x stepstik tmc2209 v1.3 btt
rpi 3 b+
ekstruder h2 biqu
bltouch
Oczywiście szczegółowe informację podam jak będzie taka potrzeba.
Liczę na szeroki odzew.
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

bumpbump
bukszpryt
Postów w temacie: 7
Posty: 336
Rejestracja: 05 cze 2019, 21:21
x 100

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: bukszpryt »

Zaglądałeś na githuba klippera? Jest tam pierdylion przykładowych konfiguracji pod różne drukarki.
Tu masz do Ender 5 plus: https://github.com/Klipper3d/klipper/bl ... s-2019.cfg
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

Tak, zaglądałem. Jednak jak już wspomniałem wyżej mam bardzo mało wolnego czasu, aby dochodzić jak co ustawić. Uart pin, step pin itd. Wole komuś zapłacić lub nie wiem, jakiś filament za to czy cokolwiek, kwestia dogadania się. Tutaj po prostu chodzi o to aby osoba pisząca config mówiła co robi przykład:

Wpiszuje PG1 w uart_pin bo nasz sterownik od x jest podpięty właśnie do tego pinu, a numerację wszystkich pinów mamy na stronie producenta. Odpowiada to za połączenie. W następnym parametrze musimy określić krańcówkę. Mierzymy linijką na jakiej odkległości się znajduje i wspisujemy liczbę. endstop mamy podpięte pod PC13.
Osobie ogarniającej zajmie to pewnie z 30min/godzinę. Akcelerację itd już mogę sobie sam dobrać
bukszpryt
Postów w temacie: 7
Posty: 336
Rejestracja: 05 cze 2019, 21:21
x 100

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: bukszpryt »

W przykładowych konfiguracjach pod konkretne drukarki, czy pod konkretne płyty masz już piny powpisywane. Jeżeli nie masz jakichś przeróbek, to taki gotowiec powinien być wystarczający. Samemu zazwyczaj trzeba ogarnąć kwestie związane z automatycznym poziomowaniem.
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

wgrałem config dla octopusa i kilka rzeczy pozmieniałem. Na ten moment mogę ruszać osią x i y. Podgrzewać łóżko i hotend, ale mam problem z homowaniem osi Z przez bltouch. bltouch robi jako endstop z. nie włącza się jakby. I porusza się tylko jedna ztka, a nie dwie. Jak mogę zsynchronizować ze sobą dwie zetki, lub co muszę zrobić aby obie działały? Z bltouchem w sumie nie wiem, bo strasznie kable od niego się nagrzały, podłączałem według specyfikacji octopusa.
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

[include mainsail.cfg]
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
on_error_gcode: CANCEL_PRINT

[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2B004C001750344D30353320-if00

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

# Driver0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
microsteps: 16
rotation_distance: 40
endstop_pin: PG6
position_endstop: 0
position_max: 350
homing_speed: 100

# Driver1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
microsteps: 16
rotation_distance: 40
endstop_pin: PG9
position_endstop: 0
position_max: 350
homing_speed: 100

# Driver2
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
microsteps: 16
rotation_distance: 8
endstop_pin: PG10
endstop_pin: probe:z_virtual_endstop
position_max: 300
[safe_z_home]
home_xy_position: 100, 100 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5

# Driver3
# The Octopus only has 4 heater outputs which leaves an extra stepper
# This can be used for a second Z stepper, dual_carriage, extruder co-stepper,
# or other accesory such as an MMU
#[stepper_]
#step_pin: PG4
#dir_pin: PC1
#enable_pin: PA0
#endstop_pin: PG11
#...

# Driver4
[extruder]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA2 # HE0
sensor_pin: PF4 # T0
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250

[bltouch]
sensor_pin: PB7
control_pin: PB6
z_offset: 0

[heater_bed]
heater_pin: PA1
sensor_pin: PF3 # TB
sensor_type: ATC Semitec 104GT-2
control: watermark
min_temp: 0
max_temp: 130

[fan]
pin: PA8

#[heater_fan fan1]
#pin: PE5

#[heater_fan fan2]
#pin: PD12

[heater_fan fan3]
pin: PD13

#[heater_fan fan4]
#pin: PD14

#[controller_fan fan5]
#pin: PD15



########################################
# TMC2209 configuration
########################################

[tmc2209 stepper_x]
uart_pin: PC4
diag_pin: PG6
run_current: 0.800
stealthchop_threshold: 999999

[tmc2209 stepper_y]
uart_pin: PD11
diag_pin: PG9
run_current: 0.800
stealthchop_threshold: 999999

[tmc2209 stepper_z]
uart_pin: PC6
diag_pin: PG10
run_current: 0.650
stealthchop_threshold: 999999

[tmc2209 stepper_z]
uart_pin: PC7
diag_pin: PG11
run_current: 0.650
stealthchop_threshold: 999999

[tmc2209 extruder]
uart_pin: PF2
run_current: 0.800
stealthchop_threshold: 999999
Awatar użytkownika
morf
Drukarz
Postów w temacie: 3
Posty: 3218
Rejestracja: 17 sty 2017, 12:28
Drukarka: Reprapy, Prusa MK3S
x 1592

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: morf »

Wrzucaj kod i configi w tagi code.
Formatowanie będzie czytelniejsze
bukszpryt
Done is better than perfect.
bukszpryt
Postów w temacie: 7
Posty: 336
Rejestracja: 05 cze 2019, 21:21
x 100

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: bukszpryt »

Tu masz co nieco o dodatkowym stepperze na Z: https://www.klipper3d.org/Config_Refere ... stepper_z1

U ciebie sekcja driver 3 jest cała w komentarzu i nic nie robi. Musisz mieć skonfigurowaną sekcję [stepper_z1] dla tego steppera.
Masz też dwie sekcje z tą samą nazwą [tmc2209 stepper_z]. Z drugiego steppera zrób z1.
Marcin1337
Konto z ograniczeniami
Postów w temacie: 22
Posty: 21
Rejestracja: 20 maja 2023, 14:42

Re: Konfiguracja Klippera pod Ender 5 plus

Post autor: Marcin1337 »

Wyskoczył mi taki błąd: Option 'position_max' is not valid in section 'stepper_z1'. I co z tym bltouchem? Jak go napisać ?
[include mainsail.cfg]
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
on_error_gcode: CANCEL_PRINT

[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2B004C001750344D30353320-if00

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

# Driver0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
microsteps: 16
rotation_distance: 40
endstop_pin: PG6
position_endstop: 0
position_max: 350
homing_speed: 100

# Driver1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
microsteps: 16
rotation_distance: 40
endstop_pin: PG9
position_endstop: 0
position_max: 350
homing_speed: 100

# Driver2
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
microsteps: 16
rotation_distance: 8
endstop_pin: PG10
endstop_pin: probe:z_virtual_endstop
position_max: 300
[safe_z_home]
home_xy_position: 100, 100 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5

# Driver3
# The Octopus only has 4 heater outputs which leaves an extra stepper
# This can be used for a second Z stepper, dual_carriage, extruder co-stepper,
# or other accesory such as an MMU
[stepper_z1]
step_pin: PG4
dir_pin: PC1
enable_pin: PA0
endstop_pin: PG11
microsteps: 16
rotation_distance: 8
endstop_pin: PG10
endstop_pin: probe:z_virtual_endstop
position_max: 300
[safe_z_home]
home_xy_position: 100, 100 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5

# Driver4
[extruder]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA2 # HE0
sensor_pin: PF4 # T0
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250

[bltouch]
sensor_pin: PB7
control_pin: PB6
z_offset: 0

[heater_bed]
heater_pin: PA1
sensor_pin: PF3 # TB
sensor_type: ATC Semitec 104GT-2
control: watermark
min_temp: 0
max_temp: 130

[fan]
pin: PA8

#[heater_fan fan1]
#pin: PE5

#[heater_fan fan2]
#pin: PD12

[heater_fan fan3]
pin: PD13

#[heater_fan fan4]
#pin: PD14

#[controller_fan fan5]
#pin: PD15



########################################
# TMC2209 configuration
########################################

[tmc2209 stepper_x]
uart_pin: PC4
diag_pin: PG6
run_current: 0.800
stealthchop_threshold: 999999

[tmc2209 stepper_y]
uart_pin: PD11
diag_pin: PG9
run_current: 0.800
stealthchop_threshold: 999999

[tmc2209 stepper_z]
uart_pin: PC6
diag_pin: PG10
run_current: 0.650
stealthchop_threshold: 999999

[tmc2209 stepper_z1]
uart_pin: PC7
diag_pin: PG11
run_current: 0.650
stealthchop_threshold: 999999

[tmc2209 extruder]
uart_pin: PF2
run_current: 0.800
stealthchop_threshold: 999999
ODPOWIEDZ

Wróć do „Firmware'y i hosty”