Klipper on the Vertex Delta

Hi
is anyone running Klipper already on the vertex delta? I’m struggling with the config, most likely with the printer config.
The basics are already correctly configured, but I’m not printing yet :slight_smile:

this is what I have so far. I’ve never worked with firmware yet, but the Klipper documentation is really good. So I will get through it. Either way, I’ll share and push back to the project when it is working.

edit: display is already working and my first print was needs some more calibration but I’m getting there! :smile:

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

# X
[stepper_a]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
microsteps: 32
rotation_distance: 55
endstop_pin: ^!ar3
homing_speed: 50
#position_endstop: 314
#arm_length: 207.0

#Y
[stepper_b]
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
microsteps: 32
rotation_distance: 55
endstop_pin: ^!ar14

#Z
[stepper_c]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar63
microsteps: 32
rotation_distance: 55
endstop_pin: ^!ar66

[extruder]
step_pin: ar26
dir_pin: !ar28
enable_pin: !ar24
microsteps: 32
rotation_distance: 41.354
nozzle_diameter: 0.3500
filament_diameter: 1.750
heater_pin: ar10
sensor_type: ATC Semitec 104GT-2
sensor_pin: analog13
#control: pid
#pid_Kp: 15.20
#pid_Ki: 1.75
#pid_Kd: 50.42
min_temp: 0
max_temp: 295

#[heater_bed]
#heater_pin: ar8
#sensor_type: EPCOS 100K B57560G104F
#sensor_pin: analog14
#control: watermark
#min_temp: 0
#max_temp: 130

[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
baud: 250000
pin_map: arduino

[printer]
kinematics: delta
max_velocity: 300
max_accel: 3000
max_z_velocity: 150
#delta_radius: 110.21
print_radius: 105.00
minimum_z_position: -15

[delta_calibrate]
radius: 75

[fan]
pin: ar8

[controller_fan default_controller_fan]
pin: ar9

[probe]
pin: ar68
speed: 15
#z_offset: 0

[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_radius:75
mesh_origin: 0,0
round_probe_count: 5

[display]
lcd_type: uc1701
cs_pin: ar29
a0_pin: ar27
contrast: 55

encoder_pins: ^ar17,^ar16
click_pin: ^!ar23

[output_pin beeper]
pin: ar6

### Macros

[gcode_macro CANCEL_PRINT]
gcode:
   M220 S100 ; Reset Speed factor override percentage to default (100%)
   M221 S100 ; Reset Extrude factor override percentage to default (100%)
   G91 ; Set coordinates to relative
   {% if printer.extruder.temperature >= 170 %}
      G1 F1800 E-1 ; Retract filament 3 mm to prevent oozing
   {% endif %}

   ;if all axis are homed, lift the hotend to leave room for hot filament to ooze and to keep it clear of the bed.
   {% if printer.toolhead.homed_axes == "xyz" %}
      G1 F6000 Z10 ; Move Z Axis up 10 mm to allow filament ooze freely
      G90 ; Set coordinates to absolute
      G1 X0 Y221 F1000 ; Move Heat Bed to the front for easy print removal
      M84 ; Disable stepper motors
   {% endif %}

   ;set part fan speed to zero.
   M106 S0
   ;bed and hotend are left at the print temps in case I want to restart.

[gcode_macro START_PRINT]
default_parameter_BED_TEMP: 60
default_parameter_EXTRUDER_TEMP: 190
gcode:
    # Use absolute coordinates
    G90
    # Reset the G-Code Z offset (adjust Z offset if needed)
    SET_GCODE_OFFSET Z=0.0
    # Home the printer
    G28
    # create a new bed mesh
    BED_MESH_CALIBRATE
    G1 X0 Y90 Z1 F3000
    # Set and wait for nozzle to reach temperature
    M109 S{EXTRUDER_TEMP}
    # prime the nozzle
    G1 E20 F100
    # Move the nozzle near the bed
    G1 Z5 F3000
    # Move the nozzle very close to the bed
    G1 Z0.15 F300

[gcode_macro END_PRINT]
gcode:
    # Turn off extruder, and fan
    M104 S0
    M106 S0
    # Move nozzle away from print while retracting
    G91
    G1 X-2 Y-2 E-3 F300
    # Raise nozzle by 10mm
    G1 Z10 F3000
    G90
    # Disable steppers
    M84

[gcode_macro M851]
gcode:
  G28
  probe_calibrate

[gcode_macro G32]
gcode:
  G28
  delta_calibrate
  G1 X0 Y0 F4200
  save_config

[gcode_macro G29]
gcode:
  G28
  bed_mesh_calibrate
  G1 X0 Y0 Z15 F4200
  save_config


[gcode_macro M300]
default_parameter_S: 1000
#   Use a default 1kHz tone if S is omitted.
default_parameter_P: 100
#   #   Use a 10ms duration is P is omitted.
gcode:
   SET_PIN PIN=BEEPER_pin VALUE={S}
   G4 P{P}
   SET_PIN PIN=BEEPER_pin VALUE=0
1 Like

I’ll definitly jump in when I’m finished with my FLSUN QQ-S.

1 Like