BOM:
-Smart filament sensor BTT upgraded version
-2x screw M3x10
-7x M3 Heat Inserts Nut Heat (same in original )
after print carefuly cut the X
UPDATE: config:
now add Gcode command for turn ON/OFF by: “SENSOR_ON” or “SENSOR_OFF”
config :
[filament_motion_sensor encoder_sensor]
detection_length: 7
# The minimum length of filament pulled through the sensor to trigger
# a state change on the switch_pin
# Default is 7 mm.
extruder: extruder
# The name of the extruder section this sensor is associated with.
# This parameter must be provided.
switch_pin: PG11
pause_on_runout: True
runout_gcode:
PARK_MACRO
M117 Out of Filament
insert_gcode:
M117 Resuming
RESUME_MACRO
# status QUERY_FILAMENT_SENSOR SENSOR=encoder_sensor
# off SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=0
# on SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=1
[gcode_macro SENSOR_ON]
gcode:
SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=1
M117 Sensor ON
[gcode_macro SENSOR_OFF]
gcode:
SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=0
M117 Sensor OFF
#insert_gcode:
# A list of G-Code commands to execute after a filament insert is
# detected. See docs/Command_Templates.md for G-Code format. The
# default is not to run any G-Code commands, which disables insert
# detection.
#event_delay: 3.0
# 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.
#pause_delay: 0.5
# 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.
[gcode_macro RESUME_MACRO]
gcode:
SET_IDLE_TIMEOUT TIMEOUT=600
RESUME
RESPOND TYPE=command MSG=action:resumed
[gcode_macro PARK_MACRO]
gcode:
SAVE_GCODE_STATE NAME=PARK_MACRO_state
G91 ; relative positioning
G1 E-2 F1000 ; retract filament
G1 Z10 ; lift z slightly
G90 ; absolute positioning
G1 X20 Y10 F3000 ; park the head
G91
G1 Z50 F3000
RESTORE_GCODE_STATE name=PARK_MACRO_state
The author hasn't provided the model origin yet.