Skip to content

Commit

Permalink
Added SKR pico board + changed naming standart
Browse files Browse the repository at this point in the history
  • Loading branch information
irebane committed Jan 21, 2022
1 parent 4f0f0ff commit 1f1bf7c
Show file tree
Hide file tree
Showing 5 changed files with 281 additions and 14 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ square_corner_velocity: 4.0
pin: ^PC2
x_offset: 0
y_offset: 25
#z_offset = 2.837
z_offset: 3.4
samples: 2

[safe_z_home]
Expand All @@ -43,8 +43,8 @@ z_hop_speed: 5
[bed_mesh]
speed: 80
horizontal_move_z: 6
mesh_min: 10,40
mesh_max: 220,230
mesh_min: 10,30
mesh_max: 220,220
probe_count: 6,6
mesh_pps: 2,2
algorithm: bicubic
Expand Down Expand Up @@ -108,9 +108,9 @@ enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: -30
position_min: -30
position_max: 200
position_endstop: -10
position_min: -10
position_max: 220
homing_speed: 50

[tmc2209 stepper_y]
Expand All @@ -126,7 +126,7 @@ step_pin: PB3
dir_pin: !PB4
enable_pin: !PD1
microsteps: 16
gear_ratio: 50:17
gear_ratio: 50:10
rotation_distance: 22.598
nozzle_diameter: 0.400
filament_diameter: 1.750
Expand Down Expand Up @@ -230,18 +230,18 @@ pin: EXP1_1
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.056250, -0.050000, -0.043750, -0.093750, -0.078125, -0.012500
#*# 0.090625, 0.009375, 0.006250, -0.037500, -0.031250, 0.025000
#*# 0.125000, 0.040625, 0.046875, 0.006250, 0.028125, 0.071875
#*# 0.115625, 0.043750, 0.043750, 0.000000, 0.018750, 0.065625
#*# 0.103125, 0.028125, 0.040625, -0.003125, 0.028125, 0.065625
#*# 0.125000, 0.040625, 0.059375, 0.006250, 0.025000, 0.087500
#*# 0.128125, 0.046875, 0.046875, 0.018750, 0.065625, 0.146875
#*# 0.175000, 0.100000, 0.075000, 0.059375, 0.087500, 0.159375
#*# 0.137500, 0.065625, 0.062500, 0.046875, 0.084375, 0.143750
#*# 0.100000, 0.037500, 0.028125, 0.006250, 0.040625, 0.121875
#*# 0.121875, 0.037500, 0.037500, 0.012500, 0.046875, 0.125000
#*# 0.065625, 0.003125, -0.021875, -0.068750, 0.000000, 0.090625
#*# tension = 0.2
#*# min_x = 10.0
#*# algo = bicubic
#*# y_count = 6
#*# mesh_y_pps = 2
#*# min_y = 40.0
#*# min_y = 30.0
#*# x_count = 6
#*# max_y = 220.0
#*# mesh_x_pps = 2
Expand Down
267 changes: 267 additions & 0 deletions voron-01-btt-skr-pico-klipper-printer.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
#####################################################################
# Kinematics Type
#####################################################################

[printer]
kinematics: corexy
max_velocity: 200
max_accel: 2000
max_accel_to_decel: 2000
max_z_velocity: 15
max_z_accel: 45
square_corner_velocity: 6.0

#####################################################################
# X - Motor
#####################################################################

[stepper_x]
step_pin: gpio11
## Refer to https://docs.vorondesign.com/build/startup/#v0
dir_pin: gpio10 # Check motor direction in link above. If inverted, add a ! before PB12
enable_pin: !gpio12
rotation_distance: 40
microsteps: 128
full_steps_per_rotation: 200 # Set to 400 for 0.9° degree stepper motor, 200 is for 1.8° stepper motors
endstop_pin: ^gpio4
position_endstop: 117
position_max: 117
position_min: -3
homing_speed: 50 # Can be increased after initial setup, Max 100
homing_retract_dist: 5
homing_positive_dir: true

[tmc2209 stepper_x]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 0
#interpolate: False
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 999999 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
# diag_pin: ^gpio4
# driver_SGTHRS: 100

#####################################################################
# Y - Motor
#####################################################################

[stepper_y]
step_pin: gpio6
## Refer to https://docs.vorondesign.com/build/startup/#v0
dir_pin: gpio5
enable_pin: !gpio7
rotation_distance: 40
microsteps: 128
full_steps_per_rotation: 200 # Set to 400 for 0.9° degree stepper motor, 200 is for 1.8° stepper motors
endstop_pin: ^gpio3
position_endstop: 119
position_max: 119
homing_speed: 50 # Can be increased after initial setup, Max 100
homing_retract_dist: 5
homing_positive_dir: true

[tmc2209 stepper_y]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 2
interpolate: False
run_current: 0.7
sense_resistor: 0.110
stealthchop_threshold: 999999 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
# diag_pin: ^gpio3
# driver_SGTHRS: 100

#####################################################################
# Z - Motor
#####################################################################

[stepper_z]
step_pin: gpio19
dir_pin: !gpio28
enable_pin: !gpio2
rotation_distance: 8 # For T8x8 integrated lead screw
microsteps: 128
endstop_pin: ^gpio25
position_endstop: 0.52
position_max: 120
position_min: -1.5
homing_speed: 10
second_homing_speed: 3.0
homing_retract_dist: 3.0

[tmc2209 stepper_z]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 1
interpolate: False
## For OMC (StepperOnline) 17LS13-0404E-200G 0.4A
#run_current: 0.2
#hold_current: 0.15
## For LDO-42STH25-1004CL200E 1.0A
run_current: 0.37
hold_current: 0.35
sense_resistor: 0.110
stealthchop_threshold: 999999 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle

#####################################################################
# Extruder
#####################################################################

[extruder]
step_pin: gpio14
dir_pin: !gpio13
enable_pin: !gpio15
full_steps_per_rotation: 200 # Set to 200 for LDO 1.8° stepper motor, and set to 400 for OMC(StepperOnline) 0.9° stepper motor
rotation_distance: 22.84 # See calibrating rotation_distance on extruders doc
gear_ratio: 50:10 # For Mini Afterburner
microsteps: 16 #128
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: gpio23
sensor_type: EPCOS 100K B57560G104F
sensor_pin: gpio27
#control: pid # Do PID calibration after initial checks
#pid_Kp: 28.182
#pid_Ki: 1.978
#pid_Kd: 100.397
min_temp: 0
max_temp: 270
min_extrude_temp: 170
max_extrude_only_distance: 150
max_extrude_cross_section: 0.8
pressure_advance: 0.0 # See tuning pressure advance doc
pressure_advance_smooth_time: 0.040

[tmc2209 extruder]
uart_pin: gpio9
tx_pin: gpio8
uart_address: 3
interpolate: True
## For OMC (StepperOnline) 14HR07-1004VRN 1A 0.9°
#run_current: 0.5 # for OMC 14HR07-1004VRN rated at 1A
#hold_current: 0.3 # for OMC 14HR07-1004VRN rated at 1A
## For LDO LDO 36STH17-1004AHG 1A 1.8°
run_current: 0.3 # for LDO 36STH17-1004AHG
#hold_current: 0.3 # for LDO 36STH17-1004AHG
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 0 for spreadcycle, avoid using stealthchop on extruder

#####################################################################
# Bed Heater
#####################################################################

[heater_bed]
heater_pin: gpio21
sensor_type: NTC 100K MGB18-104F39050L32 # For Keenovo, verify yours
sensor_pin: gpio26
smooth_time: 3.0
#max_power: 0.6 # Only needed for 100w pads
min_temp: 0
max_temp: 120
#control: pid # Do PID calibration after initial checks
#pid_kp: 68.453
#pid_ki: 2.749
#pid_kd: 426.122

#####################################################################
# Thermistor definitions
#####################################################################

[thermistor Trianglelab NTC100K B3950]
## values calibrated against a PT100 reference
temperature1: 25.0
resistance1: 103180.0
temperature2: 150.0
resistance2: 1366.2
temperature3: 250.0
resistance3: 168.6

#####################################################################
# Fans
#####################################################################

[fan]
pin: gpio17
max_power: 1.0
kick_start_time: 0.5 # Depending on your fan, you may need to increase this value if your fan will not start
off_below: 0.13
cycle_time: 0.010

[heater_fan hotend_fan]
pin: gpio18
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
#fan_speed: 1.0 # You can't PWM the delta fan unless using blue wire

#[heater_fan controller_fan]
[fan_generic nevermore_filter]
pin: gpio20
max_power: 1.0
kick_start_time: 0.5 # Depending on your fan, you may need to increase this value if your fan will not start
#heater_temp: 45.0

#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################

# [idle_timeout]
# timeout: 1800

[safe_z_home]
home_xy_position: 117,119
speed: 50.0
z_hop: 5

## To be used with BED_SCREWS_ADJUST
[bed_screws]
screw1: 60,5
screw1_name: front screw
screw2: 10,110
screw2_name: back left
screw3: 110,110
screw3_name: back right

#####################################################################
# MCU and Other Settings
#####################################################################
[mcu]
serial: /dev/ttyAMA0
restart_method: command

[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100

[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100

[neopixel board_rgb]
pin: gpio24
chain_count: 1
color_order: GRB
initial_RED: 0.3
initial_GREEN: 0.3
initial_BLUE: 0.3

[include fluidd.cfg]

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 62.593
#*# pid_ki = 1.987
#*# pid_kd = 492.916
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 28.146
#*# pid_ki = 1.604
#*# pid_kd = 123.490

0 comments on commit 1f1bf7c

Please sign in to comment.