Fix issues with various bits related to the mainboard

- Chamber thermistor was set to use a 2.2k resistor. Should have been 4.7k
- Speed for homing increased to 600 mm/s
- Removed macros and moved them to macros/
This commit is contained in:
Frederik Hertzum 2024-10-16 11:17:16 +02:00
parent 572043fa98
commit 62bcfea47a
4 changed files with 44 additions and 56 deletions

View File

@ -10,7 +10,7 @@ sensor_pin: PB0
min_temp: 0 min_temp: 0
max_temp: 100 max_temp: 100
gcode_id: chamber gcode_id: chamber
pullup_resistor: 2200 pullup_resistor: 4700
##################################################################### #####################################################################
# Bed Heater # Bed Heater
@ -40,7 +40,7 @@ pid_kd: 431.393
##################################################################### #####################################################################
[multi_pin ebay_fans_pin] [multi_pin ebay_fans_pin]
pins: PF7, PF9, PF6, PF8 pins: PF7, PF8
[temperature_fan ebay_fans] [temperature_fan ebay_fans]
# Print Cooling Fan - CNC_FAN0 # Print Cooling Fan - CNC_FAN0
@ -55,6 +55,10 @@ target_temp: 50
max_power: 0.5 max_power: 0.5
shutdown_speed: 0 shutdown_speed: 0
[fan_generic exhaust]
pin: PF9
hardware_pwm: false
##################################################################### #####################################################################
# Homing and Gantry Adjustment Routines # Homing and Gantry Adjustment Routines
##################################################################### #####################################################################
@ -64,7 +68,7 @@ timeout: 1800
[safe_z_home] [safe_z_home]
home_xy_position:175,175 home_xy_position:175,175
speed:200 speed:600
z_hop:10 z_hop:10
[quad_gantry_level] [quad_gantry_level]
@ -78,10 +82,8 @@ points:
50,275 50,275
300,275 300,275
300,25 300,25
speed: 100
#-------------------------------------------------------------------- horizontal_move_z: 5
speed: 600
horizontal_move_z: 10
retries: 5 retries: 5
retry_tolerance: 0.025 retry_tolerance: 0.025
max_adjust: 10 max_adjust: 10
@ -101,51 +103,3 @@ aliases:
EXP2_5=PE10, EXP2_6=PE14, # Slot in the socket on this side EXP2_5=PE10, EXP2_6=PE14, # Slot in the socket on this side
EXP2_7=PE8, EXP2_8=<RST>, EXP2_7=PE8, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<NC> EXP2_9=<GND>, EXP2_10=<NC>
#####################################################################
# Macros
#####################################################################
[gcode_macro G32]
gcode:
BED_MESH_CLEAR
G28
QUAD_GANTRY_LEVEL
G28
## Uncomment for for your size printer:
#--------------------------------------------------------------------
## Uncomment for 250mm build
#G0 X125 Y125 Z30 F3600
## Uncomment for 300 build
#G0 X150 Y150 Z30 F3600
## Uncomment for 350mm build
#G0 X175 Y175 Z30 F3600
#--------------------------------------------------------------------
[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

8
macros/g32.cfg Normal file
View File

@ -0,0 +1,8 @@
[gcode_macro G32]
gcode:
BED_MESH_CLEAR
G28
QUAD_GANTRY_LEVEL
G28
G0 X175 Y175 Z30 F3600

View File

@ -1,4 +1,6 @@
[include buzz.cfg] [include buzz.cfg]
[include sensorless-homing.cfg] [include sensorless-homing.cfg]
[include print-start.cfg] [include print-start.cfg]
[include print-end.cfg]
# [include sb-leds.cfg] # [include sb-leds.cfg]
[include g32.cfg]

24
macros/print-end.cfg Normal file
View File

@ -0,0 +1,24 @@
[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 Z5 F3000 ; move nozzle up 5mm
G90 ; absolute positioning
G0 X175 Y350 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