Welcome! Log In Create A New Profile

Advanced

Two filament runout sensors on one pin

Posted by Schild0r 
Two filament runout sensors on one pin
April 10, 2019 09:04AM
Hi there,

My machine is running Marlin 1.1.9 with two extruders
and I was wondering if I install a filament runout sensor for each extruder and wire them in parallel to only one (endstop-)pin would that work?

I imagine it could be possible that once the runout gets triggered and the machine starts the filament change procedure, that it would do that with whatever extruder is the currently active one.
I guess this would only work with "open when filament present" switches (because of parallel AND/OR logic).

Has anyone tried this yet?
Re: Two filament runout sensors on one pin
April 10, 2019 09:36AM
It would depend on if the filament run-out switch was NO or NC.

With filament inserted the state of the switches are

If both are open then you could wire them in parallel, with both open then when filament runs one or both changes to closed you have detected filament run-out.
Set logic to detect filament on open.

If both are closed then you could wire them in Series, with both closed then when filament runs one or both changes to open you have detected filament run-out.
Set logic to detect filament on Closed.

In short YES! it can be done using a set of switches in Series or in parallel.


Computer Programmer / Electronics Technician
Re: Two filament runout sensors on one pin
April 10, 2019 10:01AM
It not going to work...

Eg

Your printing with T0, someone pulls the filament out of T1, (perhaps preparing for the next print) printing stops...
Re: Two filament runout sensors on one pin
April 10, 2019 10:19AM
Quote
Dust
Your printing with T0, someone pulls the filament out of T1, (perhaps preparing for the next print) printing stops...

I am aware of this and this is a sacrifice I would make.
Normally I try not to do anything with the printer until its done printing...

My question aimed for the behaviour of marlin:
Will marlin start the filament change procedure always for the extruder that is the currently active one when there is only one runout sensor and that one is being triggered?

Edited 1 time(s). Last edit at 04/10/2019 10:20AM by Schild0r.
Re: Two filament runout sensors on one pin
April 10, 2019 11:15AM
Marlin 2.0.x has the Option to turn the run-out sensor : (" on/off ") through the LCD control. Maybe something like this would better suit your needs.

Runout sensor : on/off

You are in hte process of updating to marlin may be a good time to jump into Marlin 2.0.x.

I have and think it is great!!!


Computer Programmer / Electronics Technician
Re: Two filament runout sensors on one pin
April 10, 2019 02:41PM
Quote
Roberts_Clif
Marlin 2.0.x has the Option to turn the run-out sensor : (" on/off ") through the LCD control. Maybe something like this would better suit your needs.

Runout sensor : on/off

You are in hte process of updating to marlin may be a good time to jump into Marlin 2.0.x.

I have and think it is great!!!

I read that marlin 2.0 only makes sense on 32bit boards because marlin automatically will take the 1.1.9 version to run on 8 bit. Is that true?
Re: Two filament runout sensors on one pin
April 10, 2019 04:47PM
I Upgraded to Marlin 2.0.x with My Hictop i3 Prusa MEGA2560 R3 controller that is ramps 1.3/1.4 ramps compatible, I believe it is more of a MKS Style Ramps because it will handle dual extruders.
I have installed it on Base v1.3, MPX.3 and MPK V1 controllers.

These controllers were previously configured with Marlin 1.x.x
#define MOTHERBOARD BOARD_RAMPS_13_EFB
#define MOTHERBOARD BOARD_RAMPS_14_EFB

An now Marlin 2.0.x
#define MOTHERBOARD BOARD_MKS_BASE_14

And have printed very good quality 3D Models.
In the Process of Adding 2nd extruder or Laser have not decided if the Laser should be on a separate Mostly Printed MPCNC yet...




Marlin 2.0.x controlled By OctoPrint using the Octolapse plugin.

[youtu.be]

Edited 3 time(s). Last edit at 04/10/2019 05:05PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: Two filament runout sensors on one pin
April 10, 2019 06:12PM
Quote
Roberts_Clif
I Upgraded to Marlin 2.0.x with My Hictop i3 Prusa MEGA2560 R3 controller that is ramps 1.3/1.4 ramps compatible, I believe it is more of a MKS Style Ramps because it will handle dual extruders.
I have installed it on Base v1.3, MPX.3 and MPK V1 controllers.

These controllers were previously configured with Marlin 1.x.x
#define MOTHERBOARD BOARD_RAMPS_13_EFB
#define MOTHERBOARD BOARD_RAMPS_14_EFB

An now Marlin 2.0.x
#define MOTHERBOARD BOARD_MKS_BASE_14

And have printed very good quality 3D Models.
In the Process of Adding 2nd extruder or Laser have not decided if the Laser should be on a separate Mostly Printed MPCNC yet...



Marlin 2.0.x controlled By OctoPrint using the Octolapse plugin.

[youtu.be]

Sorry that does not have to do anything with my original question
Re: Two filament runout sensors on one pin
April 10, 2019 07:01PM
Sorry
Quote
Schild0r

I read that marlin 2.0 only makes sense on 32bit boards because marlin automatically will take the 1.1.9 version to run on 8 bit. Is that true?

I was answering your above question, and the answer Marlin 2.0.x works great with Mega 2560 R3 controllers.

False Marlin 1.1.9 is very buggy would go with Marlin 1.1.9BF or Marlin 2.0.x with the extended features like
#define JUNCTION_DEVIATION vs JERK
#define RESTORE_LEVELING_AFTER_G28 // Restore Bed leveling after G28

Ect.......

Edited 1 time(s). Last edit at 04/10/2019 07:02PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Sorry, only registered users may post in this forum.

Click here to login