Filament detector with GT2560 board.

Blisk
Posts: 28
Joined: Wed Dec 23, 2015 3:05 am

Re: Filament detector with GT2560 board.

Post by Blisk » Wed Jul 18, 2018 2:22 pm

Can anyone help me with this, please? :cry:

Zyrena
Posts: 2
Joined: Mon Jul 23, 2018 7:43 pm

Re: Filament detector with GT2560 board.

Post by Zyrena » Mon Jul 23, 2018 7:51 pm

Bit of a newbie to the whole 3D printer thing and a have a question regarding this mod. I'm using this board and also using one of those auto-levelling sensors. I see you are taking the 5v from the BL Sensor pin to the filament out detector. Now I'm not all that geared up on the electronics but wondered if it is still going to be safe to draw the 5v with the autoleveller as well as using the filament detector?

Blisk
Posts: 28
Joined: Wed Dec 23, 2015 3:05 am

Re: Filament detector with GT2560 board.

Post by Blisk » Tue Jul 24, 2018 8:49 pm

filament detector is just a regular switch like Xmin or Ymin but with led. It doesn't consume alot of power

Zyrena
Posts: 2
Joined: Mon Jul 23, 2018 7:43 pm

Re: Filament detector with GT2560 board.

Post by Zyrena » Wed Jul 25, 2018 1:43 pm

Thanks for the reply! Yes I thought this would be the case, but always better to check first when I'm not 100% sure what I'm doing, :)

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Filament detector with GT2560 board.

Post by William » Mon Nov 26, 2018 10:25 am

Blisk wrote:
Tue Jul 24, 2018 8:49 pm
filament detector is just a regular switch like Xmin or Ymin but with led. It doesn't consume alot of power
If you want to add it, the pwm port is needed.
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

SmithRC
Posts: 1
Joined: Sun Jan 06, 2019 4:44 am

Re: Filament detector with GT2560 board.

Post by SmithRC » Sun Jan 06, 2019 5:21 am

Hi All...

I'm fairly new to Marlin and the add-ons it offers, So I found myself here via google to setup a simple filament sensor on my GT2560 Rev A i3 Pro B

I started from a virgin version of Marlin and have so far added auto level bed sensor (using an SN04 sensor)
I'm now taking the z-axis micro-switch and making it into the filament sensor.

So... I've not set my motherboard correctly in Marlin (only just realised this) so I've now figured out that I needed to make changes to the Ultimaker_pins file and not the GT2650reva one.

anyway...
I'm running V1.1.8 and have changed the following -

So in the ultimaker_pins file, In the limit switches section...

Code: Select all

#define X_MAX_PIN          -1  // Changed to allow allocation for FIL_RUNOUT_PIN - was 24
and then added the following line at the bottom of that section

Code: Select all

#define FIL_RUNOUT_PIN     24  // Changed - added line to re-assign pin 24 for filament sensor
In the configuration.h
find this line and un-comment it

Code: Select all

#define FILAMENT_RUNOUT_SENSOR  //  Changed - was commented out - enabled for sensor
.

In the Configuration_adv.h
find these lines and un-comment them

Code: Select all

      #define NOZZLE_PARK_FEATURE  // Changed - was commented out - enabled for M600 command
      #define ADVANCED_PAUSE_FEATURE  //  Changed was commented out - enabled to support M600 for filament sensor and filament change.

Complied and uploaded ok.

After checking the status of the filament runout sensor using M119, it showed as triggered and open ok.
But it wouldnt print, it just kept looping the M600 filament change routine.

After a bit of double checking, all I needed to change was to

Code: Select all

#define FIL_RUNOUT_INVERTING true // Changed was false - Switch connected as NC when filament is present and open when its out.

Hope that helps people....

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Filament detector with GT2560 board.

Post by William » Mon Jan 07, 2019 2:40 pm

SmithRC wrote:
Sun Jan 06, 2019 5:21 am
Hi All...

I'm fairly new to Marlin and the add-ons it offers, So I found myself here via google to setup a simple filament sensor on my GT2560 Rev A i3 Pro B

I started from a virgin version of Marlin and have so far added auto level bed sensor (using an SN04 sensor)
I'm now taking the z-axis micro-switch and making it into the filament sensor.

So... I've not set my motherboard correctly in Marlin (only just realised this) so I've now figured out that I needed to make changes to the Ultimaker_pins file and not the GT2650reva one.

anyway...
I'm running V1.1.8 and have changed the following -

So in the ultimaker_pins file, In the limit switches section...

#define X_MAX_PIN -1 // Changed to allow allocation for FIL_RUNOUT_PIN - was 24
and then added the following line at the bottom of that section
#define FIL_RUNOUT_PIN 24 // Changed - added line to re-assign pin 24 for filament sensor

In the configuration.h
find this line and un-comment it
#define FILAMENT_RUNOUT_SENSOR // Changed - was commented out - enabled for sensor.

In the Configuration_adv.h
find these lines and un-comment them
#define NOZZLE_PARK_FEATURE // Changed - was commented out - enabled for M600 command
#define ADVANCED_PAUSE_FEATURE // Changed was commented out - enabled to support M600 for filament sensor and filament change.


Complied and uploaded ok.

After checking the status of the filament runout sensor using M119, it showed as triggered and open ok.
But it wouldnt print, it just kept looping the M600 filament change routine.

After a bit of double checking, all I needed to change was to
#define FIL_RUNOUT_INVERTING true // Changed was false - Switch connected as NC when filament is present and open when its out.


Hope that helps people....
Thanks for your sharing!We want to add it to the FAQ!
;)
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Alexesporte
Posts: 2
Joined: Tue May 02, 2017 2:38 am

Re: Filament detector with GT2560 board.

Post by Alexesporte » Thu Feb 07, 2019 4:25 am

You open Marlin in the Arduine and appears several abas. It's only going on aba pins.h

ThomasWright13
Posts: 1
Joined: Thu Jul 25, 2019 6:26 am

Re: Filament detector with GT2560 board.

Post by ThomasWright13 » Thu Jul 25, 2019 6:31 am

JohnDeere630 wrote:
Tue Jun 05, 2018 7:34 am
@ Ikn369330,
I'm sorry I didn't see this earlier; did you get this sorted? I had desolder the 2-pin X-max socket on the motherboard, and solder in a 3-pin socket.
https://www.writemyessay24h.net/
I made up a drawing to label the connectors on the board...
Actually, if you had bothered to follow the link to the MD web-site you would have seen that the black and white rates were almost identical, black rate at 18.3% and white rate at 19.4%.

Eisbaeeer
Posts: 2
Joined: Wed Mar 01, 2017 4:42 am

Re: Filament detector with GT2560 board.

Post by Eisbaeeer » Sat Mar 07, 2020 4:08 am

Hey guys
Is it also possible to realize a filament jam sensor?
I build a jam filament sensor who gives pulses if filament is running. If the filament is jamming, the pulses stops.
Did anybody realized such thing in firmware?

Greets Eisbaeeer
Filament-jam-sensor.png
Filament-jam-sensor.png (474.07 KiB) Viewed 19154 times

Post Reply