[WILLING TO PAY] For a Plugin that will control INFIDEL sensor to trigger a M600 *ONLY*

Hi!

I'm looking for someone that will help me code a plugin to control an INFIDEL sensor so it triggers a M600 pause onto the ongoing print if a certain value is met by the hall sensor.

The long story short is: I have several hundred kg of "bad spools" that have random bulges in the filament that clog the extruder entrance... Some spools may be 100% good and some spools may be a nightmare so my idea was to use as much of the filament as possible by using the INFIDEL sensor as a "on/off" signal sensor if a certain width is exceeded (meaning "buldge detected") and immediately pause the printer so I can clear up the buldge and resume printing BEFORE the buldge reaches the extruder and causes the chaos (and downtime to clear the extruder path etc).

SO instead of needing a full marlin compilation to "adapt" to the incoming filament width which was the original purpose of the INFIDEL, I ONLY need it to halt the onogoing print as explained above.

Makes sense?

Any input is welcome.

Thanks!

INFIDEL resources:

I think you could easily adapt the firmware to just close a relay that is in line with or acts as a filament runout sensor. Looking at the firmware that is out there... the Driver.ino would work as is. There is an LED on the board (IO4) that is used to show a fault. Greater than 3 or less than 1.5 (easy to change to to other values too. You could just connect a relay to that output or maybe even feed it directly to an IO pin on the Pi.

Do you have an INFIDEL in your position ?

Yes I do, a friend built it for me but just the hardware. Now I miss the software part and... Well, how to properly wire it too :stuck_out_tongue: but I'm sure that's way easier than the plug-in part for me...

Your idea sounds feasible indeed! Please tell me more about it :slight_smile:

If you have the full unit (pc board and all)

There are a number of options on how to convert the signal coming from your INFIDEL. But I am only going to suggest one since you do not seem to be experienced in this area. This is the easiest and safest to do.

  • Wire up a relay/module in parallel to the FAULT LED or better yet, remove the LED and wire in the relay module in its place, the relay module will have an LED on it too. I would go with a module like this one. Then you can wire up the relays normally Open contact to your Pi on the ground and IO pin of choice.

Now just install the Filament Sensor Reloaded its the only one that is currently compatible with Python3 so its really the only choice if you are using a pie and want to stick to native IO.

Then follow the instructions to make the PlugIn work. When it talks about the filament sensor, replace that with your normally open relay contacts.

Seems like a straight shot to making this work.

Good luck, let me know if you have questions. I will try to help.

Thanks for that!

I've just ordered the relay module.

Is it completely required to put it in place of the LED? I mean, any of the pins on the infidel wouldn't work for this use?

Yes, you are correct, you can use any of the free IO pins. But you will need to update the firmware to output in the same way as the Fault LED. If you are comfortable doing that, I would suggest that you use a free IO pin.

My goal was to keep it as simple as possible. Getting into the firmware even though it is not very complex itself adds an additional level of difficulty to the project.

1 Like

I think I'm comfortable enough to that level. I appreciate your approach! :wink:

So I guess I'll need an arduino to program the firmware with the change.

Let me see if I can sort this out.

Many thanks!

3 Likes