New Backup on boot - 07/05/2025 - 09:40:44 PM
This commit is contained in:
commit
0df38ebd26
5 changed files with 542 additions and 0 deletions
62
printer_data/config/moonraker.conf
Normal file
62
printer_data/config/moonraker.conf
Normal file
|
@ -0,0 +1,62 @@
|
|||
[server]
|
||||
host: 0.0.0.0
|
||||
port: 7125
|
||||
klippy_uds_address: /home/macocha/printer_data/comms/klippy.sock
|
||||
|
||||
[authorization]
|
||||
trusted_clients:
|
||||
192.168.0.0/16
|
||||
cors_domains:
|
||||
*.lan
|
||||
*.local
|
||||
*://localhost
|
||||
*://localhost:*
|
||||
*://my.mainsail.xyz
|
||||
*://app.fluidd.xyz
|
||||
|
||||
[octoprint_compat]
|
||||
|
||||
[history]
|
||||
|
||||
[update_manager]
|
||||
channel: dev
|
||||
refresh_interval: 168
|
||||
|
||||
[update_manager mainsail]
|
||||
path: /home/macocha/mainsail
|
||||
repo: mainsail-crew/mainsail
|
||||
channel: stable
|
||||
type: web
|
||||
|
||||
[update_manager mainsail-config]
|
||||
managed_services: klipper
|
||||
origin: https://github.com/mainsail-crew/mainsail-config.git
|
||||
path: /home/macocha/mainsail-config
|
||||
primary_branch: master
|
||||
type: git_repo
|
||||
|
||||
[update_manager klipper_tmc_autotune]
|
||||
type: git_repo
|
||||
channel: dev
|
||||
path: /home/macocha/klipper_tmc_autotune
|
||||
origin: https://github.com/andrewmcgr/klipper_tmc_autotune.git
|
||||
managed_services: klipper
|
||||
primary_branch: main
|
||||
install_script: install.sh
|
||||
|
||||
## Klippain Shake&Tune automatic update management
|
||||
[update_manager Klippain-ShakeTune]
|
||||
type: git_repo
|
||||
origin: https://github.com/Frix-x/klippain-shaketune.git
|
||||
path: ~/klippain_shaketune
|
||||
virtualenv: /home/macocha/klippy-env
|
||||
requirements: requirements.txt
|
||||
system_dependencies: system-dependencies.json
|
||||
primary_branch: main
|
||||
managed_services: klipper
|
||||
[update_manager klipper-backup]
|
||||
type: git_repo
|
||||
path: ~/klipper-backup
|
||||
origin: https://github.com/Staubgeborener/klipper-backup.git
|
||||
managed_services: moonraker
|
||||
primary_branch: main
|
467
printer_data/config/printer.cfg
Normal file
467
printer_data/config/printer.cfg
Normal file
|
@ -0,0 +1,467 @@
|
|||
[include mainsail.cfg]
|
||||
|
||||
[virtual_sdcard]
|
||||
path: /home/macocha/printer_data/gcodes
|
||||
on_error_gcode: CANCEL_PRINT
|
||||
|
||||
[exclude_object]
|
||||
|
||||
[mcu]
|
||||
canbus_uuid: 5079b671fcdd
|
||||
|
||||
[printer]
|
||||
kinematics: corexy
|
||||
max_velocity: 300
|
||||
max_accel: 3000 #Max 4000
|
||||
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
|
||||
max_z_accel: 350
|
||||
square_corner_velocity: 5.0
|
||||
|
||||
[temperature_sensor MCU]
|
||||
sensor_type: temperature_mcu
|
||||
|
||||
[temperature_sensor SoC]
|
||||
sensor_type: temperature_host
|
||||
|
||||
#####################################################################
|
||||
# X/Y Stepper Settings
|
||||
#####################################################################
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PE6
|
||||
dir_pin: PE5
|
||||
enable_pin: !PC14
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
full_steps_per_rotation:200
|
||||
endstop_pin: ^EBBCan:gpio24
|
||||
position_min: 0
|
||||
position_endstop: 350
|
||||
position_max: 350
|
||||
homing_speed: 25 #Max 100
|
||||
homing_retract_dist: 5
|
||||
homing_positive_dir: true
|
||||
|
||||
[tmc2209 stepper_x]
|
||||
uart_pin: PC13
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PE2
|
||||
dir_pin: PE1
|
||||
enable_pin: !PE4
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PF3
|
||||
full_steps_per_rotation:200
|
||||
position_min: 0
|
||||
position_endstop: 350
|
||||
position_max: 350
|
||||
homing_speed: 25 #Max 100
|
||||
homing_retract_dist: 5
|
||||
homing_positive_dir: true
|
||||
|
||||
[tmc2209 stepper_y]
|
||||
uart_pin: PE3
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
#####################################################################
|
||||
# Z Stepper Settings
|
||||
#####################################################################
|
||||
|
||||
## Z0 Stepper - Front Left on MOTOR3_A
|
||||
[stepper_z]
|
||||
step_pin: PB8
|
||||
dir_pin: PB7
|
||||
enable_pin: !PE0
|
||||
rotation_distance: 40
|
||||
gear_ratio: 80:16
|
||||
microsteps: 16
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
position_max: 340
|
||||
position_min: -5
|
||||
homing_speed: 8
|
||||
second_homing_speed: 3
|
||||
homing_retract_dist: 3
|
||||
|
||||
[tmc2209 stepper_z]
|
||||
uart_pin: PB9
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
[stepper_z1]
|
||||
step_pin: PG13
|
||||
dir_pin: !PG12
|
||||
enable_pin: !PG15
|
||||
rotation_distance: 40
|
||||
gear_ratio: 80:16
|
||||
microsteps: 16
|
||||
|
||||
[tmc2209 stepper_z1]
|
||||
uart_pin: PG14
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
[stepper_z2]
|
||||
step_pin: PG9
|
||||
dir_pin: PD7
|
||||
enable_pin: !PG11
|
||||
rotation_distance: 40
|
||||
gear_ratio: 80:16
|
||||
microsteps: 16
|
||||
|
||||
[tmc2209 stepper_z2]
|
||||
uart_pin: PG10
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
[stepper_z3]
|
||||
step_pin: PD4
|
||||
dir_pin: !PD3
|
||||
enable_pin: !PD6
|
||||
rotation_distance: 40
|
||||
gear_ratio: 80:16
|
||||
microsteps: 16
|
||||
|
||||
[tmc2209 stepper_z3]
|
||||
uart_pin: PD5
|
||||
interpolate: true
|
||||
run_current: 0.8
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
|
||||
# Steppers Autotune
|
||||
[autotune_tmc stepper_x]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
[autotune_tmc stepper_y]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
|
||||
[autotune_tmc stepper_z]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
[autotune_tmc stepper_z1]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
[autotune_tmc stepper_z2]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
[autotune_tmc stepper_z3]
|
||||
motor: moons-ms17hd6p420I-05
|
||||
|
||||
[autotune_tmc extruder]
|
||||
motor: moons-cse14hra1l410a
|
||||
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Bed Heater
|
||||
#####################################################################
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PA1
|
||||
sensor_type: Generic 3950
|
||||
sensor_pin: PB1
|
||||
max_power: 1.0
|
||||
min_temp: 0
|
||||
max_temp: 120
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Toolhead
|
||||
#####################################################################
|
||||
[mcu EBBCan]
|
||||
canbus_uuid: 92dc26a3e9fc
|
||||
|
||||
[temperature_sensor EBB_NTC]
|
||||
sensor_type: Generic 3950
|
||||
sensor_pin: EBBCan:gpio28
|
||||
|
||||
[adxl345]
|
||||
cs_pin: EBBCan:gpio1
|
||||
spi_software_sclk_pin: EBBCan:gpio2
|
||||
spi_software_mosi_pin: EBBCan:gpio0
|
||||
spi_software_miso_pin: EBBCan:gpio3
|
||||
axes_map: z,-y,x
|
||||
|
||||
[resonance_tester]
|
||||
probe_points: 100, 100, 20
|
||||
accel_chip: adxl345
|
||||
|
||||
[neopixel hotend_rgb]
|
||||
pin: EBBCan:gpio16
|
||||
chain_count: 3
|
||||
color_order: GRBW
|
||||
|
||||
[probe]
|
||||
pin: ^EBBCan:gpio22
|
||||
x_offset: 0
|
||||
y_offset: 0
|
||||
activate_gcode:
|
||||
{% set PROBE_TEMP = 150 %}
|
||||
{% set MAX_TEMP = PROBE_TEMP + 5 %}
|
||||
{% set ACTUAL_TEMP = printer.extruder.temperature %}
|
||||
{% set TARGET_TEMP = printer.extruder.target %}
|
||||
|
||||
{% if TARGET_TEMP > PROBE_TEMP %}
|
||||
{ action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
|
||||
M109 S{ PROBE_TEMP }
|
||||
{% else %}
|
||||
# Temperature target is already low enough, but nozzle may still be too hot.
|
||||
{% if ACTUAL_TEMP > MAX_TEMP %}
|
||||
{ action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
|
||||
TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
# z_offset: 0
|
||||
speed: 10.0
|
||||
samples: 3
|
||||
samples_result: median
|
||||
sample_retract_dist: 3.0
|
||||
samples_tolerance: 0.006
|
||||
samples_tolerance_retries: 3
|
||||
|
||||
|
||||
|
||||
# #####################################################################
|
||||
# # Extruder
|
||||
# #####################################################################
|
||||
[extruder]
|
||||
step_pin: EBBCan:gpio18
|
||||
dir_pin: EBBCan:gpio19
|
||||
enable_pin: !EBBCan:gpio17
|
||||
rotation_distance: 22.6789511
|
||||
gear_ratio: 50:10
|
||||
microsteps: 16
|
||||
full_steps_per_rotation: 200
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.75
|
||||
heater_pin: EBBCan:gpio7
|
||||
max_power: 1.0
|
||||
min_extrude_temp: 170
|
||||
pressure_advance: 0.05
|
||||
pressure_advance_smooth_time: 0.040
|
||||
max_extrude_only_distance: 101 # for calibration
|
||||
|
||||
min_temp: 10
|
||||
max_temp: 270
|
||||
sensor_type: MAX31865
|
||||
sensor_pin: EBBCan:gpio9
|
||||
spi_software_sclk_pin: EBBCan:gpio10
|
||||
spi_software_mosi_pin: EBBCan:gpio8
|
||||
spi_software_miso_pin: EBBCan:gpio11
|
||||
rtd_nominal_r: 100
|
||||
rtd_reference_r: 430
|
||||
rtd_num_of_wires: 2
|
||||
|
||||
[tmc2209 extruder]
|
||||
uart_pin: EBBCan:gpio20
|
||||
interpolate: true
|
||||
run_current: 0.5
|
||||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Fan Control
|
||||
#####################################################################
|
||||
|
||||
# [fan]
|
||||
# ## Print Cooling Fan - CNC_FAN0
|
||||
# pin: PF7
|
||||
# kick_start_time: 0.5
|
||||
# ## 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
|
||||
# off_below: 0.10
|
||||
|
||||
[fan]
|
||||
pin: EBBCan:gpio13
|
||||
|
||||
[heater_fan hotend_fan]
|
||||
pin: EBBCan:gpio15
|
||||
tachometer_pin: EBBCan:gpio12
|
||||
heater: extruder
|
||||
heater_temp: 50.0
|
||||
|
||||
[controller_fan electronics_fan]
|
||||
pin: PA6
|
||||
tachometer_pin: PC2
|
||||
heater:
|
||||
stepper: stepper_x,stepper_y,stepper_z,stepper_z1,stepper_z2,stepper_z3
|
||||
|
||||
#[heater_fan exhaust_fan]
|
||||
## Exhaust fan - CNC_FAN3
|
||||
#pin: PF8
|
||||
#max_power: 1.0
|
||||
#shutdown_speed: 0.0
|
||||
#kick_start_time: 5.0
|
||||
#heater: heater_bed
|
||||
#heater_temp: 60
|
||||
#fan_speed: 1.0
|
||||
|
||||
#####################################################################
|
||||
# LED Control
|
||||
#####################################################################
|
||||
|
||||
#[output_pin caselight]
|
||||
# Chamber Lighting - HE2 Connector (Optional)
|
||||
#pin: PA3
|
||||
#pwm:true
|
||||
#shutdown_value: 0
|
||||
#value:1
|
||||
#cycle_time: 0.01
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Homing and Gantry Adjustment Routines
|
||||
#####################################################################
|
||||
|
||||
[idle_timeout]
|
||||
timeout: 1800
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position:175,175
|
||||
speed:100
|
||||
z_hop:10
|
||||
|
||||
[quad_gantry_level]
|
||||
gantry_corners:
|
||||
-60,-10
|
||||
410,420
|
||||
points:
|
||||
50,25
|
||||
50,275
|
||||
300,275
|
||||
300,25
|
||||
speed: 100
|
||||
horizontal_move_z: 10
|
||||
retries: 5
|
||||
retry_tolerance: 0.0075
|
||||
max_adjust: 10
|
||||
|
||||
[board_pins]
|
||||
aliases:
|
||||
# EXP1 header
|
||||
EXP1_1=PE7, EXP1_2=PG1,
|
||||
EXP1_3=PG0, EXP1_4=PF15,
|
||||
EXP1_5=PF14, EXP1_6=PF13, # Slot in the socket on this side
|
||||
EXP1_7=PF12, EXP1_8=PF11,
|
||||
EXP1_9=<GND>, EXP1_10=<5V>,
|
||||
|
||||
# EXP2 header
|
||||
EXP2_1=PE13, EXP2_2=PE12,
|
||||
EXP2_3=PE15, EXP2_4=PE11,
|
||||
EXP2_5=PE10, EXP2_6=PE14, # Slot in the socket on this side
|
||||
EXP2_7=PE8, EXP2_8=<RST>,
|
||||
EXP2_9=<GND>, EXP2_10=<NC>
|
||||
|
||||
[bed_mesh]
|
||||
speed: 300
|
||||
horizontal_move_z: 10
|
||||
mesh_min: 40, 40
|
||||
mesh_max: 310,310
|
||||
fade_start: 0.6
|
||||
fade_end: 10.0
|
||||
probe_count: 5,5
|
||||
algorithm: bicubic
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Macros
|
||||
#####################################################################
|
||||
|
||||
[gcode_macro G32]
|
||||
gcode:
|
||||
BED_MESH_CLEAR
|
||||
G28
|
||||
QUAD_GANTRY_LEVEL
|
||||
G28
|
||||
G0 X175 Y175 Z30 F3600
|
||||
|
||||
[gcode_macro PRINT_START]
|
||||
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
|
||||
gcode:
|
||||
{% set bedtemp = params.BED|int %}
|
||||
{% set extrudertemp = params.EXTRUDER|int %}
|
||||
|
||||
STATUS_HEATING
|
||||
M109 S140
|
||||
|
||||
STATUS_HEATING
|
||||
M190 S{bedtemp}
|
||||
|
||||
STATUS_HOMING
|
||||
G32 ; home all axes
|
||||
G1 Z20 F3000 ; move nozzle away from bed
|
||||
|
||||
STATUS_HEATING
|
||||
M109 S{extrudertemp}
|
||||
|
||||
|
||||
[gcode_macro PRINT_END]
|
||||
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
|
||||
gcode:
|
||||
SAVE_GCODE_STATE NAME=STATE_PRINT_END
|
||||
|
||||
M400 ; wait for buffer to clear
|
||||
G92 E0 ; zero the extruder
|
||||
G1 E-10.0 F3600 ; retract filament
|
||||
|
||||
G91 ; relative positioning
|
||||
G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing
|
||||
TURN_OFF_HEATERS
|
||||
M107 ; turn off fan
|
||||
G1 Z2 F3000 ; move nozzle up 2mm
|
||||
G90 ; absolute positioning
|
||||
G0 X125 Y250 F3600 ; park nozzle at rear
|
||||
BED_MESH_CLEAR
|
||||
|
||||
# The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
|
||||
# command pair is to restore the printer's coordinate system
|
||||
# and speed settings since the commands above change them.
|
||||
# However, to prevent any accidental, unintentional toolhead
|
||||
# moves when restoring the state, explicitly set MOVE=0.
|
||||
RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0
|
||||
|
||||
# SHAKE TUNE CFG
|
||||
[shaketune]
|
||||
result_folder: ~/shaketune_results
|
||||
show_macros_in_webui: false
|
||||
|
||||
[input_shaper]
|
||||
shaper_freq_x: 44.6
|
||||
shaper_type_x: mzv
|
||||
damping_ratio_x: 0.051
|
||||
shaper_freq_y: 34.8
|
||||
shaper_type_y: mzv
|
||||
damping_ratio_y: 0.066
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [heater_bed]
|
||||
#*# control = pid
|
||||
#*# pid_kp = 56.947
|
||||
#*# pid_ki = 2.287
|
||||
#*# pid_kd = 354.497
|
||||
#*#
|
||||
#*# [extruder]
|
||||
#*# control = pid
|
||||
#*# pid_kp = 20.003
|
||||
#*# pid_ki = 1.102
|
||||
#*# pid_kd = 90.759
|
||||
#*#
|
||||
#*# [probe]
|
||||
#*# z_offset = -1.475
|
0
printer_data/config/toolhead.cfg
Normal file
0
printer_data/config/toolhead.cfg
Normal file
Loading…
Add table
Add a link
Reference in a new issue