Page 1 of 3

Filament detector with GT2560 board.

Posted: Fri Mar 16, 2018 1:14 am
by JohnDeere630
I bought this filament detector on Amazon: https://www.amazon.com/Dovewill-Filamen ... t+detector
and got it to work on my GT2560 board-controlled I3. The wire from the sensor had to be rearranged on the board end, a 3-pin socket soldered in place of the 2-pin X-max socket, and pin assignments adjusted.......

Update 10/21/18.....
I am now running the latest Marlin firmware, Version 1.1.9, and nothing is changed except the Configuration.h and pins_GT2560_REV_A.h files, which I am attaching.
Below is the diagram I drew up to help keep the connections straight. Note that the socket that the filament detector plugs into, formerly the X-max sensor socket, has been replaced with a 3-pin socket to allow inclusion of the 5V+ pin. The wires coming from the detector had to be rearranged to match the socket.

Re: Filament detector with GT2560 board.

Posted: Tue Mar 20, 2018 1:58 pm
by William
Thanks for sharing! :D

Re: Filament detector with GT2560 board.

Posted: Wed Mar 21, 2018 9:10 am
by JohnDeere630
No problem. I got sick of baby-sitting long prints and wasting filament when I couldn't. It was an easy process, and has already paid for itself many times over.

Re: Filament detector with GT2560 board.

Posted: Sat May 05, 2018 7:03 pm
by Asuea
Hi JohnDeere630
How did you do that?
What did you change in the pins_ULTIMAKER.h code?
I'd like to know.

Thanks.

Re: Filament detector with GT2560 board.

Posted: Sat May 05, 2018 7:15 pm
by Asuea
Hi JohnDeere630

How did you do that?
What did you change in the pins_ULTIMAKER.h code?
I'd like to know.

Thank you very much.

Re: Filament detector with GT2560 board.

Posted: Tue May 08, 2018 2:11 pm
by JohnDeere630
Asuea,

There were 2 changes needed to the pins_ULTIMAKER.h file:
under the Limit Switches section, change the #define X_MAX_PIN value to #define X_MAX_PIN -1
and under the Misc. Functions, add this line: #define FIL_RUNOUT_PIN 24

This disables the X-max pin assignment, and reassigns pin 24 to the filament runout sensor.

Hope this helps!

Re: Filament detector with GT2560 board.

Posted: Sat May 12, 2018 2:40 am
by Asuea
[quote=JohnDeere630 post_id=84086 time=1525759883 user_id=52773]
Asuea,

There were 2 changes needed to the pins_ULTIMAKER.h file:
under the Limit Switches section, change the #define X_MAX_PIN value to #define X_MAX_PIN -1
and under the Misc. Functions, add this line: #define FIL_RUNOUT_PIN 24

This disables the X-max pin assignment, and reassigns pin 24 to the filament runout sensor.

Hope this helps!
[/quote]

Thanks

But I had to make the changes in pin_GT2560_REV_A.h. instead of pins_ULTIMAKER.h. because my 3D printer is a CTC clone and my motherboard is a 2560 REV A

It works!!

Re: Filament detector with GT2560 board.

Posted: Thu May 31, 2018 7:19 pm
by Ikn369330
Hi there, did your filament switch come with 3 wires and if so how did you wire that up on the GT2560 controller board?

Re: Filament detector with GT2560 board.

Posted: Tue Jun 05, 2018 7:34 am
by JohnDeere630
@ 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.

I made up a drawing to label the connectors on the board...

Re: Filament detector with GT2560 board.

Posted: Tue Jul 17, 2018 8:01 pm
by Blisk
Can someone help me with this.
I didn't find file pins_ULTIMAKER.h but it is pins.h
but still can't find a place where to add #define FIL_RUNOUT_PIN 24
Can someone help me with this?
Marlin_GT2560-PI3_Pro_C.zip
(299.21 KiB) Downloaded 869 times