New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Wrong pin mapping for Filament Runout Sensor on SKR 1.4 Turbo and BTT SFS V2.0 #26916
Comments
The pins you use does not matter as long as they are configured correctly, but BTT's docs are also usually behind what is supported here in mainline / specific to their fork, which is outdated. This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
|
That is really strange because I got |
Unless you completely backported the feature and code changes to 2.1.2.2, the only reason it “works” is because of your workarounds. Grab the latest Please use the links in my previous comment for further troubleshooting. |
I haven't managed to get this senros to work on my MKS Robin Nano 1.2, with Marlin 2.1. This is my configuration:
Does anyone know why this might not be working? The pins are correct, the switch sensor itself works fine if |
Again, this sensor is not supported on anything other than It will be added to a tagged version of Marlin in This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report. |
Did you test the latest
bugfix-2.1.x
code?No. The issue was resolved with reconfiguration and troubleshooting.
Bug Description
I have a SKR 1.4 Turbo board with TMC 2209 drivers. To get the SFS V2.0 motion tracking and filament runout sensor working with the latest Marlin (2.1.2) there were several things required:
TMC2209 drivers or above need the 'diag' pin disconnected for E0 stepper drivers. This is a requirement for all other endstops to work as well, and has been documented in the BTT github repo for the BTT TMC2209 V3 stepper drivers. This is not a bug, but worth mentioning for readers having problems.
The BTT documentation states to plug the motion sensor pins to E0DET and the switch sensor to to E1DET. This is WRONG. They must be swapped. This took me a very long time to figure out and was the main reason for troubleshooting issues. The switch sensor needs to be plugged into E0DET and motion sensor to E1DET, or you can re-map them digitally like I did by explicitly declaring the pin outputs for FIL_RUNOUT_PIN and FIL_RUNOUT_PIN2 respectively.
I had to invert the endstop logic for the filament runout sensor. Instead of LOW I had to have it HIGH.
Here is my configuration.h snippit for enabling the sensor. I hope it saves other people more time with other boards. Keep in mind I remapped the E0DET and E1DET pins instead of physically swapping them on the board.
I am not sure if this is a bug with Marlin 2.1.x or if it is a bug with poor documentation on behalf of BTT's part. Maybe a moderator or developer can clarify. Thanks 🙏
Bug Timeline
No response
Expected behavior
Default configuration to work as indicated by BTT.
Actual behavior
Constantly reading OPEN. This would cause a print to stop as soon as the specified MM length elapsed.
Steps to Reproduce
No response
Version of Marlin Firmware
2.1.2.2
Printer model
No response
Electronics
No response
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Marlin.zip
The text was updated successfully, but these errors were encountered: