Welcome! Log In Create A New Profile

Advanced

I3 adding Filament sensor and heatbead auto level

Posted by Blisk 
I3 adding Filament sensor and heatbead auto level
July 18, 2018 07:37AM
I am trying to upgrade my printer with filament sensor and heatbead auto level.
Now with installing that on printer all goes ok, but problem is with code, with arduino, because I can not find where to change code in my firmware for that.
Marlin_GT2560-PI3_Pro_C.zip
I followed this but stuck with code for setup filament sensor.


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

I found file pins.h and there is already many times this line
#define X_MAX_PIN -1
so didn't change anything but when I try to add this #define FIL_RUNOUT_PIN 24
don't know where to add that.

Can someone please help me with this?
Thank you


Edited 3 time(s). Last edit at 07/18/2018 07:51AM by Blisk.
Re: I3 adding Filament sensor and heatbead auto level
July 18, 2018 08:52AM
the attached firmware has a very old version of marlin in it that has one large pins.h with all motherboards in it...

This firmware has no code to support a Filament sensor (FIL_RUNOUT_PIN is not in the code anywhere, bit it is in the current marlin)

You need to update your marlin first.
Re: I3 adding Filament sensor and heatbead auto level
July 18, 2018 09:45AM
How can I update Merlin??
I searched on board manufacturer for new firmware but all is dated on 2015
Re: I3 adding Filament sensor and heatbead auto level
July 23, 2018 07:53AM
I have manage to update marlin it is now 1.1.8
Problem is because sensor recognise heatbead but doesn't stop Z motors it continue to Z min switch.
what can be wrong?
Attachments:
open | download - Configuration.h (65.1 KB)
Sorry, only registered users may post in this forum.

Click here to login