Orbiter Filament Sensor 2.2 not working properly

I used this guide to install the filament sensor on my Orbiter V2: https://www.orbiterprojects.com/orbiter-filament-sensor/ I used my EBB42 1.2v for wiring the filament sensor. Namely the I2C port (https://github.com/bigtreetech/EBB). Image: Colors from top to bottom are red, blue, green and yellow.
No description
No description
24 Replies
Helge Keck
Helge Keck2y ago
please share your printer.cfg
unwilling-turquoise
unwilling-turquoiseOP2y ago
Wiring
No description
unwilling-turquoise
unwilling-turquoiseOP2y ago
Helge Keck
Helge Keck2y ago
well, and the OrbiterSensor.cfg
unwilling-turquoise
unwilling-turquoiseOP2y ago
It seems to me that the wiring is correct but I may understood the sensor functionality wrong. Meaning I will need to change line 262 into "switch_pin: !toolboard:PB3" But shouldn't the filament running out have triggered the runout anyway?
Helge Keck
Helge Keck2y ago
remnove that part again, that was from my config [filament_switch_sensor my_sensor] event_delay: 0.1 pause_on_runout: True runout_gcode: UNLOAD_FILAMENT insert_gcode: LOAD_FILAMENT switch_pin: !toolboard:PB4 i need the actual content of this file OrbiterSensor.cfg
unwilling-turquoise
unwilling-turquoiseOP2y ago
I have deleted it from my printer in the meantime.
Helge Keck
Helge Keck2y ago
omg whts this
unwilling-turquoise
unwilling-turquoiseOP2y ago
That's what I thought lol Your approach works partly and there can't be missing much. I try now the switch_pin change, maybe it was already the issue
Helge Keck
Helge Keck2y ago
one sec i make a new file for you [filament_switch_sensor filament_sensor] event_delay: 0.1 pause_on_runout: True runout_gcode: UNLOAD_FILAMENT insert_gcode: LOAD_FILAMENT switch_pin: ^!toolboard:PB4 [gcode_button sensor_button] pin: ^PC7 press_gcode: UNLOAD_FILAMENT this is all you need make sure to use the correct pin numbers the button works as a eject button, to unload filament if you enter new filament it gets automatically loaded if a runout happnes it gets unloaded make sure to always use a ^ sign in front of the pins
unwilling-turquoise
unwilling-turquoiseOP2y ago
Ok I will try. What does "switch_pin" do?
Helge Keck
Helge Keck2y ago
the switch pin is the actual filament sensor pin
unwilling-turquoise
unwilling-turquoiseOP2y ago
I have it like this now (PB4 is definitely to unload): [filament_switch_sensor filament_sensor] event_delay: 0.1 pause_on_runout: True runout_gcode: UNLOAD_FILAMENT insert_gcode: LOAD_FILAMENT switchpin: !toolboard:PB4 (to be changed__) [gcode_button sensor_button] pin: ^!toolboard:PB4 press_gcode: UNLOAD_FILAMENT Ok then it's final form is this: [filament_switch_sensor filament_sensor] event_delay: 0.1 pause_on_runout: True runout_gcode: UNLOAD_FILAMENT insert_gcode: LOAD_FILAMENT switchpin: ^!toolboard:PB3 [gcode_button sensor_button] pin: ^!toolboard:PB4 press_gcode: UNLOAD_FILAMENT
Helge Keck
Helge Keck2y ago
you may need to invert the pin: ^!toolboard:PB4 to pin: ^toolboard:PB4 depending on how you have it connected
unwilling-turquoise
unwilling-turquoiseOP2y ago
Connected like on the Orbiter page advised
No description
Helge Keck
Helge Keck2y ago
trust me, you want ^
unwilling-turquoise
unwilling-turquoiseOP2y ago
I have. What does it do? lol
Helge Keck
Helge Keck2y ago
thats a resistor like a pullup/pulldown resistor
unwilling-turquoise
unwilling-turquoiseOP2y ago
Ok, did not know that. Will have to read up on that!
Helge Keck
Helge Keck2y ago
it makes sure you dont get false alerts
unwilling-turquoise
unwilling-turquoiseOP2y ago
It's working. Why the hell do they have 100s lines of code in the Orbiter sensor.cfg ^^
Helge Keck
Helge Keck2y ago
thats the magic of RatOS
conscious-sapphire
conscious-sapphire2y ago
@maxmueller89 when you runout of filament or unload it manually, does the extruder try to unload it 2 times? i have the same thing and its happening to me
unwilling-turquoise
unwilling-turquoiseOP2y ago
@pmelim as you mention it right now, yes I got the same result lol
I didn‘t have time to look into it as it was not removing any functionality .. I assume it comes from this: filament runs out, sensor triggers, filament is below sensor, filament gets retracted, sensor triggers again (!) and this causes the 2nd unload. May I be correct Mr. @Helge Keck? 😁

Did you find this page helpful?