Filament runout detection
prusaprinters
<p>Finally got around to build something to deal with running out of filament when printing from Octoprint (not direct from SD card) on my Ender 3 Pro.</p> <p>I created this bracket to use with the following switches: https://www.amazon.com/gp/product/B00MFRMFS6/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1</p> <p>I connected the two outer most connections to my raspberry pi as you can see in the pickture.</p> <p>The housing for the pi is: https://www.amazon.com/gp/product/B081N3V6BH/ref=ppx_yo_dt_b_asin_image_o06_s01?ie=UTF8&psc=1</p> <p>Connect it to physical pins of the pi (4B) as shown in the picture.</p> <p>The wire guide STL is a nice to have if you want to guide the wire to the side of the frame.</p> <p>I use the filament sensor reloaded plugin for Octoprint and have included a screenshot for the settings for the plugin.</p> <p>You will also have to tell Octoprint what to do when a print is paused (for you to change filament):</p> <p>{% if pause_position.x is not none %}</p> <p>; relative XYZE</p> <p>G91</p> <p>M83</p> <p>; Lower extruder temp</p> <p>M104 180</p> <p>; retract filament, move Z slightly upwards</p> <p>G1 Z+5 E-5 F4500</p> <p>; absolute XYZE</p> <p>M82</p> <p>G90</p> <p>; move to a safe rest position</p> <p>(use X0 and Y0 depending on your printer)</p> <p>G1 X220 Y220</p> <p>{% endif %}</p> <p>And what to do when resuming a print:</p> <p>{% if pause_position.x is not none %}</p> <p>; relative extruder</p> <p>M83</p> <p>; prime nozzle</p> <p>G1 E-5 F4500</p> <p>G1 E5 F4500</p> <p>G1 E5 F4500</p> <p>; absolute E</p> <p>M82</p> <p>; absolute XYZ</p> <p>G90</p> <p>; reset E</p> <p>G92 E{{ pause_position.e }}</p> <p>; move back to pause position XYZ</p> <p>G1 X{{ pause_position.x }} Y{{ pause_position.y }} Z{{ pause_position.z }} F4500</p> <p>; reset to feed rate before pause if available</p> <p>{% if pause_position.f is not none %}G1 F{{ pause_position.f }}{% endif %}</p> <p>{% endif %}</p> <p>You configure these settings in the GCODE Scripts section of the Octoprint settings.</p> <p>It all works like a charm as can be seen from the example picture where I switch from black to grey filament. Seamless.</p> <h3>Print Settings</h3> <p><strong>Printer Brand:</strong></p> <p>Creality</p> <p class="detail-setting printer"><strong>Printer: </strong> <div><p>Ender 3 Pro</p></div> <p><strong>Rafts:</strong></p> <p>No</p> <p class="detail-setting supports"><strong>Supports: </strong> <div><p>Doesn't Matter</p></div> <p><strong>Resolution:</strong></p> <p>0.2</p> <p class="detail-setting infill"><strong>Infill: </strong> <div><p>25%</p></div> <p><strong>Filament:</strong> eSun PLA+ Black</p> <p><br/> <p class="detail-setting notes"><strong>Notes: </strong></p> </p><div><p>I did not us supports, but if you do, make sure to use only from build plate.<br/> Nozzle Temp: 210 Celsius <p>Bed Temp: 55 Celsius</p> <h3>How I Designed This</h3> <p>The holder for the switch is a remix. I added the bracket in order to attach the sensor to the upper frame, straight underneath the filament spool.</p> </p></div></p></p></p> Category: 3D Printing
With this file you will be able to print Filament runout detection with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Filament runout detection.