Morganne46 Posté(e) Décembre 28, 2022 Posté(e) Décembre 28, 2022 Bon, je suis passer sous klipper, tout est nickel, j'ai mis Mainsail, mais, quand je veux mettre le Bltouch dans le fichier printer.cfg, et bien ça ne fonctionne pas, j'ai toujours ce message d'erreur: Klipper reports: ERROR pin PC2 used multiple times in config Once the underlying issue is corrected, use the "RESTART" command to reload the config and restart the host software. Printer is halted J'ai essayé plein de configuration différentes, rien ne vas, est-ce que quelqu'un qui connait Klipper peut éclairé ma petite lumière intérieure ? Configuration: Ender3 SKR mini E3 V2 Citation # This file contains common pin mappings for the BIGTREETECH SKR mini # E3 v2.0. To use this config, the firmware should be compiled for the # STM32F103 with a "28KiB bootloader" and USB communication. Also, # select "Enable extra low-level configuration options" and configure # "GPIO pins to set at micro-controller startup" to "!PA14". # The "make flash" command does not work on the SKR mini E3. Instead, # after running "make", copy the generated "out/klipper.bin" file to a # file named "firmware.bin" on an SD card and then restart the SKR # mini E3 with that SD card. # See docs/Config_Reference.md for a description of parameters. [include mainsail.cfg] [stepper_x] step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC0 position_endstop: 0 position_max: 235 homing_speed: 50 [tmc2209 stepper_x] uart_pin: PC11 tx_pin: PC10 uart_address: 0 run_current: 0.580 stealthchop_threshold: 999999 [stepper_y] step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC1 position_endstop: 0 position_max: 235 homing_speed: 50 [tmc2209 stepper_y] uart_pin: PC11 tx_pin: PC10 uart_address: 2 run_current: 0.580 stealthchop_threshold: 999999 [stepper_z] step_pin: PB0 dir_pin: PC5 enable_pin: !PB1 microsteps: 16 rotation_distance: 8 endstop_pin: ^PC2 position_endstop: 0.0 position_max: 250 [tmc2209 stepper_z] uart_pin: PC11 tx_pin: PC10 uart_address: 1 run_current: 0.580 stealthchop_threshold: 999999 [extruder] step_pin: PB3 dir_pin: !PB4 enable_pin: !PD2 microsteps: 16 rotation_distance: 33.500 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 #control: pid #pid_Kp: 21.527 #pid_Ki: 1.063 #pid_Kd: 108.982 min_temp: 0 max_temp: 250 [tmc2209 extruder] uart_pin: PC11 tx_pin: PC10 uart_address: 3 run_current: 0.650 stealthchop_threshold: 999999 [heater_bed] heater_pin: PC9 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC3 #control: pid #pid_Kp: 54.027 #pid_Ki: 0.770 #pid_Kd: 948.182 min_temp: 0 max_temp: 130 [heater_fan heatbreak_cooling_fan] pin: PC7 [fan] pin: PC6 [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_12345-if00 [printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 [static_digital_output usb_pullup_enable] pins: !PA14 [board_pins] aliases: # EXP1 header EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>, EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> [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 # See the sample-lcd.cfg file for definitions of common LCD displays. #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 17.668 #*# pid_ki = 0.780 #*# pid_kd = 100.044 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 70.341 #*# pid_ki = 1.737 #*# pid_kd = 712.204
Savate Posté(e) Décembre 28, 2022 Posté(e) Décembre 28, 2022 il y a 23 minutes, Morganne46 a dit : J'ai essayé plein de configuration différentes Le fichier printer.cfg que tu as mis fonctionne correctement (il n'y a a pas de bl touch de déclaré) ? Pour le BL Touch il y a une 'subtilité' pour le endstop_pin déclaré dans la partie stepper_z il ne faut pas mettre PC2 mais endstop_pin: probe:z_virtual_endstop et il faut supprimer la ligne position_endstop: 0 [stepper_z]step_pin: PB0dir_pin: PC5enable_pin: !PB1microsteps: 16rotation_distance: 8endstop_pin: ^PC2 probe:z_virtual_endstopposition_endstop: 0.0position_max: 250 [bltouch] sensor_pin: ^PC2 control_pin: le pin du servo Il faudra aussi rajouter [safe_z_home] home_xy_position: 110,110 #les coordonées du centre du plateau speed: 50 # la vitesse de déplacement z_hop: 10 # la hauteur de déplacement en Z avant de 'toucher'. il faut que la distance soit suffisante pour que le pin déployé ne traine pas par terre z_hop_speed: 5 # la vitesse de déplacement la bible : BL-Touch - Klipper documentation (klipper3d.org) 1
Morganne46 Posté(e) Décembre 28, 2022 Auteur Posté(e) Décembre 28, 2022 il y a 2 minutes, Savate a dit : Le fichier printer.cfg que tu as mis fonctionne correctement (il n'y a a pas de bl touch de déclaré) ? Je l'avais supprimé pour ne plus avoir d'erreur dans Klipper, je teste ta solution, merci Savate Merci @Savate, tout fonctionne 1
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant