Created
February 25, 2024 17:49
-
-
Save crysxd/13d4299a76d49ca60b5cd5f15a51332a to your computer and use it in GitHub Desktop.
Switchwire Klipper config
This file contains hidden or 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
## LDO recommended macros to get you started | |
# These macros are recommended by LDO | |
# You can copy these entries into your printer.cfg. | |
# | |
# Alternatively, | |
# You can copy these entries into your printer.cfg. | |
# | |
[gcode_macro M300] | |
description: Custom M300 code to allow beeper to be used in gcode | |
gcode: | |
RESPOND PREFIX="BEEP" | |
[gcode_macro T0] | |
gcode: | |
# Deactivate second extruder stepper | |
SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE= | |
# Activate first extruder stepper | |
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=extruder | |
SET_GCODE_VARIABLE MACRO=SET_PRESSURE_ADVANCE VARIABLE=active_extruder VALUE=0 | |
[gcode_macro T1] | |
gcode: | |
# Deactivate first extruder stepper | |
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE= | |
# Activate second extruder stepper | |
SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE=extruder | |
SET_GCODE_VARIABLE MACRO=SET_PRESSURE_ADVANCE VARIABLE=active_extruder VALUE=1 | |
[gcode_macro SET_PRESSURE_ADVANCE] | |
rename_existing: SET_PRESSURE_ADVANCE_BASE | |
variable_active_extruder: -1 | |
gcode: | |
{% set ADVANCE = params.ADVANCE|float %} | |
{% set EXTRUDER = params.EXTRUDER|default("") %} | |
{% set ACTIVE_EXTRUDER = printer["gcode_macro SET_PRESSURE_ADVANCE"].active_extruder %} | |
{% if EXTRUDER == "" %} | |
RESPOND PREFIX="Extruder not given, invering from active=" MSG={ACTIVE_EXTRUDER} | |
{% if ACTIVE_EXTRUDER == 0 %} | |
{% set EXTRUDER = "extruder" %} | |
{% endif %} | |
{% if ACTIVE_EXTRUDER == 1 %} | |
{% set EXTRUDER = "extruder1" %} | |
{% endif %} | |
{% endif %} | |
RESPOND PREFIX="Setting pressurece advance for" MSG={EXTRUDER} | |
SET_PRESSURE_ADVANCE_BASE ADVANCE={ADVANCE} EXTRUDER={EXTRUDER} | |
[gcode_macro PAUSE] | |
rename_existing: PAUSE_BASE | |
gcode: | |
G1 E-15 F4000 | |
PAUSE_BASE | |
{% set park_z = printer.toolhead.axis_maximum.z|float - 20 %} | |
{% set park_y = printer.toolhead.axis_maximum.y|float - 10 %} | |
{% set park_x = printer.toolhead.axis_maximum.x|float / 2.0 %} | |
G90 | |
G1 X{park_x} Y{park_y} Z{park_z} F8000 | |
[gcode_macro RESUME] | |
rename_existing: RESUME_BASE | |
gcode: | |
RESUME_BASE | |
G1 E13 F4000 | |
[gcode_macro G28] | |
rename_existing: G990028 | |
gcode: | |
{% set do_x = 0 %} | |
{% set do_y = 0 %} | |
{% set do_z = 0 %} | |
{% if params.Y is defined %} | |
## for y home just y | |
{% set do_y = 1 %} | |
{% endif %} | |
{% if params.X is defined %} | |
## for x home y first then X | |
{% set do_x = 1 %} | |
{% endif %} | |
{% if params.Z is defined %} | |
## for z home all | |
{% if "y" not in printer.toolhead.homed_axes %} | |
{% set do_y = 1 %} | |
{% endif %} | |
{% if "x" not in printer.toolhead.homed_axes %} | |
{% set do_x = 1 %} | |
{% endif %} | |
{% set do_z = 1 %} | |
{% endif %} | |
{% if do_y == 1 %} | |
RESPOND PREFIX="info" MSG="Home > Todo: Y" | |
{% endif %} | |
{% if do_x == 1 %} | |
RESPOND PREFIX="info" MSG="Home > Todo: X" | |
{% endif %} | |
{% if do_z == 1 %} | |
RESPOND PREFIX="info" MSG="Home > Todo: Z" | |
{% endif %} | |
{% if do_x == 0 and do_y == 0 and do_z == 0 %} | |
{% set do_x = 1 %} | |
{% set do_y = 1 %} | |
{% set do_z = 1 %} | |
RESPOND PREFIX="info" MSG="Home > Doing all XYZ" | |
{% endif %} | |
{% if do_z == 1 %} | |
{% set do_x = 1 %} | |
{% set do_y = 1 %} | |
RESPOND PREFIX="info" MSG="Home Z > Doing all XYZ" | |
{% if "z" not in printer.toolhead.homed_axes %} | |
SET_KINEMATIC_POSITION Z=0 | |
{% endif %} | |
G91 | |
G1 Z5 F2000 | |
{% endif %} | |
{% if do_y == 1 %} | |
RESPOND PREFIX="info" MSG="Home > Y" | |
G90 | |
G990028 Y0 | |
G91 | |
G0 Y5 F2000 | |
G90 | |
{% endif %} | |
{% if do_x == 1 %} | |
RESPOND PREFIX="info" MSG="Homing > X" | |
G90 | |
G990028 X0 | |
G91 | |
G0 X5 F2000 | |
G90 | |
{% endif %} | |
{% if do_z == 1 %} | |
RESPOND PREFIX="info" MSG="Homing > Z" | |
G90 | |
G0 X125 Y125 F12000 | |
G990028 Z0 | |
G91 | |
G0 Z20 | |
G90 | |
{% endif %} | |
RESPOND PREFIX="info" MSG="Homing > Done" | |
[gcode_macro PRINT_START] | |
# Use PRINT_START for the slicer starting script - please customize for your slicer of choice | |
# gcode: | |
# CHOME ; home all axes if not done already | |
# G90 ; absolute positioning | |
# G1 Z20 F3000 ; move nozzle away from bed | |
# G92 E0 ; prime nozzle | |
# G1 X2 Y1 Z0.28 F1500 | |
# G1 Y110 E20 F1500 | |
# G92 E0 | |
gcode: | |
LIGHT_PENDING | |
{% set BED_TEMP = params.BED_TEMP|default(60)|float %} | |
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(190)|float %} | |
{% set AREA_START = params.AREA_START|default("0,0") %} | |
{% set AREA_END = params.AREA_END|default("200,200") %} | |
# Start TLM Start G-Code | |
# Clear Display | |
M117 | |
# Clear Existing Feedrate | |
M220 S100 | |
# Clear Existing Flowrate | |
M221 S100 | |
# Heat up Bed and extruder, do not wait | |
M104 S150 | |
M140 S{BED_TEMP} | |
# Home | |
CHOME | |
# Move to side and wait for final temps | |
G1 X1 Y10 Z5 F4000 | |
M190 S{BED_TEMP} | |
# Probe print area | |
BED_MESH_CALIBRATE AREA_START={AREA_START} AREA_END={AREA_END} | |
# Let's Print | |
# Beep | |
M300 S100 P1 | |
M300 S1000 P1 | |
# Relative Extruder | |
M83 | |
# Set units to millimeters | |
G21 | |
# Use absolute coordinates | |
G90 | |
# Use absolute distances for extrusion | |
M82 | |
# Fan Off | |
M107 | |
{% if BED_TEMP > 90 %} | |
FILTER_ON | |
{% endif %} | |
# Prime Blob disabled because I like doing skirts instead at the momemnt | |
G1 X1 Y10 Z5 F4000 | |
M109 S{EXTRUDER_TEMP} | |
NOZZLE_PURGE | |
LIGHT_PRINTING | |
[gcode_macro PRINT_END] | |
# Use PRINT_END for the slicer ending script - please customize for your slicer of choice | |
gcode: | |
M400 ; wait for buffer to clear | |
G92 E0 ; zero the extruder | |
G1 E-4.0 F3600 ; retract filament | |
G91 ; relative positioning | |
# Get Boundaries | |
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %} | |
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %} | |
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %} | |
# Check end position to determine safe direction to move | |
{% if printer.toolhead.position.x < (max_x - 20) %} | |
{% set x_safe = 20.0 %} | |
{% else %} | |
{% set x_safe = -20.0 %} | |
{% endif %} | |
{% if printer.toolhead.position.y < (max_y - 20) %} | |
{% set y_safe = 20.0 %} | |
{% else %} | |
{% set y_safe = -20.0 %} | |
{% endif %} | |
{% if printer.toolhead.position.z < (max_z - 20) %} | |
{% set z_safe = 20.0 %} | |
{% else %} | |
{% set z_safe = max_z - printer.toolhead.position.z %} | |
{% endif %} | |
G0 Z{z_safe} F3600 ; move nozzle up | |
G0 X{x_safe} Y{y_safe} F20000 ; move nozzle to remove stringing | |
TURN_OFF_HEATERS | |
M107 ; turn off fan | |
G90 ; absolute positioning | |
G0 X60 Y{max_y - 5} F3600 ; park nozzle at rear | |
LIGHT_OFF | |
FILTER_OFF | |
[gcode_macro FILTER_ON] | |
gcode: | |
SET_FAN_SPEED FAN=Nevermore SPEED=100 | |
[gcode_macro FILTER_OFF] | |
gcode: | |
SET_FAN_SPEED FAN=Nevermore SPEED=0 | |
[gcode_macro CHOME] | |
description: Homes XYZ axis only if printer is in a non-homed state | |
gcode: | |
{% if "xyz" not in printer.toolhead.homed_axes %} | |
G28 | |
{% endif %} | |
[gcode_macro UNLOAD_FILAMENT] | |
description: Unloads filament from toolhead | |
gcode: | |
{% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} | |
CHOME | |
G91 ; relative positioning | |
G1 Z20 ; move nozzle upwards | |
FRONT ; move the toolhead to the front | |
LIGHT_PENDING | |
M109 S{EXTRUDER_TEMP} ; heat up the hotend | |
LIGHT_PRINTING | |
M83 ; set extruder to relative mode | |
G1 E-8 F1800 ; quickly retract a small amount to elimate stringing | |
G4 P200 ; pause for a short amount of time | |
G1 E-50 F300 ; retract slowly the rest of the way | |
G1 E-20 F300 | |
M400 ; wait for moves to finish | |
M117 Unload Complete! | |
LIGHT_OFF | |
[gcode_macro LOAD_FILAMENT] | |
description: Loads new filament into toolhead | |
gcode: | |
{% set EXTRUDER_TEMP = params.TEMP|default(230)|int %} | |
FRONT ; move the toolhead to the front | |
LIGHT_PENDING | |
M109 S{EXTRUDER_TEMP} ; heat up the hotend | |
LIGHT_PRINTING | |
M83 ; set extruder to relative mode | |
G1 E150 F300 ; extrude slowlyL | |
M400 ; wait for moves to finish | |
M117 Load Complete! | |
LIGHT_OFF | |
[gcode_macro CENTER] | |
description: Moves the toolhead to the center | |
gcode: | |
CHOME | |
{% set x_center = printer.toolhead.axis_maximum.x|float / 2.0 %} | |
{% set y_center = printer.toolhead.axis_maximum.y|float / 2.0 %} | |
G90 | |
G1 X{x_center} Y{x_center} F7800 | |
[gcode_macro FRONT] | |
description: Moves the toolhead to the front | |
gcode: | |
CHOME | |
{% set x_center = printer.toolhead.axis_maximum.x|float / 2.0 %} | |
{% set y_center = printer.toolhead.axis_maximum.y|float / 2.0 %} | |
G90 | |
G1 X{x_center} Y10 F7800 | |
[gcode_macro BACK] | |
description: Moves the toolhead to the back | |
gcode: | |
CHOME | |
{% set x_center = printer.toolhead.axis_maximum.x|float / 2.0 %} | |
{% set y_back = printer.toolhead.axis_maximum.y|float - 10 %} | |
G90 | |
G1 X{x_center} Y{y_back} F7800 | |
[gcode_macro NOZZLE_PURGE] | |
description: Draw a purge line at the front left edge of the build plate | |
gcode: | |
CHOME | |
G0 X2.5 Y4 F3000 ; Go to front | |
G0 Z0.3 ; Drop to bed | |
M83 ; Set extruder to relative mode | |
G1 E25 F500 ; | |
G1 X45 E15 F500 ; Extrude 25mm of filament in a 4cm line | |
G1 E-0.5 F400 ; Retract a little | |
G1 X85 F4000 ; Quickly wipe away from the filament line | |
G1 Z0.8 ; Raise and begin printing. | |
[gcode_macro LIGHT_PENDING] | |
gcode: | |
SET_LED LED=toolhead_light RED=1 GREEN=0.02 BLUE=0.02 WHITE=0 | |
SET_LED LED=underground_lights RED=1 GREEN=0.02 BLUE=0 WHITE=0 | |
SET_PIN PIN=bed_lights VALUE=0.2 | |
[gcode_macro LIGHT_PRINTING] | |
gcode: | |
SET_LED LED=toolhead_light RED=1 GREEN=0.3 BLUE=0 WHITE=0 INDEX=1 TRANSMIT=0 | |
SET_LED LED=toolhead_light RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=2 TRANSMIT=0 | |
SET_LED LED=toolhead_light RED=0 GREEN=0 BLUE=0 WHITE=1 INDEX=3 | |
SET_LED LED=underground_lights RED=1 GREEN=0.3 BLUE=0 WHITE=1 | |
SET_PIN PIN=bed_lights VALUE=1 | |
[gcode_macro LIGHT_OFF] | |
gcode: | |
SET_LED LED=toolhead_light RED=0 GREEN=0.02 BLUE=0 WHITE=0 INDEX=1 TRANSMIT=0 | |
SET_LED LED=toolhead_light RED=0 GREEN=0 BLUE=0 WHITE=0 INDEX=2 TRANSMIT=0 | |
SET_LED LED=toolhead_light RED=0 GREEN=0 BLUE=0 WHITE=0 INDEX=3 | |
SET_LED LED=underground_lights RED=0 GREEN=0 BLUE=0 WHITE=0 | |
SET_PIN PIN=bed_lights VALUE=0 | |
[gcode_macro FAN_ON] | |
gcode: | |
SET_FAN_SPEED FAN=hotend_fan SPEED=0.5 | |
SET_FAN_SPEED FAN=fan SPEED=0.5 | |
[gcode_macro M600] | |
gcode: | |
PAUSE | |
FRONT | |
UNLOAD_FILAMENT TEMP={ printer.extruder.target } | |
This file contains hidden or 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
[include fluidd.cfg] | |
## *** THINGS TO CHANGE/CHECK: *** | |
## MCU paths [mcu] section | |
## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file | |
## PID tune [extruder] and [heater_bed] sections | |
## Fine tune E steps [extruder] section | |
## For wiring directions please see https://docs.vorondesign.com/build/electrical/sw_miniE3_v20_wiring.html | |
## Webclient config files. Uncomment one depending on UI being used. | |
[include mainsail.cfg] | |
[include macros.cfg] | |
[include knomi.cfg] | |
#[include print_area_bed_mesh.cfg] | |
#[include shaper.cfg] | |
#[include fluidd.cfg] | |
[virtual_sdcard] | |
path: /home/pi/printer_data/gcodes | |
on_error_gcode: CANCEL_PRINT | |
[force_move] | |
enable_force_move: True | |
[gcode_arcs] # For OrcoSlicer | |
[exclude_object] | |
[printer] | |
kinematics: corexz | |
max_velocity: 300 | |
max_accel: 3500 | |
max_z_velocity: 50 | |
max_z_accel: 1000 | |
square_corner_velocity: 4.0 | |
[mcu] | |
###Change to device found by "ls -l /dev/serial/by-id/" with just one this MCU connected to Pi | |
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_5000120012504B5735313920-if00 | |
# [mcu v2] | |
# ###Change to device found by "ls -l /dev/serial/by-id/" with just one this MCU connected to Pi | |
# serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_39FFD1054247333127622257-if00 | |
[mcu v1] | |
###Change to device found by "ls -l /dev/serial/by-id/" with just one this MCU connected to Pi | |
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_36FFD7055252343511611743-if00 | |
[mcu rpi] | |
serial: /tmp/klipper_host_mcu | |
[static_digital_output usb_pullup_enable] | |
pins: !PC13 | |
##################################################################### | |
# X Stepper Settings | |
##################################################################### | |
###### | |
# Motor -XM | |
# Endstop - X-STOP | |
############### | |
[stepper_x] | |
step_pin: v1:PB13 | |
dir_pin: v1:PB12 | |
enable_pin: !v1:PB14 | |
rotation_distance: 40 | |
full_steps_per_rotation: 200 | |
microsteps: 32 | |
endstop_pin: tmc2209_stepper_x:virtual_endstop | |
position_endstop: 0 | |
position_min: 0 | |
position_max: 225 | |
homing_speed: 50 | |
homing_positive_dir: false | |
homing_retract_dist: 0 | |
[tmc2209 stepper_x] | |
uart_pin: v1:PB15 | |
#tx_pin: v2:PC10 | |
#uart_address: 1 | |
run_current: 0.725 # Creality stock: 0.9A | |
interpolate: False | |
stealthchop_threshold: 999999 | |
diag_pin: ^v1:PC0 | |
driver_SGTHRS: 115 # tune this once it's working. | |
##################################################################### | |
# Y Stepper Settings | |
##################################################################### | |
###### | |
# Motor -YM | |
# Endstop - Y-STOP | |
############### | |
[stepper_y] | |
step_pin: PB10 | |
dir_pin: !PB2 | |
enable_pin: !PB11 | |
rotation_distance: 40 | |
full_steps_per_rotation: 200 | |
microsteps: 32 | |
## Ucomment one of the following: | |
## Switch-based endstop for Y | |
#endstop_pin: ^PC1 | |
## Sensorless endstop for Y | |
endstop_pin: tmc2209_stepper_y:virtual_endstop | |
homing_retract_dist: 0 # Uncomment this line too | |
position_endstop: 0 | |
position_min: 0 | |
position_max: 235 | |
homing_speed: 50 | |
homing_positive_dir: false | |
[tmc2209 stepper_y] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 2 | |
run_current: 0.6 # Creality stock: 0.725A | |
interpolate: False | |
stealthchop_threshold: 999999 | |
## Uncomment if using sensorless Y homing. | |
diag_pin: ^PC1 | |
driver_SGTHRS: 110 # tune this once it's working. | |
##################################################################### | |
# Z Stepper Settings | |
##################################################################### | |
###### | |
# Motor -ZAM | |
# Endstop - Z-STOP | |
############### | |
[stepper_z] | |
step_pin: v1:PB0 | |
dir_pin: v1:PC5 | |
enable_pin: !v1:PB1 | |
rotation_distance: 40 | |
full_steps_per_rotation: 200 | |
microsteps: 32 | |
endstop_pin: probe:z_virtual_endstop | |
position_max: 150 | |
homing_speed: 25 | |
position_min: -6.0 | |
[tmc2209 stepper_z] | |
uart_pin: v1:PC10 | |
# tx_pin: v2:PC10 | |
# uart_address: 3 | |
run_current: 0.725 # Creality stock: 0.9A | |
interpolate: False | |
stealthchop_threshold: 999999 | |
##################################################################### | |
# Extruder Settings | |
##################################################################### | |
###### | |
#Motor - EM | |
############### | |
[extruder] | |
# E0_STEP_PIN PB3 | |
# E0_DIR_PIN PB4 | |
# E0_ENABLE_PIN PB1 | |
# E0_UART_RX PC11 | |
# E0_UART_TX PC10 | |
step_pin: v1:PB3 # 2n extruder: v1:PB10 # | |
dir_pin: !v1:PB4 # 2n extruder: v1:PB2 | |
enable_pin: !v1:PD2 # 2n extruder: !v1:PB11 | |
## Update value below when you perform extruder calibration | |
## If you ask for 100mm of filament, but in reality it is 98mm: | |
## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100 | |
## 22.6789511 is a good starting point | |
rotation_distance: 21.9897831339 #Bondtech 5mm Drive Gears | |
## Update Gear Ratio depending on your Extruder Type | |
## Use 50:10 for Stealthburner/Clockwork 2 | |
## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio) | |
## Use 80:20 for M4, M3.1 | |
gear_ratio: 80:20 | |
microsteps: 32 | |
full_steps_per_rotation: 200 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.75 | |
heater_pin: PC8 | |
## Validate the following thermistor type to make sure it is correct | |
## See https://www.klipper3d.org/Config_Reference.html#common-thermistors for additional options | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA0 | |
min_temp: 10 | |
max_temp: 270 | |
max_power: 1.0 | |
max_extrude_cross_section: 10 | |
min_extrude_temp:10# 170 | |
#control = pid | |
#pid_kp = 26.213 | |
#pid_ki = 1.304 | |
#pid_kd = 131.721 | |
#Set appropriate once tuning your printer | |
pressure_advance: 0.38 | |
## Default is 0.040, leave stock | |
# pressure_advance_smooth_time: 0.040 | |
max_extrude_only_distance: 320.0 | |
[tmc2209 extruder] | |
uart_pin: v1:PC11 # 2n extruder: v1:PC6 | |
# tx_pin: PC10 | |
#uart_address: 1 | |
run_current: 0.55 # Creality stock: 0.725A | |
hold_current: 0.3 | |
interpolate: False | |
[extruder_stepper extruder1] | |
extruder: extruder | |
step_pin: v1:PB10 | |
dir_pin: v1:PB2 | |
enable_pin: !v1:PB11 | |
gear_ratio: 80:20 | |
rotation_distance: 21.9830515677 #Bondtech 5mm Drive Gears | |
microsteps: 32 | |
pressure_advance: 0.38 | |
full_steps_per_rotation: 200 | |
[tmc2209 extruder_stepper extruder1] | |
uart_pin: v1:PC6 | |
# tx_pin: PC10 | |
#uart_address: 1 | |
run_current: 0.55 # Creality stock: 0.725A | |
hold_current: 0.3 | |
interpolate: False | |
##################################################################### | |
# Bed Heater | |
##################################################################### | |
###### | |
# BED Connector | |
############### | |
[heater_bed] | |
heater_pin: PC9 | |
## Validate the following thermistor type to make sure it is correct | |
## See https://www.klipper3d.org/Config_Reference.html#common-thermistors for additional options | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PC4 | |
min_temp: 0 | |
max_temp: 130 | |
#control: pid | |
#pid_kp: 58.437 | |
#pid_ki: 2.347 | |
#pid_kd: 363.769 | |
##################################################################### | |
# Probe | |
##################################################################### | |
###### | |
#Z Max Connector on Z(main) Board | |
#Inductive Probe | |
############### | |
[bltouch] | |
sensor_pin: ^PC2 | |
control_pin: PA1 | |
x_offset: 0 | |
y_offset: -23 | |
#z_offset: 1 | |
##################################################################### | |
# Fan Control | |
##################################################################### | |
###### | |
# Electronics Fan | |
# FAN1 Connector | |
############### | |
[controller_fan controller_fan] | |
pin: PC0 | |
max_power: 1.00 | |
kick_start_time: 0.25 | |
heater: heater_bed | |
cycle_time: .08 | |
###### | |
# Hot End Fan | |
# FAN2 Connector | |
############### | |
[heater_fan extruder_fan] | |
pin: PB15 | |
heater: extruder | |
heater_temp: 50.0 | |
## If you are experiencing back flow, you can reduce fan_speed | |
#fan_speed: 1.0 | |
###### | |
# Part Cooling Fan | |
# FAN0 Connector | |
############### | |
[fan] | |
pin: PC6 # "FAN0" | |
cycle_time: .09 | |
## Depending on your fan, you may need to increase this value | |
## if your fan will not start. Can change cycle_time (increase) | |
## if your fan is not able to slow down effectively | |
kick_start_time: .25 | |
##################################################################### | |
# Homing and Bed Mesh | |
##################################################################### | |
# [homing_override] | |
# axes: z | |
# set_position_z: 0 | |
# gcode: | |
# G90 | |
# G0 Z5 F1000 | |
# G28 X Y | |
# G0 X125 Y125 F12000 | |
# G28 Z0 | |
# G0 Z5 F1000 | |
[bed_mesh] | |
speed: 150 | |
horizontal_move_z: 5 | |
mesh_min: 10,-20 | |
mesh_max: 215.0,170 | |
probe_count: 5,5 | |
algorithm: bicubic | |
fade_start: 1 | |
fade_end: 10 | |
fade_target: 0 | |
horizontal_move_z: 10 | |
##################################################################### | |
# Case Lights | |
##################################################################### | |
# [output_pin LIGHTS] | |
# pin: PA8 | |
# value: 0 | |
# shutdown_value: 0 | |
[neopixel toolhead_light] | |
pin: PA8 | |
chain_count: 3 | |
color_order: GRBW | |
initial_RED: 0 | |
initial_GREEN: 0 | |
initial_BLUE: 0 | |
initial_WHITE: 0 | |
[output_pin bed_lights] | |
pin: v1:PC8 | |
pwm: True | |
hardware_pwm: True | |
cycle_time: 0.0001 | |
[neopixel underground_lights] | |
pin: v1:PC7 | |
chain_count: 17 | |
color_order: GRB | |
initial_RED: 0 | |
initial_GREEN: 0 | |
initial_BLUE: 0 | |
initial_WHITE: 0 | |
[delayed_gcode _setup_after_boot] | |
initial_duration: 1 | |
gcode: | |
LIGHT_OFF | |
BED_MESH_PROFILE LOAD=default | |
T0 | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [bltouch] | |
#*# z_offset = 4.099 | |
#*# | |
#*# [extruder] | |
#*# control = pid | |
#*# pid_kp = 29.671 | |
#*# pid_ki = 2.174 | |
#*# pid_kd = 101.251 | |
#*# | |
#*# [heater_bed] | |
#*# control = pid | |
#*# pid_kp = 69.505 | |
#*# pid_ki = 2.097 | |
#*# pid_kd = 576.025 | |
#*# | |
#*# [bed_mesh default] | |
#*# version = 1 | |
#*# points = | |
#*# 0.925000, 0.856250, 0.825000, 0.843750, 0.875000 | |
#*# 0.600000, 0.575000, 0.537500, 0.550000, 0.600000 | |
#*# 0.306250, 0.275000, 0.268750, 0.262500, 0.325000 | |
#*# 0.050000, 0.018750, 0.012500, 0.025000, 0.125000 | |
#*# -0.181250, -0.231250, -0.225000, -0.200000, -0.125000 | |
#*# x_count = 5 | |
#*# y_count = 5 | |
#*# mesh_x_pps = 2 | |
#*# mesh_y_pps = 2 | |
#*# algo = bicubic | |
#*# tension = 0.2 | |
#*# min_x = 10.0 | |
#*# max_x = 215.0 | |
#*# min_y = -20.0 | |
#*# max_y = 170.0 | |
#*# | |
#*# [bed_mesh test] | |
#*# version = 1 | |
#*# points = | |
#*# 0.0, 0.087500, 0.121875, 0.190625 | |
#*# 0.0, 0.037500, 0.109375, 0.209375 | |
#*# 0, -0.012500, 0.071875, 0.221875 | |
#*# 0, -0.056250, 0.015625, 0.178125 | |
#*# x_count = 4 | |
#*# y_count = 4 | |
#*# mesh_x_pps = 2 | |
#*# mesh_y_pps = 2 | |
#*# algo = bicubic | |
#*# tension = 0.2 | |
#*# min_x = 10.0 | |
#*# max_x = 214.99 | |
#*# min_y = -20.0 | |
#*# max_y = 169.99 | |
#*# | |
#*# [input_shaper] | |
#*# shaper_type_y = ei | |
#*# shaper_freq_y = 43.4 | |
#*# shaper_type_x = mzv | |
#*# shaper_freq_x = 49.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment