Aller au contenu

GO Print

[RÉSOLU] Klipper bltouch et configuration


Binary Fpv

Messages recommandés

Bonjour à tous ! 

Je viens de passer sous klipper (ça permet du lourd ^^) avec ma sovol sv01. 

Cette dernière est équipé d'un silent board et d'un bltouch. 

Je souhaite configurer mon bltouch dans mon fichier de conf mais je galère avec l'histoire des pin dans le printer.cfg

J'ai trouvé ça dans le fichier ramps_Creality.h (qui correspond apparemment à ma carte qui est un clone creatily 2.2.1).

ifndef Z_STOP_PIN
  #ifndef Z_MIN_PIN
    #define Z_MIN_PIN                         18
  #endif
  #ifndef Z_MAX_PIN
    #define Z_MAX_PIN                         19
  #endif

 

#ifndef Z_MIN_PROBE_PIN
  #define Z_MIN_PROBE_PIN                     32
#endif

#ifndef Z_STEP_PIN
  #define Z_STEP_PIN                          46
#endif
#define Z_DIR_PIN                             48
#define Z_ENABLE_PIN                          62
#ifndef Z_CS_PIN
  #define Z_CS_PIN                            40
#endif

 

Pour moi le sensor est le pin 18 et le control le pin 32.

Quelqu'un pourrais me confirmer la chose ? 

Voici mon fichier de conf :

 

 

[gcode_macro START_PRINT]
default_parameter_BED_TEMP: 60
default_parameter_EXTRUDER_TEMP: 190
gcode:
    #Reset Feedrate and flow rate
    M220 S100 
    M221 S100 
    # Use absolute coordinates
    G90
    # Reset the G-Code Z offset (adjust Z offset if needed)
    SET_GCODE_OFFSET Z=-0.15
    #Reset Extruder
    G92 E0
    G1 X5 Y20 Z0.28 F5000.0
    G1 X5 Y200.0 Z0.28 F1500.0 E15
    G92 E0
    #Move Z Axis up
    G1 Z2.0 F3000


[gcode_macro M900]
gcode: SET_PRESSURE_ADVANCE ADVANCE={K}

[gcode_macro PARK_MACRO]
default_parameter_X: 0
default_parameter_Y: 250
default_parameter_Z: 30
gcode:
        M117 PARKING..
        G91
        G1 E-3.14 F1500
        G1 Z{Z}
    G90
    G1 X{X} Y{Y} F3000
    
        
[gcode_macro M600]
gcode:
    PAUSE_print
    

[gcode_macro PAUSE_print]
gcode:
    PAUSE
    PARK_MACRO
 

[gcode_macro RESUME_print]
gcode:
        M117  RESUMING...
        RESUME
  


[gcode_macro BED_LEVEL_MACRO]
gcode:
        M117  bed_level
        G28
        BED_SCREWS_ADJUST


[gcode_macro ACCEPT_MACRO]
gcode:
       ACCEPT
       M117 ACCEPT

[gcode_macro ADJUSTED_MACRO]
gcode:
       ADJUSTED
       M117 ADJUSTED


[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 20,10
mesh_max: 280, 245
probe_count: 5,4
fade_start: 1
fade_end: 10

[include meshBed.cfg]

[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
endstop_pin: ^ar3
position_endstop: 0
position_max: 300
homing_speed: 50

[stepper_y]
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .0125
endstop_pin: ^ar14
position_endstop: 0
position_max: 255
homing_speed: 50

[stepper_z]
step_pin: ar46
dir_pin: !ar48
enable_pin: !ar62
step_distance: .0025
endstop_pin: ^ar18
position_endstop: 0
position_max: 300
position_min: -0.5

[extruder]
pressure_advance: 0.05
#   The amount of raw filament to push into the extruder during
#   extruder acceleration. An equal amount of filament is retracted
#   during deceleration. It is measured in millimeters per
#   millimeter/second. The default is 0, which disables pressure
#   advance.
#pressure_advance_smooth_time: 0.01
#   A time range (in seconds) to use when calculating the average
#   extruder velocity for pressure advance. A larger value results in
#   smoother extruder movements. This parameter may not exceed 200ms.
#   This setting only applies if pressure_advance is non-zero. The
#   default is 0.040 (40 milliseconds).
step_pin: ar26
dir_pin: !ar28
enable_pin: !ar24
step_distance: .0024
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog13
control: pid
pid_Kp: 31.147
pid_Ki: 2.076
pid_Kd: 116.803
min_temp: 0
max_temp: 265

[heater_bed]
heater_pin: ar8
sensor_type: ATC Semitec 104GT-2
sensor_pin: analog14
control: pid
pid_Kp: 72.174
pid_Ki: 1.816
pid_Kd: 717.224
min_temp: 0
max_temp: 125

[filament_switch_sensor my_sensor]
switch_pin: ar2
pause_on_runout: True
runout_gcode: PAUSE_MACRO
#   The gcode to run after a filament runout is detected. If
#   pause_on_runout is set to True this gcode will run after the PAUSE
#   is complete. The default is not to run any gcode commands.
#insert_gcode:
#   The gcode to run after a filament insert is detected. The default
#   is not to run any gcode commands, which disables insert detection.
event_delay: 3.0
#   The minimum amount of time in seconds to delay between events.
#   Events triggered during this time period will be silently
#   ignored. The default is 3 seconds.


[fan]
pin: ar9
kick_start_time: 0.200
off_below: 0.13

[mcu]
serial: /dev/ttyUSB0
pin_map: arduino

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 4000
max_z_velocity: 10
max_z_accel: 100
#acceleration_order: 6
#min_jerk_limit_time: 0.03  

[display]
lcd_type: st7920
cs_pin: ar16
sclk_pin: ar23
sid_pin: ar17
encoder_pins: ^ar33, ^ar31
click_pin: ^!ar35

[bed_screws]
screw1: 48,40
screw2: 255,40
screw3: 255,220
screw4: 48,220


[virtual_sdcard]
path: ~/.octoprint/uploads/
#path: /home/pi/sdcard

[web_dwc2]
# optional - defaulting to Klipper
#printer_name: BinarySV01
# optional - defaulting to 127.0.0.1
#listen_adress: 192.168.1.130
# needed - use above 1024 as nonroot
#listen_port: 4750
#    optional defaulting to dwc2/web. Its #a folder relative to your virtual sdcard.
#web_path: ../../sdcard/dwc2/web
#web_path: /dwc2/web

[pause_resume]
recover_velocity: 50.

[firmware_retraction]
#retract_length: 1
#   The length of filament (in mm) to retract when G10 is activated, and to
#   unretract when G11 is activated (but see unretract_extra_length below).
#   The default is 0 mm.
#retract_speed:50
#   The speed of retraction, in mm/s. The default is 20 mm/s.
#unretract_extra_length: 0
#   The length (in mm) of *additional* filament to add when unretracting.
unretract_speed: 50
#   The speed of unretraction, in mm/s. The default is 10 mm/s.

Merci d'avance pour votre aide les amis. 

Si certains peuvent me guider dans cette fin de config afin de pouvoir reprit ça serais top ^^ !!! 

Lien vers le commentaire
Partager sur d’autres sites

Bon juste un message pour clôturer le sujet, le blrouch à été installé avec succès et klipper paramétré au poil. 

Un grand merci à Alex et Raoul pour leur aide et leur patience, n'hésitez pas à demander si vous avez des questions et si je peux aider d'autres personnes à mon tour. 

Lien vers le commentaire
Partager sur d’autres sites

  • fran6p changed the title to [RÉSOLU] Klipper bltouch et configuration

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 compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
×
×
  • Créer...