Help with pulse-generating Filament Sensor
-
Thanks for the answer.
I've tried it yesterday - but it seems that Duet is not recording any data from the sensor.I configured the sensor as following, just to log data when printing :
M591 D0 P7 C"^e0stop" L0.07853981634 R90:110 E3 S0
but it did not receive any data.
Any ideas on what I can try is highly appreciated.
Thanks again
-
@omni said in Help with pulse-generating Filament Sensor:
S0
S0 is disabled, is it not? Try S1 maybe?
-
@Phaedrux
Hi Phaedrux,
Thanks for the reply.Yes, it is disabled - meaning it does not stop the process of printing, but it should be receiving and collecting data.
It's because it only works when the printing from the SD card starts, but since it is not gathering any data if I choose S1 it would stop the print.
I just wanted to see if DUET is receiving anything - and it seems it is not. -
@omni Sorry. I'm not really failiar with that sensor. Perhaps best to start a new thread with your issue rather than tack on to this older thread.
-
Well it was related to the same sensor and same problem, that is why I thought it was best to just follow up on that - in case someone who was following it already resolved the problem... But thanks anyway, hope I will find a solution...
-
@omni A new post will get more visibility for your issue, especially with a descriptive title.
-
@omni said in Help with pulse-generating Filament Sensor:
Bigtreetech smart filament sensor
I'm waiting on that one for a while but stuff stopped arriving so I gave up already so I'm not 100% sure, but looking at the MARLIN conf it looks like it does not generate pulses but the "smart" in the name means it internally looks at encoder data and instead of sending encoder data it calculates if / when filament is run out and switches the signal on/off so it behaves like simple switch?!?!?!? Not sure but that's what it looks like from what I read. Opening it up and checking out the electronics seems to be the only way to know for sure and hacking it to work as a pulse generator should be super simple - taking A or B pin of the encoder directly as signal pin should bypass the "smart" part inside and let duet get all the data it needs (pulses) directly from encoder.
-
@omni @kordris I got mine working with the following settings:
M591 D0 P7 C"ystop" L7 R80:115 E8 S1
What caused problems with my setup was that I've used an endstop pin from an axis where sensorless homing was enabled. Switching to an endstop without sensorless homing solved it for me.
I am using a third party controller board with a STM32 chip structure. I don't know if that has any impact on the error that I had but this might also help you if you are using an original Duet board.