-
Notifications
You must be signed in to change notification settings - Fork 15
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
SKR MINI (MZ) Board and simple filament sensor #14
Comments
Yes, BTTs smart filament sensor is better choice than simple ones, so for SKR boards it is selected as default option. |
ok. no problem, disabling that line works well, for me is ok! |
I can see yoy 're updating skr mini buils inserting also fs for filament sensor! [env:anycubic_mega_zero_btt_mini_bl_zmin_e0fan_fs] |
@pappicio yeah, I'll need to fix script that generates all those permutations of configs and update it globally. I had in recent few days person who is trying to use simple filament sensor with BTT SKR mini board, thus adding few configs for him to test. |
I use: mini_bed_bl_zmin_e0fan_fs and works well, and nothing modded respect original code, so It is (if I remeber well) pulled up and FIL_RUNOUT_STATE=LOW (If It means that filament is not present). I used homemade sensor 3d printed and a switch, so I've connected only 2 wire. Pin-in and GND, so when filament ends, the switch close and Pin goes to gnd. and seems to be on GND when filament is not present (cos is has also a led inside, led that is on only when the filament is present and according to the scheme, is all exact) so like my setup.... strange.... |
reprap link is not working for me :( |
looks similar to what I bought from aliexpress, but not sure about presence of R1... anyway, I'll need to try myself it seems. |
R1 is to put pin in pullup with 5v but is bypassed by led and 1k resistor that are from Pin to 5v so led in on and only when switch turns to GND, the resistor R1 became active for a while, leaving Pin to pullup, until itself is connected to GND, and in this case passes from HIGH state to LOW state (filament ended!) |
@pappicio I understand that :) I'm just not sure the ones I have have similar schematics, need to double check those. |
ok, btw, thanks for all your work on marlin firmware. |
just 10 minutes agoo I contacted a friend of mine, he has simple filament sensor and just for wiring, he confirm, 3 wire and the sequence is: +/-/in (he told me about the wires colors: red/black/white)... |
Well, I've re-checked with ones that I have + Lerdge endstop Both have same jst xh2.54 connector, both have in absence of filament state low (signal to gnd connection)... However they have different schematics and pin order.
Both of them have same operation mode: when filament absent, signal is low, so current setting is fine: One thing that worries me, is that TwoTrees nowadays have in description "Trigger: high level"... so might be some new types of sensors are sold and that would require people to update config/rebuild if they would want to use those. |
well done, I've seen on thingiverse a model of runout sensor for ender 3, with schematic, and it had wire inverted in 3.3/5v and GND, it had: GND/5V/signal.... very strange.... maybe depend only by the sensor you bought. (if I find again that page I'll post schematic, that, repeat, is inverter from that one I've posted.....) seeing better that scheme, maybe also cut and invert 2 wires on it (5V and GND) can solve the problem. |
this one is DIY variant... my point was what to keep as defaults in my configs. Based on what I was able to buy - LOW is the setting. For more rare variants people might need to update themselves. pinout above: this one above targeting to be used with some pin27 adapters on original Melzi boards. Those have different pinouts, e.g. easier BLTouch 3pin servo connection. so, orders of the wires on DIY variants not that matter... Reversing 5v/gnd might work, need to re-check at least in mine, how the LEDs are wired. I think in cheaper versions from Aliexpress they are saving pennies on resistors/capacitors... so will not be surprised if that will not work :) |
some news (I had 3 wire runout filament sensor on raspberry3 before) now I changed the raspberry with a minipc, really mini (an old windows based TV BOX), but powerfull respect to raspberry, so, I now mounted rounout filament sensor on SKR mini MZ (not previous homemade 2 wire filament sensor, but new one with 3 wire by aliexpress), and, yes, I can confirm that also for my 3 wire rounout filament sensor I need to change: FIL_RUNOUT_STATE=LOW so: homemade 2 wire runout filament sensor, source is ok. |
@pappicio it looks like there are several designs. Mine are from older designs where state is LOW to trigger. One of the vendors nowadays changed description to state=HIGH. So, they might have newer variant. Regarding reversing 5v/gnd: I tried that. Yes, it also inverts the signal pin, however, that disables LED on sensors (well, polarity of LED is becoming opposite, as expected). |
Hi, I've found that SKR releases only uses smart filament sensor, infact, If I compile and use SKR_BTT_MINI (for mega zero 1.0 version) and enable filament_sensor, I have false positive, so when start printing, printer tell ever me that filamen is terminated, so I changed:
#if ANY(KAD_SKR_ENOUGH_FLASH, KAD_SMART_FILAMENT_SENSOR)
#define FILAMENT_MOTION_SENSOR
#endif
to:
#if ANY(KAD_SKR_ENOUGH_FLASH, KAD_SMART_FILAMENT_SENSOR)
/// #define FILAMENT_MOTION_SENSOR
#endif
and finally it worked with simple filament sensor, in fact setting simple filament sensor pin to GND, and only in this case I receive on lcd screen message that filament is terminated and need to be changed and now works well, but I have simple filament sensor wired on octoprint raspberry3 pins, and prefer use it to have also messages sent to homeassistant and then adviced by alexas diposed into my home, but, iwith mentioned modification on source code, simple filament sensor finally works on my new SKR MINI MZ Board, with no false positive about it!
thanks.
The text was updated successfully, but these errors were encountered: