pause when no more material
pause when no more material
Hi guys
I don't know if the problem was issued in this forums but I tried to find with not much success
The idea is to pause the print when there is no more raw material .To my opinion there are some printers with this kind of sensor ( but may be I am wrong) . from the electronic view can think of light source and photo electric sensor . I don't know much about the possibility to attach this to the Arudino board of the printer ( from electric and software point ) but if you guys can give my a clue(go/no_go) I can dive in .
I think that it is a nice feature specially if you print for long and can not be with the printer
My printer is M2 V4
regards Doron
I don't know if the problem was issued in this forums but I tried to find with not much success
The idea is to pause the print when there is no more raw material .To my opinion there are some printers with this kind of sensor ( but may be I am wrong) . from the electronic view can think of light source and photo electric sensor . I don't know much about the possibility to attach this to the Arudino board of the printer ( from electric and software point ) but if you guys can give my a clue(go/no_go) I can dive in .
I think that it is a nice feature specially if you print for long and can not be with the printer
My printer is M2 V4
regards Doron
Re: pause when no more material
This is a solved problem, at least for the switch hardware:
https://www.amazon.com/s?k=filament+sensor
Mechanical switches seem more reliable than optical, if only because of the usual fuzz.
It plugs into one of the unused limit switch jacks, although the connectors may not match.
Configuring the firmware to use the switch depends on which version you have, but for 1.1.0 (obsolete, but on my M2) you uncomment one line in Configuration.h:
Code: Select all
//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
Code: Select all
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#define FILRUNOUT_PIN 4
#endif
Re: pause when no more material
thanks
Did you mean to this one
"TriangleLab Filament Runout Sensor Detector for 3D Printer 1.75mm Filament
by GO-3D PRINT "
( you know this works with our type of printer ) because there are some types to sensors in the page
Did you mean to this one
"TriangleLab Filament Runout Sensor Detector for 3D Printer 1.75mm Filament
by GO-3D PRINT "
( you know this works with our type of printer ) because there are some types to sensors in the page
Re: pause when no more material
I just aimed you in the direction of buying something, rather than building it from scratch.
They're pretty much generic and, because I have zero experience with any of them, I can't recommend anything in particular.
Re: pause when no more material
thanks
Doron
Doron
Re: pause when no more material
OK - I got an error when compiling and uploading the reconfigured firmware
Here is the code..
#define FILAMENT_RUNOUT_SENSOR
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
//#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
#define FILAMENT_RUNOUT_SCRIPT "M600"
#define FIL_RUNOUT_PIN 23
#endif
Here is the error
In file included from /Configuration.h:795,
from /Marlin.h:22,
from BlinkM.cpp:5:
/Configuration_adv.h:289:12: error: missing binary operator before token "("
The code and the runout sensor design are derived from http://www.thingiverse.com/thing:3638968
For those that code you may see the issue easily - I'm not seeing it.
I really like what I ended up with as far as the whole device and will post it and instructions when I have it complete. This is the last step - I have it wired into the X MAX endstop.
Lowell
Here is the code..
#define FILAMENT_RUNOUT_SENSOR
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
//#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
#define FILAMENT_RUNOUT_SCRIPT "M600"
#define FIL_RUNOUT_PIN 23
#endif
Here is the error
In file included from /Configuration.h:795,
from /Marlin.h:22,
from BlinkM.cpp:5:
/Configuration_adv.h:289:12: error: missing binary operator before token "("
The code and the runout sensor design are derived from http://www.thingiverse.com/thing:3638968
For those that code you may see the issue easily - I'm not seeing it.
I really like what I ended up with as far as the whole device and will post it and instructions when I have it complete. This is the last step - I have it wired into the X MAX endstop.
Lowell
Re: pause when no more material
OK - figured that challenge out and the code compiled and uploaded - now time to test. Wanted to drop the code and the working notes here as I may not be able to for a few more days. Note lots of comments - just to keep my thoughts working.
//=======Runout Sensor work==================================================
#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
#ifdef FILAMENT_RUNOUT_SENSOR
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#define FILRUNOUT_PIN 24
#define FILAMENT_RUNOUT_SCRIPT "M600"
#endif
//#define FILAMENT_RUNOUT_SENSOR
//#ifdef(FILAMENT_RUNOUT_SENSOR)
//#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
//#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
//#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FILAMENT_RUNOUT_SCRIPT "M600"
//#define FIL_RUNOUT_PIN 24
//#endif
//===============
Again I'll test sometime today and hopefully, we'll be golden.
I'd love some input from you'all..
Lowell
//=======Runout Sensor work==================================================
#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
#ifdef FILAMENT_RUNOUT_SENSOR
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#define FILRUNOUT_PIN 24
#define FILAMENT_RUNOUT_SCRIPT "M600"
#endif
//#define FILAMENT_RUNOUT_SENSOR
//#ifdef(FILAMENT_RUNOUT_SENSOR)
//#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
//#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
//#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FILAMENT_RUNOUT_SCRIPT "M600"
//#define FIL_RUNOUT_PIN 24
//#endif
//===============
Again I'll test sometime today and hopefully, we'll be golden.
I'd love some input from you'all..
Lowell
Re: pause when no more material
Hi guys
I try to use the runout switch so I can use my filament till end so i got the hardware when I try to modify the Marlin software I notice that I can not use the M600 command to pause the print because ( to my opinion ) i have an old Marlin ver that don't support it ( try to dig in the software )
My printer is M2 i don't know what revision but as i find in the MakerGear site it use ver called "M2Marlin-01-14-2016-OriginalZMotor"
Do you know if I am right and what can I do about , modify the current software or use newer ver ?
Regards Doron
I try to use the runout switch so I can use my filament till end so i got the hardware when I try to modify the Marlin software I notice that I can not use the M600 command to pause the print because ( to my opinion ) i have an old Marlin ver that don't support it ( try to dig in the software )
My printer is M2 i don't know what revision but as i find in the MakerGear site it use ver called "M2Marlin-01-14-2016-OriginalZMotor"
Do you know if I am right and what can I do about , modify the current software or use newer ver ?
Regards Doron
Re: pause when no more material
Still trying to find the answer to my run-out sensor that doesn't trigger my Rambo board for a filament change out - see my above posts.
Any help would be highly appreciated.
Lowell
Any help would be highly appreciated.
Lowell
Re: pause when no more material
Still trying to find the answer to my run-out sensor that doesn't trigger my Rambo board for a filament change out - see my above posts.
Any help would be highly appreciated.
Lowell
Any help would be highly appreciated.
Lowell