Last active
February 8, 2023 12:10
-
-
Save lorf/751522978a163c094a36ff24bef78489 to your computer and use it in GitHub Desktop.
Klipper config for hacked RAMPS on Kossel Delta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pin assignments: https://reprap.org/wiki/SMART_RAMPS | |
[stepper_a] | |
step_pin: ar54 | |
dir_pin: ar55 | |
enable_pin: !ar38 | |
# X-max endstop | |
endstop_pin: ^ar2 | |
position_endstop: 431.8345625 | |
angle: 209.67 | |
# 32 microsteps | |
step_distance: .00625 | |
arm_length: 329.3 | |
homing_speed: 150 | |
homing_retract_dist: 1.0 | |
second_homing_speed: 10.0 | |
[tmc2208 stepper_a] | |
uart_pin: ar59 | |
microsteps: 32 | |
run_current: 0.6 | |
[stepper_b] | |
step_pin: ar60 | |
dir_pin: ar61 | |
enable_pin: !ar56 | |
# Y-max endstop | |
endstop_pin: ^ar15 | |
position_endstop: 429.508 | |
angle: 330.12 | |
step_distance: .00625 | |
[tmc2208 stepper_b] | |
uart_pin: ar40 | |
microsteps: 32 | |
run_current: 0.6 | |
[stepper_c] | |
step_pin: ar46 | |
dir_pin: ar48 | |
enable_pin: !ar62 | |
# Z-max endstop | |
endstop_pin: ^ar19 | |
position_endstop: 431.12675 | |
angle: 90 | |
step_distance: .00625 | |
[tmc2208 stepper_c] | |
uart_pin: ar42 | |
microsteps: 32 | |
run_current: 0.6 | |
[extruder] | |
step_pin: ar26 | |
dir_pin: !ar28 | |
enable_pin: !ar24 | |
# 16 microsteps | |
step_distance: .0023201856 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: ar10 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: analog9 | |
control: pid | |
pid_Kp: 4.1068 | |
pid_Ki: 0.077 | |
pid_Kd: 15.795 | |
pid_integral_max: 230 | |
min_temp: 0 | |
max_temp: 310 | |
pressure_advance: 0.05 | |
max_extrude_only_distance: 100.0 | |
[tmc2208 extruder] | |
uart_pin: ar44 | |
microsteps: 16 | |
run_current: 0.51 | |
[heater_bed] | |
heater_pin: ar8 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: analog10 | |
control: pid | |
pid_Kp: 266.19 | |
pid_Ki: 17.8 | |
pid_Kd: 287.28 | |
pid_integral_max: 230 | |
min_temp: 0 | |
max_temp: 130 | |
[fan] | |
pin: ar9 | |
[mcu] | |
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_95635333031351C0E061-if00 | |
pin_map: arduino | |
baud: 460800 | |
[printer] | |
kinematics: delta | |
max_velocity: 600 | |
max_z_velocity: 300 | |
max_accel: 3000 | |
delta_radius: 165.2 | |
minimum_z_position: -5 | |
square_corner_velocity: 10.0 | |
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays | |
[display] | |
lcd_type: st7920 | |
cs_pin: ar16 | |
sclk_pin: ar23 | |
sid_pin: ar17 | |
encoder_pins: ^ar31, ^ar33 | |
click_pin: ^!ar35 | |
kill_pin: ^!ar41 | |
# Example: DUMP S=230 E=50 | |
# See also: max_extrude_only_distance | |
[gcode_macro DUMP] | |
default_parameter_E=100 | |
gcode: | |
;M109 S### ; set extruder temperature and wait | |
;G28 | |
G0 Z100 F9000 | |
G0 X-110.418 Y63.75 F9000 ; move to the edge of the bed | |
G0 X-132.069 Y76.25 F9000 ; move to the dump area | |
G91 ; Relative positioning | |
G1 E{E} F600 | |
G1 E-20 F600 | |
G90 ; Absolute positioning | |
G0 X-110.418 Y63.75 F9000 ; move to the edge of the bed | |
M400 ; wait for moves to finish | |
# Example: WIPE | |
[gcode_macro WIPE] | |
gcode: | |
;M109 S### ; set extruder temperature and wait | |
;G28 | |
G0 Z5 F9000 | |
G0 X-110.418 Y-63.75 F9000 ; move to the edge of the bed | |
G0 X-128.694 Y-82.0957 ; move to the wiper cup | |
G0 Z-2 F9000 | |
G0 X-135.444 Y-70.4043 F3000 | |
G0 X-128.694 Y-82.0957 F3000 | |
G0 X-135.444 Y-70.4043 F3000 | |
G0 X-128.694 Y-82.0957 F3000 | |
G0 X-135.444 Y-70.4043 F3000 | |
G0 X-128.694 Y-82.0957 F3000 | |
G0 X-135.444 Y-70.4043 F3000 | |
G0 X-128.694 Y-82.0957 F3000 | |
G0 Z5 F9000 | |
G0 X-110.418 Y-63.75 F9000 ; move to the edge of the bed | |
[delta_calibrate] | |
radius: 117.5 | |
speed: 150 | |
horizontal_move_z: 5 | |
[probe] | |
pin: ar18 | |
#z_offset: -0.05 | |
z_offset: -0.1 | |
speed: 10.0 | |
# Delay 100ms before probing, for piezo probe | |
activate_gcode: G4 P100 | |
[bed_tilt] | |
# Diamond method, 19 points | |
points: | |
117.5,0 | |
88.125,50.879 | |
29.375,50.879 | |
58.75,101.758 | |
0,101.758 | |
-29.375,50.879 | |
-58.75,101.758 | |
-88.125,50.879 | |
-58.75,0 | |
-117.5,0 | |
-88.125,-50.879 | |
-29.375,-50.879 | |
-58.75,-101.758 | |
0,-101.758 | |
29.375,-50.879 | |
58.75,-101.758 | |
88.125,-50.879 | |
58.75,0 | |
0,0 | |
speed: 150 | |
horizontal_move_z: 3 | |
# Redefine some menu items | |
[menu __control __homez] | |
type: command | |
enable: false | |
name: Home Z | |
gcode: G28 Z | |
[menu __control __homexy] | |
type: command | |
enable: false | |
name: Home X/Y | |
gcode: G28 X Y | |
[menu __temp __hotend0_target] | |
type: input | |
enable: extruder0.is_enabled | |
name: "{0:4.0f}" | |
parameter: extruder0.target | |
input_min: 0 | |
input_max: 310 | |
input_step: 1 | |
input_step2: 10 | |
gcode: M104 T0 S{0:.0f} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment