From a6e4c1e3085034cb3d2b0a657e35596a8b08e322 Mon Sep 17 00:00:00 2001 From: willem Date: Thu, 17 Nov 2022 20:53:55 +0100 Subject: [PATCH] added fan +bed level --- UM2_v2.1.cfg | 4 +- bigtreetech-ebb-canbus-v1.2.cfg | 4 +- moonraker.conf | 2 +- printer-20221117_192818.cfg | 77 +++++++++++++++++++++++++++++++++ printer.cfg | 25 ++++++++++- 5 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 printer-20221117_192818.cfg diff --git a/UM2_v2.1.cfg b/UM2_v2.1.cfg index 6b1c5f4..cc09ff9 100644 --- a/UM2_v2.1.cfg +++ b/UM2_v2.1.cfg @@ -13,8 +13,8 @@ max_temp: 110 [verify_heater heater_bed] check_gain_time: 80 -[fan] -pin: PH4 +#[fan] +#pin: PH4 #[heater_fan Heater_fan] #pin: PJ6 diff --git a/bigtreetech-ebb-canbus-v1.2.cfg b/bigtreetech-ebb-canbus-v1.2.cfg index 9ed7209..7f6ebfd 100644 --- a/bigtreetech-ebb-canbus-v1.2.cfg +++ b/bigtreetech-ebb-canbus-v1.2.cfg @@ -47,8 +47,8 @@ rtd_num_of_wires: 2 # run_current: 0.650 # stealthchop_threshold: 999999 -# [fan] -# pin: EBBCan: PA0 +[fan] + pin: EBBCan: PA0 [heater_fan hotend_fan] pin: EBBCan: PA1 diff --git a/moonraker.conf b/moonraker.conf index 6ecbdcd..09cf6bd 100644 --- a/moonraker.conf +++ b/moonraker.conf @@ -6,7 +6,7 @@ port: 7125 max_upload_size: 1024 [file_manager] -config_path: ~/klipper_config +#config_path: ~/klipper_config #log_path: ~/klipper_logs # post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False enable_object_processing: False diff --git a/printer-20221117_192818.cfg b/printer-20221117_192818.cfg new file mode 100644 index 0000000..85b6cd5 --- /dev/null +++ b/printer-20221117_192818.cfg @@ -0,0 +1,77 @@ +# This file contains common pin mappings for Ultimaker UltiMainboard v2 +# boards. To use this config, the firmware should be compiled for the +# AVR atmega2560. + +# See docs/Config_Reference.md for a description of parameters. + +[include macros.cfg] + +[mcu] +serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8543034383735181D1B1-if00 + +[include UM2_v2.1.cfg] +[include bigtreetech-ebb-canbus-v1.2.cfg] + +[printer] +kinematics: cartesian +max_velocity: 500 +max_accel: 3000 +max_z_velocity: 25 +max_z_accel: 30 + + +# [safe_z_home] +# home_xy_position: 100, 100 # Change coordinates to the center of your print bed +# speed: 50 +# z_hop: 10 # Move up 10mm +# z_hop_speed: 5 + +[bed_screws] +screw1: 120, 185 +screw1_name: "rear mid screw" +screw2: 20 ,20 +screw2_name: "front left screw" +screw3: 220, 20 +screw3_name: "front right screw" +horizontal_move_z: 5 + +[bed_mesh] +speed: 120 +horizontal_move_z: 5 +mesh_min: 15, 50 +mesh_max: 190, 200 +probe_count: 5, 3 + +[filament_motion_sensor runout] +# The minimum length of filament pulled through the sensor to trigger +# a state change on the switch_pin +# Default is 7 mm. +detection_length: 14.0 +extruder: extruder +pause_on_runout: FALSE +runout_gcode: + {action_respond_info("RUNOUT: Filament runout")} + PAUSE +insert_gcode: {action_respond_info("RUNOUT: Filament inserted")} +# The minimum amount of time in seconds to delay between events. +# Events triggered during this time period will be silently +# ignored. The default is 3 seconds. +#event_delay: 3.0 +# The amount of time to delay, in seconds, between the pause command +# dispatch and execution of the runout_gcode. It may be useful to +# increase this delay if OctoPrint exhibits strange pause behavior. +# Default is 0.5 seconds. +#pause_delay: 0.5 +## XYE mcu E0DET +switch_pin: ^!PB7 + + +[include mainsail.cfg] + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [stepper_z] +#*# position_endstop = 207.280 +#*# +#*# [extruder] diff --git a/printer.cfg b/printer.cfg index ef6d9d9..52027b1 100644 --- a/printer.cfg +++ b/printer.cfg @@ -10,6 +10,7 @@ serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8543034383735181D1B1-if00 [include UM2_v2.1.cfg] +[include bigtreetech-ebb-canbus-v1.2.cfg] [printer] kinematics: cartesian @@ -34,7 +35,12 @@ screw3: 220, 20 screw3_name: "front right screw" horizontal_move_z: 5 -[include bigtreetech-ebb-canbus-v1.2.cfg] +[bed_mesh] +speed: 120 +horizontal_move_z: 5 +mesh_min: 15, 50 +mesh_max: 190, 200 +probe_count: 5, 3 [filament_motion_sensor runout] # The minimum length of filament pulled through the sensor to trigger @@ -69,3 +75,20 @@ switch_pin: ^!PB7 #*# position_endstop = 207.280 #*# #*# [extruder] +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.725000, 0.715000, 0.660000, 0.610000, 0.570000 +#*# 0.660000, 0.650000, 0.600000, 0.575000, 0.485000 +#*# 0.695000, 0.650000, 0.605000, 0.585000, 0.495000 +#*# x_count = 5 +#*# y_count = 3 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = lagrange +#*# tension = 0.2 +#*# min_x = 15.0 +#*# max_x = 190.0 +#*# min_y = 50.0 +#*# max_y = 200.0