Aller au contenu

Messages recommandés

Posté(e)

Salut, 

Je débute avec Klipper (+octoprint bien sûr). J'ai pas mal galérer au début sur la config (depuis hier en fait). Il me manque encore 2/3 truc comme la gestion UART des TMC2208 et l'utilisation du GPIO à la place de l'USB.

Pour limiter le bip au démarrage, il faut compiler Klipper avec l'option "pin at startup" avec "!P1.30". 

Si ça peut aider, voici le fichier config que j'utilise

# SKR V1.4 Turbo ENDER 5 RLV

########################################
# Configuration Base
########################################


[mcu]
#/!\ CHANGE THIS TO CONNECT /!\
serial: /dev/serial/by-id/usb-Klipper_lpc1769_0650001625813AAF16E16B5CC22000F5-if00

[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 2500
max_z_velocity: 15
max_z_accel: 100


########################################
# Configuration AXIS
########################################

[stepper_x]
step_pin: P2.2
dir_pin: P2.6
enable_pin: !P2.1
step_distance: .0125
endstop_pin: !P1.29
position_endstop: 0
position_max: 235
homing_speed: 50

[stepper_y]
step_pin: P0.19
dir_pin: P0.20
enable_pin: !P2.8
step_distance: .0125
endstop_pin: !P1.28
position_endstop: 0
position_max: 235
homing_speed: 50

[stepper_z]
step_pin: P0.22
dir_pin: !P2.11
enable_pin: !P0.21
# step_distance: .0025 # OLD Ender 5
step_distance: .001250 # New Ender 5 (2019)
#endstop_pin: !P1.27
endstop_pin: probe:z_virtual_endstop
position_endstop: 0.0
position_max: 300
# PROBE TEST 
#position_min: -3

[extruder]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
step_distance: .010526
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.24
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 260


#[extruder1]
#step_pin: P1.15
#dir_pin: P1.14
#enable_pin: !P1.16
#heater_pin: P2.4
#sensor_pin: P0.23
#...


########################################
# TMC2208 configuration
########################################

# For TMC2208 UART
#   1) Remove all of the jumpers below the stepper drivers
#   2) Place jumpers on the red pin headers labeled XUART (XUART, YUART etc.)

#[tmc2208 stepper_x]
#uart_pin: P1.10 #ok
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250

#[tmc2208 stepper_y]
#uart_pin: P1.9 #ok
#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250

#[tmc2208 stepper_z]
#uart_pin: P1.8
#microsteps: 16
#run_current: 0.650
#hold_current: 0.450
#stealthchop_threshold: 30

########################################
# Configuration BLTOUCH
########################################

[bltouch]
control_pin: P2.0 #ok
sensor_pin: P0.10 #ok
x_offset: 39
y_offset: 15
z_offset = 2.3 

[safe_z_home]
home_xy_position: 66,100 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10                 # Move up 10mm
z_hop_speed: 5

[bed_mesh]
mesh_min: 45,16
mesh_max: 215,215
probe_count: 5,5
speed: 100
fade_start: 1
fade_end: 10
fade_target: 0

########################################
# Configuration HEAT BED AND FANS
########################################

[heater_bed]
heater_pin: P2.5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.25
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130

[fan]
pin: P2.3

[heater_fan hotend]
pin: P2.4 #ok to change later
heater: extruder
heater_temp: 40

########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
    EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
    EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"


######################################################################
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
######################################################################

[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

######################################################################
# VIRTUAL SD CARD 
######################################################################

[virtual_sdcard]
path: /home/ender/.octoprint/uploads
  • J'aime 1

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...