Replies: 18 comments
-
I just setup one on an SKR 1.4 board on another printer. I used these docs. https://www.klipper3d.org/G-Codes.html#filament_switch_sensor I used 'QUERY_FILAMENT_SENSOR' command from the terminal until I had it working. For me it was the wrong pin. |
Beta Was this translation helpful? Give feedback.
-
What pin did it end up being for you? I wonder if maybe there's an incorrect pin set somewhere which is occupying the pin for the sensor. |
Beta Was this translation helpful? Give feedback.
-
These are the already occupied pins which I can't test for obvious reasons. I wonder if one of these might be the actual probe pin, and if so, what that pin might otherwise be. PA0 - [extruder] - sensor_pin PB0 - [stepper_z] - step_pin PC0 - [tmc2209 stepper_x] - diag_pin PD1 - [extruder] - enable_pin PF0 - reserved for crystal? |
Beta Was this translation helpful? Give feedback.
-
I guess another option here might be that the place where the P7 is plugged in requires more configuration. Right now, it seems that it's just a dead wire. I couldn't get any reading on any of the pins of P7. |
Beta Was this translation helpful? Give feedback.
-
You need to uncomment the filament sensor section in Ignore what it says on the dashboard. Start a print with no filament in the nozzle, but a piece of filament in the sensor. Remove the filament from the sensor to see if things are working as expected. |
Beta Was this translation helpful? Give feedback.
-
Am I still doing the pin PA4 ? I have this: [filament_switch_sensor filament_sensor] Do you know specifically what needs to be adjusted in misc-macros? I mean, I was doing the gcode: I did wire the SKR mini E3 V3 based on the diagram you posted. |
Beta Was this translation helpful? Give feedback.
-
So yeah, after testing and testing, it doesn't stop the print. Doesn't pause it, doesn't beep, no indication at all that anything has changed. |
Beta Was this translation helpful? Give feedback.
-
Had the same issue. You need to turn it on in the START gcode. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. Umm, sorry I actually don't know how to turn it on. Mind elaborating? |
Beta Was this translation helpful? Give feedback.
-
Yes that is right: SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=1 When setting up a filament sensor you do not need to print, you can use 'QUERY_FILAMENT_SENSOR' command and put filament in the sensor by hand, that tells you if you have the correct pin setup, once that is done and QUERY_FILAMENT_SENSOR works by telling when it has filament or not then you turn it on in your START gcode. |
Beta Was this translation helpful? Give feedback.
-
@Astrolava revert to whatever was already in Do not add |
Beta Was this translation helpful? Give feedback.
-
I sad that is what had to do on an SKR 1.4 board. Did not work with out it. Sorry, I wll back out. |
Beta Was this translation helpful? Give feedback.
-
@jakebullet70 No need to back out. The issue is that you'll have a hard time keeping up with any changes in this config. The only thing my users are required to do are to either uncomment/comment out a section, or change a 1 to a 0 or vice versa. No programming knowledge is required. |
Beta Was this translation helpful? Give feedback.
-
I'm... not sure why it doesn't work. I'll check to see if my ribbon cable is maybe busted. |
Beta Was this translation helpful? Give feedback.
-
Updated wiring diagram, printer.cfg and misc-macros.cfg. Pull new changes.
Can't simplify the process any further. |
Beta Was this translation helpful? Give feedback.
-
May not be relevant to @Astrolava's issue if it's more hardware than software, but I was troubleshooting my runout sensor that used to work and then suddenly stopped working. TL;DR - make sure you're putting "PRINT_START" in the start g-code in your slicer of choice. There's a macro command in there called ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1 that needs to run otherwise it seems the default state of the sensor is turned off despite turning it on via "variable_filament_sensor_enabled: 1" in @bassamanator's misc-macros.cfg. At least for me. I started using Christian Vick's "Klipper Printer Additions", which adds some nice macros and other elements. But his OrcaSlicer (and other slicer) profiles are alternates to Bassamanator's "PRINT_START". It took me a while to figure out what was missing, but ultimately rather than try to align the different profiles start commands, I just added ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1 directly to my start g-code, and that seems to have done the trick for me. More of an issue on my end for mucking about with settings. |
Beta Was this translation helpful? Give feedback.
-
I've been dealing with trying to get my SKR mini E3 V3 working with the uart pins of the Orange Pi 3 LTS (running mainsailOS(armbian)). my printer.cfg: Under misc-macros.cfg I changed the delayed_gcode to enable the filament sensor rather than disable it, [delayed_gcode DISABLEFILAMENTSENSOR] [gcode_macro _globals] I've included some pictures which show the wiring, and the sensor. |
Beta Was this translation helpful? Give feedback.
-
Here's the situation:
Have your pick. And you know, these sensors are cheap, $1.5, I had 2 lying around that just worked (after I wired them correctly), but that doesn't mean all will work. Buy a different $1.5 sensor and give that a go. |
Beta Was this translation helpful? Give feedback.
-
I hooked up a filament runout sensor to the toolhead of my SV06, which uses an SKR Mini E3 V3, I'm very sure it's wired correctly.
My printer.cfg has the following:
[filament_switch_sensor filament_sensor]
switch_pin: !PA4 # "Pulled-high"
pause_on_runout: True
insert_gcode:
M117 Insert Detected
{ action_respond_info("Insert Detected") }
runout_gcode:
M117 Runout Detected
{ action_respond_info("Runout Detected") }
CONDITIONAL_BEEP i=3 dur=300 freq=400
The filament runout sensor is a cheap one off alieepress, so it's not at all impossible I got a faulty one.
I've tested the wire to confirm all 3 connections work.
Just to clarify the wiring. On the toolhead, V is top, G is middle, S is bottom.
On the runout sensor, input side is V, middle is G, output side is S.
Any advice on how I might get this working?
Beta Was this translation helpful? Give feedback.
All reactions