Open kbastronomics opened 7 years ago
Having the settings require a restart is a bit much. I'll fix this.
I'm having issues with this Plugin not working, set the pin and just doesn't respond.. The sensor used to work with the original filament sensor plugin. Any updates due?
Which pin numbering did you use. the original used BCM (GPIO) and this now uses Board (PHYSICAL) which mean if you used for example GPIO 18 before it is now PIN 12. GPIO/PIN OUT
Ah that's explains it, I used 23 so I guess that's 16 physical? I'll have a go when I get home from work!
Yes, GPIO23 would be Pin 16
Works on Pin 16 now after restarting OctoPrint but it keeps pausing the print all the time.. I set the bounce to 10000 and it's still doing it, Do I have to restart every time I adjust any settings?
Yes Settings are currently only read at startup
Sent from my iPhone 7 Plus
On May 6, 2017, at 12:19 PM, ChrisMayhew notifications@github.com wrote:
Works on Pin 16 now after restarting OctoPrint but it keeps pausing the print all the time.. I set the bounce to 10000 and it's still doing it, Do I have to restart every time I adjust any settings?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
No matter what I set on the settings I can't get this to work properly, Straight away as soon as I start a print it pauses and just constantly pauses. I have the bounce set at 10,000 and still does it.
for debounce anything past the default really won't help much so that does not sound like your problem. youd have to a switch that is really ringing and never stops bouncing for the value you already have.
what do you have switch type set to? have you tried changing that. it's either Normally Open or Normally Closed depending on the switch you used.
your switch should connect from GND thru your switch to the PIN your using. if you have it going to 5V instead and with the pullups used on the input pin you'll never see the switch change state.
Do yo have a multimeter you can check it with. a cheapy will do for this. you just need to see the pin go HIGH/LOW depending on the filament.
finally remember to reboot Octoprint anytime you change any setting related to the filament plugin
On Wed, May 10, 2017 at 2:52 PM, ChrisMayhew notifications@github.com wrote:
No matter what I set on the settings I can't get this to work properly, Straight away as soon as I start a print it pauses and just constantly pauses. I have the bounce set at 10,000 and still does it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kontakt/Octoprint-Filament-Reloaded/issues/8#issuecomment-300579103, or mute the thread https://github.com/notifications/unsubscribe-auth/ASaU4f0CivB_KpqvxOouqRWaUVEYY9X5ks5r4geCgaJpZM4M1BMy .
I had it set to Normally Open, but I'm sure i tried Normally Closed too.
My switch is one of them optical end stops and has three wires, one got GND, Signal and 5v line?
I'll check it with a multimeter tomorrow.
oh i see. those operate a bit differently. do happen to have the model number of the optical switch. I can look it up and see if it would work correctly.
On Wed, May 10, 2017 at 4:28 PM, ChrisMayhew notifications@github.com wrote:
I had it set to Normally Open, but I'm sure i tried Normally Closed too.
My switch is one of them optical end stops and has three wires, one got GND, Signal and 5v line?
I'll check it with a multimeter tomorrow.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kontakt/Octoprint-Filament-Reloaded/issues/8#issuecomment-300602817, or mute the thread https://github.com/notifications/unsubscribe-auth/ASaU4eJtwWLVnU3zajiaEDMD1W19d62vks5r4h3fgaJpZM4M1BMy .
I got it from this eBay page http://www.ebay.co.uk/itm/161780649665
Not sure if that will help any?
I've just seen a YouTube video of someone who looks as if they're using the same sensor and using this plugin too, and they had it set to Normally Closed, I'll try that again tomorrow after this print finishes and report back.
It's definitely better, but I've still had 2 pauses in 20 minutes of printing.
So you're using an optical endstop with the filament feeding through the middle? What's your alignment like? If it drifts too far off center you will get an open signal.
Yes, It's running through a case for the end stop at the moment, I'll check how much movement it has and maybe print a different case if I need too
I would definitely put a multimeter or even better an oscilloscope on your filament sensor output and give it a good wiggle to see what sort of signal you see.
Having modded the guys case design to make the hole smaller it seems to be working ok now! I made it so it's just big enough for 1.75 give or take 0.10 or so for the tolerance of the filament and it printed a full 4 hour print without a pause! 👌👍🏻
Awesome.
@ChrisMayhew Happen to have that modded case? I'm having the same issue > sensor constantly switching open/closed
2017-07-24 13:49:36,201 - octoprint.plugins.filamentreload - INFO - Out of filament! 2017-07-24 13:49:36,203 - octoprint.plugins.filamentreload - INFO - Pausing print. 2017-07-24 13:49:36,818 - octoprint.plugins.filamentreload - INFO - Filament detected! 2017-07-24 13:49:37,302 - octoprint.plugins.filamentreload - INFO - Out of filament! 2017-07-24 13:49:37,304 - octoprint.plugins.filamentreload - INFO - Pausing print. 2017-07-24 13:49:37,742 - octoprint.plugins.filamentreload - INFO - Out of filament! 2017-07-24 13:49:37,744 - octoprint.plugins.filamentreload - INFO - Pausing print. 2017-07-24 13:49:38,145 - octoprint.plugins.filamentreload - INFO - Filament detected! 2017-07-24 13:49:38,545 - octoprint.plugins.filamentreload - INFO - Out of filament! 2017-07-24 13:49:38,552 - octoprint.plugins.filamentreload - INFO - Pausing print. 2017-07-24 13:49:38,946 - octoprint.plugins.filamentreload - INFO - Filament detected!
@Hypertoken I use this one now https://www.thingiverse.com/thing:2300359 I combined two files to allow it to fit my I3 Plus easily so it might not work for you without modding it.
it looks like you only check the pin status on start up so that if after starting with the default Pin of -1 then changing the Pin to a valid value the plugin is not refreshed.
I was trying to figure out why it's not working and it looks like its because of this reason I don't see the pin status change. I am using GPIO18 Pin 12 to ground thru a NO switch. so it should be working
can you look at some kind of setting refresh so changes are more dynamic