Help with BTT Smart Filament Sensor config V-Minion
Ok, just installed the BTT SFS but have some doubts if in the printer.cfg file under macros ratos the following would be right,
I'm a nerd at this and want it to be safe in case I ran out of filament, so anyone with experience could check if G-code instructions is right?
Thanks
I'll be using the following:
[filament_motion_sensor SmartFilamentSensor]
detection_length: 7.0
extruder: extruder
switch_pin: ^PE15
pause_on_runout: True
runout_gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-5 F2100
G1 Z10
G90
G1 X90 Y175 F6000
#insert_gcode:
event_delay: 3
pause_delay: 0.5
17 Replies
optimistic-gold•2y ago
OK, first things first, because i saw you using this term in the past. You are using the term "Nerd" completely wrong. If you would be a Nerd at this, than you wouldn't have to ask about it 😉 It is NOT a negative term, only being used in an insulting way by people who think that intelligence or good knowledge in a not-so-common area is something bad..
Anyway 😉
Did you uncomment and renamed the custom G-Code in SuperSlicer to accomodate for the Sensor? Then you really only have to uncomment the Sensor function in the printer.cfg, check that you have assigned the right pin to it, and that's it.
First thing first, thanks for the explanation on "Nerd" real meaning.
I'm using Cura, and thought I'd have to comment on macro RatOs...but if I can add the g-code directly at Cura would be better.
What lines do I really need to add in my slicer? Don't want to mess it all up 🤪
Could somebody give a look at the lines if are correct for a V-Minion? I'm not too sure to be honest...
At the moment is on Macros RatOs section in printer.cfg
Thanks
[filament_motion_sensor SmartFilamentSensor]
detection_length: 7.0
extruder: extruder
switch_pin: PE15
pause_on_runout: True
runout_gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-5 F2100
G1 Z10
G90
G1 X90 Y178 F3000
#insert_gcode:
event_delay: 3
pause_delay: 0.5
Added the following to Cura G-code start:
BED_MESH_PROFILE LOAD=ratos
START_PRINT EXTRUDER_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0}
SET_FILAMENT_SENSOR SENSOR=SmartFilamentSensor ENABLE=1
At the same time I have the arlier mentioned on Printer.cfg, but sensor does not detect filament when print starts, it does when heating up and priming, then stops, and runs the runout filament g-code until I press play away on mainsail dashboard, but it keeps showing empty after that. Anyidea what I'm doing wrong?
BTW I can't find the Sensor Function section on my printer.cfg...🤷♂️
optimistic-gold•2y ago
optimistic-gold•2y ago
this is from SuperSlicer, in Cura it's surely different, i can't help you with that unfortunately.
the printer.cfg i can access not before sunday... hope that somebody else can help you earlier. then again, this should be documented! have you looked at the BTT github?
I have followed BTT github instructions but it could be Cura not being properly set up.
I'm seriously considering moving to SuperSlicer for the V-Minion as I see most of you use this slicer and probably will be easier to get assistance in the future.
But in any case I do not have that option in my printer.cfg, so if you can share that when you have some time I'd be very grateful. 😉 👍
optimistic-gold•2y ago
#BTT_Smart_Filament_Sensor
[filament_motion_sensor Filament_Sensor]
detection_length: 7.0
extruder: extruder
switch_pin: PC15
pause_on_runout: true
event_delay: 3.0
pause_delay: 0.5
that's what i added in my printer.cfg
the rest is on your slicers side
Ok, will add it as you have it changing switch pin, of course, and see....
BTW I see you have in your slicer a MESH instruction at G-Code Start...is that to have a bed mesh instruction directly from slicer?
And thanks very much for your assistance, all this is really new to me and it makes me feel like an rabbit trying to catch the carrot...but never gets to it!!!
optimistic-gold•2y ago
this is because of PAM, you don't need it for your regular Mesh 🙂
What is PAM? and I see you have on BTT ENABLE=0, when I thought it would be ENABLE=1....will change all that and give it a go tomorrow morning.
Thanks a lot 👍
Still no matter what I do it detects filament, does the bed mesh and primeline…then it goes into pause. I might just try a regular filament sensor and see how it behaves. Desperate 🤪🤪🤪🤪
Anyone knows how to set up a mechanical standard filament sensor on the V-Minion? I give up on the BTT Smart Filament Sensor, it’s a nightmare and fails to work properly all the time. Thanks
I put details about the SFS in my model description here: https://www.printables.com/model/294413-v-core-31-btt-smart-filament-sensor-sfs-mount-req-
tl;dr: you can't set detection_length=7mm because then it will pause when your extrusion is not EXACTLY the same as it was intended. If you lose 0.5 mm just from bowden tube slack, it will pause. Mine paused every time until I changed it to something higher.
I picked 25mm: As long as the filament moves at least 7mm every time the printer thinks it has moved 25mm, it will consider that the filament is moving "enough". You could probably pick a slightly lower value, but you should probably keep it above 10-12mm.
I have been using this config for months and it has been flawless. It has also saved my bacon multiple times, especially because I've been printing a lot of TPU which loves to jam, and a regular filament sensor wouldn't detect it
Printables.com
V-Core-3.1 BTT Smart Filament Sensor (SFS) Mount (req. enclosure) b...
An angled mount for the BigTreeTech SFS for the original V-Core-3 400mm enclosure design | Download free 3D printable STL models
@alexb_cat ^^^
Also, I didn't add any of that g-code stuff. I'm not sure why it is needed. Mine uses M600 for the pause which was already defined in my macros by RatOS
Will give it a go and thanks a lot.
I'm totally new to all these config, compiling, etc world
and to be honesty can't find in my V-Minion printer.cfg file where the M600 is...any assistance on where to look for?
And BTW is there anything to be added to the slicer ? As I've read different versions on different places. 👍
Honestly it's been a while so I don't remember for sure, but I don't remember doing anything more than that config there.
So this may not be complete information, but I wanted to chime in about that
detection_length
parameter, because I had the exact same issue as you until I bumped that up. The fact you had that issue suggests that it was in fact reading the sensor, it was just configured wrongCould be, I'll be having some time for testing on either Wednesday or Thursday, I'll report back with whatever happens. Thanks 👍
I've done this and that and no success on the V-Minion, can't really be that difficult 🤷♂️ 😳 😭
As soon as I run my bed mesh it shows filament detected, once does the primeline it goes for the skirt print and then runs into parking mode....
I've tried different detection lenghts with no success.
Here's my set up:
[filament_motion_sensor Filament_Sensor]
detection_length: 7.0
The minimum length of filament pulled through the sensor to trigger
a state change on the switch_pin
Default is 7 mm.
extruder: extruder
The name of the extruder section this sensor is associated with.
This parameter must be provided.
switch_pin: ^PE15
pause_on_runout: True
#runout_gcode:
#insert_gcode:
#event_delay: 3.0
#pause_delay: 0.5
Has anyone really succeeded on the Minion and BTT Smart Filament Sensor? if so please share your data, pleeeaaaase !!!
Ok, sent an e-mail to support service at BTT and received this answer, I can't find the info in Klipper's config documentation,
so I'd like to know if somebody here knows about it, I don't really understand what values are these
or where to add them in my printer.cfg to try this solution. Thanks 👍
https://www.klipper3d.org/Config_Reference.html#output_pin is this what you were looking for?
Yes, thanks. Although i don’t understand the low and high voltage thing…and don’t know what pin is referring to.
Is it something to do with the connector PIN number ? 🤷🏻♂️
Finally found a solution through somebody with the same board and problem on reddit.
I splitted connectors, leaving voltage and ground on E0Stop connector and moving signal to EXP-2 PB14 pin connector.
And it now works flawlesly as expected.
Don't understand why, but it does work.