Orbitor filament sensor
Having issues with my filament sensor unloading before print even with clog set to false
123 Replies
post your current filament sensor config, maybe even a picture with the mainboard connections if you can
mainboard? would it not be the toolboard
Hm, let's step back a bit
which filament sensor do you have?
orbitor v2
yes
Ok, this one does not have clog detection, that is why I was confused as clog detection is on the BTT Smart Filament Sensor v2
Delete the ! from here
What color is the ring on the sensor? Also, could you post a printscreen from Mainsail with the sensor? Like this
ring shows green
The tangle detection might be what causes the issue, I've seen people complain about it being to sensitive
Ok so yours says it is empty
yep
can you pull the filament out and see what it says?
people say thats what the clog detection is on this one
give me a minute
have to go to garage
did this
Not really, clog detection needs to have a rotary encoder to detect when the filament is not moving, meaning the hotend is clogged
Tangle detection detects when the extruder can no longer pull filament from the spool, the extruder pulls on the filament which pulls on the PTFE tube which activates the tangle switch
You can test this by manually putting and pushing on the PTFE tube coming out of the extruder, it should move that rings that lights up
Hm, still empty
It is empty
That is accurate
Try inserting?
The first photo from Mainsail, did it have filament in it?
Yeah, insert and it should turn to detected and green, not empty
Yes we'll post print I did t unload
Gone green still showing empty
O wait
A macro just ran
So it's a wiring issue and/or wrong pin selected in the config
Detected now
really?
Flashing yellow
Yellow blinking - filament tangle
Try to unload again and pull on the filament, is it hard to do?
As in use the macro?
Which ever method you want
I suspect that the filament path has to many bends in it, causes a lot of drag which activates the tangle detection and the reason your print stops after it starts
Comes out fine
As expected
How do I turn that off
Checking
[gcode_macro RatOS]
variable_enable_clog_detection: False
Add this to your config and let's see if it works
Already have thag
That
You have for T0, this is for RatOS
Just straightened my filament path
Maybe even try pulling a bit on the ring that lights up, it might be stuck down
Is that not the same
Apparently not
So just tried inserting Extruder is retracting not loading
Do I need that.! Back?
That is weird, yeah, try to put it back
Nope
12:17
Filament unloaded! Please inspect the tip of the filament before reloading.
12:17
RatOS | TEMPERATURE_WAIT: Temperature for toolhead T0 reached.
12:17
RatOS: please wait...
12:17
RatOS | TEMPERATURE_WAIT: Waiting for sensor: extruder, MINIMUM: 220
12:17
INFO
Learn more about the RatOS Filament Macros
12:16
Filament unloaded! Please inspect the tip of the filament before reloading.
12:16
RatOS | TEMPERATURE_WAIT: Temperature for toolhead T0 reached.
12:16
RatOS: please wait...
12:16
RatOS | TEMPERATURE_WAIT: Waiting for sensor: extruder, MINIMUM: 220
12:16
RatOS: Heating extruder to 220C... Please wait.
12:16
INFO
Learn more about the RatOS Filament Macros
12:16
Welcome to RatOS v2.1.0
v2.1.0-RC3-23-g76bee978
this was just trying to insert
What does Mainsail show?
Empty
Light is green
Trying to retract when inserted
Could you post a picture with the connections made to the toolboard?
I can try but I hot glued them down
You can also disable insert detection, that will no longer activate the auto load macro
But it is weird that it unloads when inserting filament, something is reversed
You can just about see wire order on board is red blue green yellow going dowm
I'd quite like this macro
Inserting is triggering the unload macro
I was suggesting that for troubleshooting, could be turned back on after the issue is found
If you delete the !, it does the same? triggers the unload macro?
That! Is for the button though?
Yes
Could you add your printer.cfg and RatOS.cfg?
i have user.cfg as well
If you press the button, what action does it trigger?
Nothing?
Great.. So remove the ! from the config, that is for sure reversed
The input shaper values from user.cfg are not correct but we will get to then after
O
Done still doesn't seem to trigger anything
My wiring is the issue?
That is ok, it should only trigger the unload macro when filament is inserted, no filament, no macro
Use this one, also forgot to remove the !, could you please do it?
Wtf
I just changed nothing and it worked
Also, RatOS.cfg should not be modified, it will reset then the printer is rebooted, copy stuff from there and add them to your user.cfg
Still showing as empty in mainsail
I still think that the tangle detection is the cause of the issue
Okay will update the user
Also, post your latest input shaper graphs, I will show you what needs to be added to the user.cfg
Lights green filament is loaded mainsail still reporting empty
Pressing the button loads more filament
Is now showing detected
Unload macro ran showing empty now
good, some progress
press the load macro and after that, push down on the PTFE tube, let's see what happens
Hmm inserting filament turns light green no macro runs when I pull the filament out unload macro runs
Literally the second I removed the macro runs
Hm, is that with the new user.cfg?
Yes
Should not happen since unload after runout is set to false
Not in ratos cfg it isn't
[gcode_macro T0]
variable_enable_insert_detection: False # enables filament sensor insert detection
variable_enable_runout_detection: True # enables filament sensor runout detection
variable_enable_clog_detection: False # enables filament sensor clog detection
variable_unload_after_runout: False
Add this too to user.cfg
We are overwriting RatOS.cfg with the stuff we add in user.cfg
Maybe it's not working?
Done
It should, some parts of it are working
now only runout detection is active, so no macro should run when loading unloading filament from the extruder
Same behaviour
I am starting to think that the sensor is bad... it does not make any sense
Set everything to True in user.cfg and let's see if maybe by some miracle it works as intended
only the RatOS and T0 macro parts
One moment
No changes to ratos. Cfg right?
Exactly
Maybe even try a reboot of the printer (the PI), just in case there is a bug somewhere
Full power down done waiting to reboot
First test insert?
yup
Okay issert
Loads filament
Mainsail still reports empty
LED is green?
yes
Do a firmware restart, does it still report empty?
yes
Pull up on the PTFE, any change?
no
i assume you still mean leave it inserted though
Yes
Does moving the PTFE tube up and down, also move the ring that lights up?
yes if i push down and pull up it flasshed yellow
well yellow when i pushed down and ran load macro
Hm, let's try switching PB4 with PB3 in user.cfg
Light is green showing detected
press the button, let's see if it unloads and shows empty
pushing down and relesing showed flashing yellow then triggered unload
Insert loads
Button does nothing
Add! Back in?
One moment, let me find my sensor to check the wiring
Add back ! light turn blue flashing no macro runs
that is unload if I recall
Yer
But macro does not run
Doing a power cycle
So now the pins are correct, green wire is connected to PB3 (filament detection) on the toolboard and yellow wire (tangle, button) is connected to PB4
Seems so
Press button
Light goes blue
Nothing happens
with filament in?
Yes
Showing as detected
delete the !
i already did
haha
Trying I with again and a power cycle
in the meantime
Ok, so from here you take the Hz values from MZV, those are the ones that need to be inserted into user.cfg
Suggested is zv
Button works btw seems a whole powercycle is needed
Yes, but it does nothing, MZV is overall recommended
it should look like this:
[input_shaper]
shaper_freq_x: 69.8
shaper_type_x: mzv
shaper_freq_y: 44.6
shaper_type_y: mzv
Now for the rest of the functionality
filament in, should show detected, button press should unload and show empty
and tangle I would test during a print, it seem quite finicky
I'm turning off for now seen a bracket that can be printed to resolve will add later
That too
Thank you
What is the point of z then
No ideea, haven't really looked that much into it, just saw a lot of people saying that MZV should be used when ZV is recommended
Good to know
Thank you for all your help
Very much appreciated
No problem, glad it is solved
Me to
Also, one more recommendation, move the include for user.cfg in the printer.cfg seems it can cause some issues, just found out a few minutes ago
Move to where
move it to just above of Remember bla bla bla
Did not know why my print was no longer starting and asking for a bed mesh with no probe, I moved it in my config to the same location as yours to test it out, it does not show any error but it clearly does not work
So that might also be a cause, I think the reason for needing to power cycle, that should not happen
Weird
But thanks
No problem