January 20, 2018
Description
Filament sensor holder for Creality CR-10 for the type of filament sensor shown.
Requires 2x M3 x 12mm screws + nuts
Update: 2 new STL files:
Connect to Raspberry Pi GPIO pins.
https://www.element14.com/community/servlet/JiveServlet/previewBody/73950-102-11-339300/pi3_gpio.png
Positive to pin 1
Sensor out to pin 7
Ground to pin 9
Install plug-in "Filament Sensor Reloaded"
Set up the plug-in as per the attached image.
{% if pause_position.x is not none %}
; relative XYZE
G91
M83
; retract filament, move Z slightly upwards
G1 E-10 F6750
G1 Z+5
; absolute XYZE
M82
G90
; move to a safe rest position, adjust as necessary
G1 X0 Y0
M18 S21600
{% endif %}
{% if pause_position.x is not none %}
; relative extruder
M83
; prime nozzle
G1 E-5 F4500
G1 E5 F4500
G1 E10 F4500
; absolute E
M82
; absolute XYZ
G90
; reset E
G92 E{{ pause_position.e }}
; move back to pause position XYZ
G1 X{{ pause_position.x }} Y{{ pause_position.y }} Z{{ pause_position.z }} F4500
; reset to feed rate before pause if available
{% if pause_position.f is not none %}G1 F{{ pause_position.f }}{% endif %}
{% endif %}
License:
Creative Commons - Attribution