Welcome! Log In Create A New Profile

Advanced

prusa ir filament sensor not working on skr 2 board Marlin 2.1.1

Posted by bigrip 
prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 25, 2022 12:22PM
hello how can i get the prusa ir filament sensor to work on a skr 2 board ,tmc 2209 , with marlin 2.1.1 ?
the sensor has 3 cables V,G,S.
M119 always shows Triggered.

It is connected to E1DET .The y max endstop
In the pins_BTT_SKR_V2_0_common.h i have
#define FIL_RUNOUT_PIN PA0


In #define FILAMENT_RUNOUT_SENSOR I have tried several settings.


first i thought it has something to do with sensoreless homig but then i tried to disable it on the y axis and used a mechanical endstop but it didn't work either.
Attachments:
open | download - ir sensor.jpg (314.6 KB)
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 25, 2022 04:59PM
Make sure e1_det jumper is disconnected (under E1 stepper driver) If E1 stepper driver is unplugged, its not that

Edited 2 time(s). Last edit at 12/25/2022 06:54PM by Dust.
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 26, 2022 07:43AM
hello
disconnected all jumper except y motor driver.still not working
i forgot to write that i use 2 motor drivers for the z axis ,on z output and E1 output.

you mean this jumper on the photo?
Attachments:
open | download - skr_2.0_diag.png (4.61 MB)
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 26, 2022 01:47PM
tried it with a simple microswitch with 2 cables and it worked.
have ordered a new ir sensor let's see if it works then.
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 27, 2022 12:52PM
Tried a new sensor but it still doesn't work.
tried the firmware from the skr2 github page, doesn't work.
does anyone have an idea?
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 27, 2022 03:45PM
Is there an intermediate cable between the IR sensor and the EIDET socket on the controller or is direct wired? Just wondering if there was something common between the new and old sensors that could be defective.

Long shot - in pins_BTT_SKR_V2_0_comm
on.h remove all references to PA0 except for FIL_RUNOUT_PIN.

Maybe try using one of the other endstop sockets for the FIL_RUNOUT_PIN. Maybe EIDET is defective.
rq3
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 28, 2022 09:30AM
Quote
bigrip
Tried a new sensor but it still doesn't work.
tried the firmware from the skr2 github page, doesn't work.
does anyone have an idea?

Many filaments are infrared transparent, even if they look black to the human eye. Try triggering the sensor with something completely IR opaque, like aluminum foil, if only to see if the sensor is actually "working".

Edited 1 time(s). Last edit at 12/28/2022 08:58PM by rq3.
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 29, 2022 02:51PM
Hi
I commented out all references.
tried other endstop ports PA0 ,PC2,PC15,and the servo port PE5. I've tried removing all the motor drivers but no luck.
infrared transparent filament can be ruled out, it is a lever style sensor see photo. The sensor used to work on my minirambo board but it broke because I switched to the skr2. Will order another board maybe the skr2 is broken.
Attachments:
open | download - IMG_20221229_203847.jpg (2.04 MB)
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 29, 2022 09:58PM
"tried it with a simple microswitch" would tend to indicate that the motherboard is OK.

If you have access to a DVM you can probe the signals at the sensor. There should be ground, +5V and signal. You should be able to see the signal toggle with the DVM when you insert/remove the filament.

Could be as simple as the sensor connector is backwards.
Re: prusa ir filament sensor not working on skr 2 board Marlin 2.1.1
December 30, 2022 01:02PM
Hi
Measuring with a multimeter brought light into the darkness, only 1.2 v came to the sensor.
There were broken solder joints under the shrink tubing.
Why the new sensor with the new cable didn't work at first will always remain a secret smiling smiley
Everything works now.

Thank you for the help
Attachments:
open | download - sensor.jpg (1.62 MB)
Sorry, only registered users may post in this forum.

Click here to login