Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Czyli co i jak podłączyć żeby działało
Awatar użytkownika
Rozarh
Drukarz
Postów w temacie: 11
Posty: 635
Rejestracja: 12 kwie 2021, 10:45
Lokalizacja: opolskie
Drukarka: Fenix, A20M, TT1SM..
x 259

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Rozarh »

atom1477 pisze: 31 mar 2024, 14:12
Breyger pisze: 31 mar 2024, 14:00 Ale w TMC dwa piny się mostkuje i podłącza pod jeden pin uart na MCU. Jest na YouTube MKS robin nano tmc 2209.
Podłącza się jeden pin TMC pod dwa MCU. Nie odwrotnie.
Niektóre drivery (najprawdopodobniej MKS) mają wewnętrzny rezystor na jednej z linii UART więc zwarcie tych linii im nie szkodzi.

@Breyger - jak Ci już Klipper zabanglał, to może teraz sobie spróbuj RepRapFirmware? :) https://github.com/makerbase-mks/RepRap ... MKS-Boards tylko tu już będziesz potrzebować NodeMCU albo inne podobne :mrgreen:
Parafrazując wpis by artusiek:
Nie chcesz grzebać? Kup Prusę lub Bambu Labs
Kupiłeś coś co dopieszczasz? Naucz się grzebać!!!
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Rozarh pisze: 31 mar 2024, 15:47
atom1477 pisze: 31 mar 2024, 14:12
Breyger pisze: 31 mar 2024, 14:00 Ale w TMC dwa piny się mostkuje i podłącza pod jeden pin uart na MCU. Jest na YouTube MKS robin nano tmc 2209.
Podłącza się jeden pin TMC pod dwa MCU. Nie odwrotnie.
Niektóre drivery (najprawdopodobniej MKS) mają wewnętrzny rezystor na jednej z linii UART więc zwarcie tych linii im nie szkodzi.

@Breyger - jak Ci już Klipper zabanglał, to może teraz sobie spróbuj RepRapFirmware? :) https://github.com/makerbase-mks/RepRap ... MKS-Boards tylko tu już będziesz potrzebować NodeMCU albo inne podobne :mrgreen:
przecież ja o nodeMCu mówiłem bo kolega kazał diodą, oscyloskopem, lub node sprawdzić czy TX i RX w GPIO maliny działa xD
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Kupiłem SKR Pico, podłączyłem bez problemów. Ale mam problem z configiem.

Kod: Zaznacz cały

# This file contains common pin mappings for the BIGTREETECH SKR Pico V1.0
# To use this config, the firmware should be compiled for the RP2040 with
# USB communication.

# The "make flash" command does not work on the SKR Pico V1.0. Instead,
# after running "make", copy the generated "out/klipper.uf2" file
# to the mass storage device in RP2040 boot mode

# See docs/Config_Reference.md for a description of parameters.

[include mainsail.cfg]

[stepper_x]
step_pin: gpio11
dir_pin: !gpio10
enable_pin: !gpio12
microsteps: 16
rotation_distance: 40
endstop_pin: ^gpio4
position_endstop: 0
position_max: 235
homing_speed: 50

[tmc2209 stepper_x]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 0
run_current: 0.580
stealthchop_threshold: 999999

[stepper_y]
step_pin: gpio6
dir_pin: !gpio5
enable_pin: !gpio7
microsteps: 16
rotation_distance: 40
endstop_pin: ^gpio3
position_endstop: 0
position_max: 235
homing_speed: 50

[tmc2209 stepper_y]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 2
run_current: 0.580
stealthchop_threshold: 999999

[stepper_z]
step_pin: gpio19
dir_pin: gpio28
enable_pin: !gpio2
microsteps: 16
rotation_distance: 8
endstop_pin: ^gpio25
position_endstop: 0.0
position_max: 250

[tmc2209 stepper_z]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 1
run_current: 0.580
stealthchop_threshold: 999999

[extruder]
step_pin: gpio14
dir_pin: !gpio13
enable_pin: !gpio15
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: gpio23
sensor_type: EPCOS 100K B57560G104F
sensor_pin: gpio27
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250

[tmc2209 extruder]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 3
run_current: 0.650
stealthchop_threshold: 999999

[heater_bed]
heater_pin: gpio21
sensor_type: ATC Semitec 104GT-2
sensor_pin: gpio26
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130

[fan]
pin: gpio17

[heater_fan heatbreak_cooling_fan]
pin: gpio18

[heater_fan controller_fan]
pin: gpio20

[temperature_sensor pico]
sensor_type: temperature_mcu

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

[printer]
kinematics: corexy
max_velocity: 250
max_accel: 4500
max_z_velocity: 10
max_z_accel: 80

[safe_z_home]
speed: 100
z_hop: 10
z_hop_speed: 100
home_xy_position: 115,115

[neopixel board_neopixel]
pin: gpio24
chain_count: 1
color_order: GRB
initial_RED: 0.3
initial_GREEN: 0.3
initial_BLUE: 0.3

[bltouch]
sensor_pin: gpio22
control_pin: gpio29
x_offset: 0
y_offset: -38.5
z_offset: 2.8
speed: 5.0
samples: 3
sample_retract_dist: 2.0
samples_result: average
samples_tolerance: 0.100
samples_tolerance_retries: 3
pin_move_time: 0.680
stow_on_each_sample: True
probe_with_touch_mode: False
pin_up_reports_not_triggered: True
pin_up_touch_mode_reports_triggered: True
Załączniki
Zrzut ekranu 2024-04-06 105053.png
Awatar użytkownika
atom1477
Postów w temacie: 39
Posty: 265
Rejestracja: 17 paź 2023, 18:21
x 66

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: atom1477 »

A sprawdziłeś komendą M119 czy krańcówki odpowiednio reagują na ręcznie wciskanie?
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Tak sprawdzałem X i Y mam otwarte a bltouch Triggered.
Drukarka zachowuje się tak, że jak przesunę karetkę na środek stołu, zjadę ręcznie stołem na dół z 100 cm, zrobie HOME to karetka jedzie w stronę krańcówek po 5 cm na osi X i 5 cm na Y, i stół też około 5 cm jedzie do góry (w stronę głowicy) ale bltouch się nie włącza, tzn nie wysuwa się sonda. więc jak bym tak kilka razy Zrobił Home to mi stół pojedzie na max i się nie zatrzymie
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Uruchomiłem os X i Y. Działa jak powinno bazuje się na krancowkach i po tym jedzie na home na środek stołu. Problem taki ze os z coś tam pokręci z 3 mm a BLtouch nie wysuwa sondy. BLtouch świeci. Po włączeniu drukarki opuści sondę 2 razy jak być powinno ale nie działa ☹️
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Jak ma wyglądać BLtouch dla Skr Pico? Razem z home Z itp?
Awatar użytkownika
konradsdev1
Postów w temacie: 17
Posty: 455
Rejestracja: 30 wrz 2020, 16:55
Lokalizacja: Warszawa
Drukarka: VORON 0
x 178

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: konradsdev1 »

Zmień definicję endstop_pin i ewentualnie dodaj position_min, reszta wygląda ok.

Kod: Zaznacz cały

[stepper_z]
endstop_pin: probe:z_virtual_endstop
position_min: -2.0
Działanie BL-Touch możesz sprawdzić za pomocą komend:

Kod: Zaznacz cały

BLTOUCH_DEBUG COMMAND=pin_up
BLTOUCH_DEBUG COMMAND=pin_down
QUERY_PROBE
JGFTW
"Everybody needs a hobby" (Tony Stark).
VORON V0.2 (BTT SKR Pico + RPi 4B + Phaetus x Voron Dragon Hotend ST)
DIY MK4 + VORON Stealthburner (BTT SKR PRO V1.1 + RPi Zero 2 W)
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

Mam dodane już wcześniej, jak podałeś

Kod: Zaznacz cały

# This file contains common pin mappings for the BIGTREETECH SKR Pico V1.0
# To use this config, the firmware should be compiled for the RP2040 with
# USB communication.

# The "make flash" command does not work on the SKR Pico V1.0. Instead,
# after running "make", copy the generated "out/klipper.uf2" file
# to the mass storage device in RP2040 boot mode

# See docs/Config_Reference.md for a description of parameters.

[include mainsail.cfg]

[stepper_x]
step_pin: gpio11
dir_pin: !gpio10
enable_pin: !gpio12
microsteps: 16
rotation_distance: 40
endstop_pin: !gpio4
position_endstop: 0
position_max: 235
homing_speed: 50

[tmc2209 stepper_x]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 0
run_current: 0.580
stealthchop_threshold: 999999

[stepper_y]
step_pin: gpio6
dir_pin: !gpio5
enable_pin: !gpio7
microsteps: 16
rotation_distance: 40
endstop_pin: !gpio3
position_endstop: 0
position_max: 235
homing_speed: 50

[tmc2209 stepper_y]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 2
run_current: 0.580
stealthchop_threshold: 999999

[stepper_z]
step_pin: gpio19
dir_pin: gpio28
enable_pin: !gpio2
microsteps: 16
rotation_distance: 8
# endstop_pin: ^gpio25
# position_endstop: 0
endstop_pin: probe:z_virtual_endstop
position_min: -2.0
position_max: 250
homing_speed: 12

[tmc2209 stepper_z]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 1
run_current: 0.580
stealthchop_threshold: 999999

[extruder]
step_pin: gpio14
dir_pin: !gpio13
enable_pin: !gpio15
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: gpio23
sensor_type: EPCOS 100K B57560G104F
sensor_pin: gpio27
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250

[tmc2209 extruder]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 3
run_current: 0.650
stealthchop_threshold: 999999

[heater_bed]
heater_pin: gpio21
sensor_type: ATC Semitec 104GT-2
sensor_pin: gpio26
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130

[fan]
pin: gpio17

[heater_fan heatbreak_cooling_fan]
pin: gpio18

[heater_fan controller_fan]
pin: gpio20

[temperature_sensor pico]
sensor_type: temperature_mcu

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

[printer]
kinematics: corexy
max_velocity: 250
max_accel: 4500
max_z_velocity: 10
max_z_accel: 80

[safe_z_home]
speed: 100
z_hop: 10
z_hop_speed: 100
home_xy_position: 115,115

[neopixel board_neopixel]
pin: gpio24
chain_count: 1
color_order: GRB
initial_RED: 0.3
initial_GREEN: 0.3
initial_BLUE: 0.3

[bltouch]
sensor_pin: ^gpio22
control_pin: !gpio29
x_offset: 0
y_offset: -38.5
z_offset: 2.8
speed: 3.0
samples: 3
pin_up_touch_mode_reports_triggered: False
Breyger
Postów w temacie: 90
Posty: 188
Rejestracja: 03 mar 2024, 18:29
x 1

Re: Klipper dla Two Trees Sapphire Pro - rozeznanie tematu

Post autor: Breyger »

już nie mam siły. Z mi jedzie w górę albo w dół. teraz w górę czyli ociera o głowicę. bltouch nie działa, nie wysuwa sondy. ja już nie wiem, Ta pico jest spoko. wszystko się kompuniktuje, ale nikt nie jest w stanie pomóc? to powinno być proste
ODPOWIEDZ

Wróć do „Elektronika sterująca, wyświetlacze”