Filament Sensor Mounting Clip For Cocoon Create Touch and Wanhao i3 duplicator plus Rev1.0

This is the OpenSCAD code that was used to make the above clip for holding the filament runout sensor from ebay.


Configuration that worked for me in doing filament change in octoprint

https://www.reddit.com/r/wanhaoi3/comments/gi7tqy/configuration_that_worked_for_me_in_doing/

Requirements:

Filament Reloaded Plugin Settings that worked for me:

  • Pin : 7
  • Debounce Time: 500ms
  • Switch Type: Normally Open
  • Board Pin Mode: Board Mode
  • Gcode: M600 X0 Y0
  • Pause Print is unticked

Pin 7 is relative to the raspberry pi gpio board layout

Filament Sensor Simplified Plugin Settings that worked for me:

  • Board mode : Physical/Board mode
  • Pin Number : 7
  • Sensor is connected to: Ground
  • Switch Type: Triggered When Open
  • Command To Send: M600 X0 Y0

Pin 7 is relative to the raspberry pi gpio board layout

ADVi3pp is required for M600 gcode command support for smart filament change.

Board mode is based on "raspberry pi pinout" that you can easily google yourself.

High debounce time since physical switches can be a little unreliable.

Untick pause print since the special command already does it for you.

Checking that it works

Go to http://octopi.local/plugin/filamentreload/status and check that you can see {"status":"1"} on each refresh.

Warn:

Colour code of the cheap ebay filament sensor is counter intutative. Don't assume.