English
Login

IR Filament Sensor Troubleshooting

(MK2.5S, MK3S)

Relevant for

MK2.5S
MK3S
MK3S+
121 comments
Article is also available in following languages
English
Čeština
Polski
Deutsch
Français
Español
Italiano
日本語

The IR sensor is a hybrid solution that combines an IR laser sensor triggered by a tiny mechanical lever. This means that in case one of the functions of the IR sensor is not working, the source of the issue might not be the sensor itself.

Issues can appear as:

  • Autoload not working.
  • Filament sensor runout not working.
  • The printer asking you at the beginning of a print to unload the filament and then to load it back in.
If you have to do some emergency prints before resolving the issue, you can always disable the filament sensor from LCD menu -> Settings -> Fil. Sensor [OFF].

Wrong firmware

There are two different versions of the firmware available, one for the S and S+ upgrade and one for the initial filament-sensor. Make sure you have the correct one. The new IR Filament sensor requires the S/S+ version of the firmware.

Having the incorrect firmware will often, but not always, cause it to fail calibration due to the different designs of the extruder parts.

Wiring

The connector should be on the bottom row of pins, covering all pins, with the red wire on the right. See the picture below. The only correct orientation is depicted on the top-left.

The cables for MK3/S/+ and MK2.5/S IR filament sensors are different as they have different mainboards. On MK2.5/S the white wire is shifted one pin to the right. The picture below depicts the MK3/S/+ cable, but the position and orientation of the connector remain the same on the two models.

Assembly of the extruder

Before going into disassembly you should check some key parts of your extruder assembly. You may have overtightened some screws which can affect the tight tolerances used in the trigger mechanism.

There have been some reported issues when overtightening the screws pictured below. Navigate to LCD Menu -> Support -> Sensor info and see if the 'Fil. Sensor' value (1 or 0) when adjusted.

  • The M3x40 screw going from the back into the extruder motor (orange arrow left picture).
  • The M2x8 screw securing the IR sensor itself (purple arrow right picture).
  • The printed part 'adapter-printer' for the steel ball is protruding slightly above the surface of the surrounding extruder parts (yellow arrows right picture).
  • The M3x10 screw securing the 'FS-cover' plate, which covers the filament sensor chip and 'adapter-printer' depicted to the right.

Access the filament sensor mechanism

The FS lever is the part that is moved by the filament to activate the sensor. It is important that this moves as expected.

How to access it:

    1. The first step is to toggle the Filament autoload off. Do it in the LCD Menu -> Settings -> F. autoload. (but 'Fil. sensor' must be still ON!)
    2. Now we need to get to the filament sensor mechanism. Before you start, make sure the printer is cold and that none of the fans are spinning.
      1. Take the Print fan off by unscrewing both M3x20 screws holding it on the Extruder. Do not lose the nuts for these screws. You can insert the fan in between the belts on the left side, it should fit there just fine.
      2. Unscrew 2 out of 4 screws of the Noctua Hotend fan that are the closest to the original position of the Print fan. One of them is M3x18 (or M3x20 if you decided to use it instead) and the other one is the top-right M3x14.
      3. Unscrew both long M3x40 screws located below the Extruder motor and take the Extruder cover off.
      4. Unscrew the M3x40 screw holding the Extruder idler door as well as the other M3x40 screw holding the upper part of the assembly together.
      5. Take the Extruder motor off.
      6. You now have full access to the hotend and to the filament sensor mechanism.

Now you need to go to the LCD Menu -> Support -> Sensor info

    1. Here you can see the status of all sensors we are using on our printers: the 'PINDA', the 'FINDA' (if MMU2S is installed), and the 'IR sensor' (renamed to 'Fil. Sensor' in firmware 3.10.0). We will only need IR sensor/Fil. Sensor.
    2. See how the IR sensor status changes from 0 to 1 as you are inserting a piece of filament inside the opened extruder. Also, observe how the filament sensor lever moves.
    3. To be sure, blow some canned air (or just blow with your mouth) in the general direction of the sensor to get rid of any potential dust particles.

The IR sensor value should be a stable 0 when there is no filament and a stable 1 as long as the filament is present.

Summary

All in all, the lever has to move freely and get pushed by the steel ball in a regular manner.

  • Make sure the steel ball is in its housing.
  • Make sure that you did not forget to put in the M3x18 screw that serves as a shaft for the lever movement. This M3x18 screw also has to be tightened just right. Overtightening it makes the lever not move or move insufficiently. Having it too loose might make the lever move in other directions than intended.
  • Also, make sure the magnets have the correct orientation. They need to be repelling one another.
  • The FS-lever has to be printed in black PETG. The color of the extruder plastic parts can be different, but the tiny FS-lever must be black.

After fixing this issue, assemble the extruder following 5. E-axis assembly you can also turn the Filament autoload back on. Re-do the Z calibration, it should not be necessary to re-do the entire XYZ Calibration, unless you have by mistake touched/moved with the P.I.N.D.A./SuperPINDA sensor.

Clean up of printed part

If all of the steps above do not solve your issue, and the IR sensor will continuously trigger, it may be necessary to do some clean-up of a printed part. The tolerances within the IR filament sensor mechanism are very tight. On some prints of revision R4/C4 of the extruder-motor-plate, it may be necessary to shave off a little bit of material to have the right clearance.

To easily access the area referenced, see Step 4 here.

Using an Exacto knife, cut away the plastic ~0.5 mm deep around the edge, marked in the picture below (purple arrow and green measure). In essence, remove the steps from the layers in the round area where the Fs-lever triggers the sensor.

When the sensor is removed, you will see if the extruder-motor-plate is still interfering with the Fs-lever, moving it when placed back on.

An alternative is to remove a little bit of material on the FS-lever, but as it is already very small you can easily take off too much.
 

58 comments

Log in  to post a comment
Marc Ashman
My sensor is just giving me a 0 on the sensor info page. I made sure the filament sensor level is moving freely. I have pulled the sensor out and tried to trigger it manually, no luck. Whenever the sensor is on, the printer never lets me go to the load filament screen. I can only unload, even if there is no filament loaded. If the sensor is supposed to output a 1 when the filament is loaded and a 0 when it is not, then why would a constant 0 show me a filament loaded condition?
Andrew
Loosening the FS lever bolt so the lever could move freely fixed it for me. Step 6 at 
https://help.prusa3d.com/guide/5-e-axis-assembly_28536#28872
Mrgigg
I was having the issue "printer asking you at the beginning of a print to unload the filament and then to load it back in". The issue ended up being that the printed part that holds the ball became worn down over time and the filament wiggled inside enough that the sensor did not work correctly. I ended up re-printing this part - https://github.com/prusa3d/Original-Prusa-i3/blob/MK3S/Printed-Parts/STL/adapter-printer.stl
The sensor is working perfectly now after reassembling it! Hope this helps others that may be having the same issue!
Gerrbear
Thank you!! this was also my problem! and this solution also fixed my issue. Awesome :)
Dan
This was my issue as well! Thank you so much! 
medyk3D
Thank you it was exactly me issue. Got it working  after a few more  issues: https://twitter.com/DMedyk3/status/1721151316142051361
TimeOut@Home
Yes! Wear on the part that holds the ball and wear on the filament sensor cover were the problem for me. I often print with matte finished filaments and have found that the rough surface of the filament wears these parts faster than smooth filaments. That, said I have been printing quite a bit for over two years and this is the first time I have had to change the sensor ball holder. I have replaced the filament sensor cover a couple of times. Always printed with Prusa black petg.
Gt6k
Another vote for raplacing the filament guide.  Its called the 'adapter-printer' in the Mk2.5 to Mk2.5S upgrade list.  Mine was worn into a slot so that the ball was not being pushed far enough over.
Paul beard
I think this might be my problem as well. The filament sensor doesn't reliably detect filament, has run out without noticing. Loading/unloading can be problematic. 
If I don't have PETG (have never used it) how much trouble am I asking for if I use black PLA? Not excited about buying a spool of something I will likely not use for anything else just to make this part. PrusaSlicer says it will take .35m of material and 11 minutes machine time…anyone want to mail me a meter or so? 
Twogz
same results here, after abo8ut 2 or 3 thousand hours printing my same piece was worn and the ball would wiggle around on retractions, causing the lever to come in just enough to register a break occaisionally. Easy fix, and very easy to visually verify after installation of the fresh piece
luckypogo
Does anyone know where to find the stl for the little orange adapter for the plug in for the sensor????
crocode
From the build instruction booklet it was NOT clear that the orange slot had 2 rows and I needed to use the bottom only. Thanks for these yes/no pictures!
phaskit
This is the comment that finally made me figure out the difference in the pics (I'm a bit sleep deprived) and what was up with my sensor so thank you for saving my life.