Marlin 1.1 config for TAZ6?

Look here for custom firmware, networked 3D printer hosts like OctoPrint, and more!
Post Reply
lutorm
Posts: 26
Joined: Sun Mar 26, 2017 11:35 am

Marlin 1.1 config for TAZ6?

Post by lutorm » Mon Jul 10, 2017 3:56 pm

Hey all,

I'm hoping to get the latest Marlin 1.1 working on my TAZ6. I've been going through the config files, comparing options between the lulzbot 1.0 Marlin and the TAZ example config in the Marlin repo, but there is a bewildering array of options. Has anyone already done this and gotten something working?

Edit: I have something basically running, except it does not detect the bed probe. Anyone know how this should be set up? I tried

Code: Select all

#define Z_MIN_PROBE_ENDSTOP
#define Z_MIN_PROBE_PIN 22
which is the pin defined in the Olive Marlin RAMBO board, but it never triggers.

lutorm
Posts: 26
Joined: Sun Mar 26, 2017 11:35 am

Re: Marlin 1.1 config for TAZ6?

Post by lutorm » Wed Jul 12, 2017 12:00 pm

Ok, got probing working. Pin 22 is correct, the trick was to make sure the Arduino IDE had "RAMBo" selected as the board, not the generic ATMega.

However, it appears this version of Marlin doesn't have any probing failsafe. If gunk on the nozzle prevents electrical contact with the table, it will happily continue running into the table indefinitely. The Lulzbot 1.0.x Marlin has a check that it only attempts to run the Z-axis to a certain point and if it hasn't stopped at that point it triggers the probe_failed function that does the rewipe. But this code is completely absent in 1.1.x. I added a simple check so it only runs to a predefined point and then aborts if it hasn't stopped before that point, which works, but does anyone know whether the probe_fail/rewipe is a lulzbot-specific mod to the Marlin used on the TAZ6? Otherwise I'm confused why it would be removed.

User avatar
mrvanes
Posts: 133
Joined: Sun Sep 18, 2016 3:40 am

Re: Marlin 1.1 config for TAZ6?

Post by mrvanes » Wed Jul 12, 2017 3:47 pm

My guess is that it has never been a part of stock Marlin but a Lulzbot feature. I've been looking into 1.1 for my Mini and observed the same omission. I still haven't compiled anything (got through merging the config files so far) but planned combining the probe_failed with the new G12 clean nozzle code and try to accomodate G12 to what wipe nozzle is in Lulzbot Marlin.

marcio
Aleph Objects | LulzBot
Posts: 44
Joined: Tue Jul 18, 2017 12:44 pm

Re: Marlin 1.1 config for TAZ6?

Post by marcio » Tue Jul 18, 2017 12:58 pm

lutorm wrote: I'm hoping to get the latest Marlin 1.1 working on my TAZ6. I've been going through the config files, comparing options between the lulzbot 1.0 Marlin and the TAZ example config in the Marlin repo, but there is a bewildering array of options. Has anyone already done this and gotten something working?
Hi Lutorm,

I am a relatively new employee at AlephObjects and I have been working on a Marlin 1.1.4 branch for TAZ 6 and Mini. There are indeed a bewildering number of options and making your own 1.1.4 firmware is not trivial, mostly because of the use of the Z endstops for auto-leveling and a few tweaks that were done for EMI prevention.

I have a preliminary version of Marlin 1.1.4 that works on the TAZ and Mini. Although at present it does not support reprobe/rewipe or e-step tuning of the FlexyStruder, it does print. If you want to try out the new firmware, the code is in the "devel" branch here https://code.alephobjects.com/diffusion ... wse/devel/. Be sure to read the "README_LulzBot.md" to learn how to configure it for different printers and toolheads and warning about using firmware that is under development.

-- Marcio

marcio
Aleph Objects | LulzBot
Posts: 44
Joined: Tue Jul 18, 2017 12:44 pm

Re: Marlin 1.1 config for TAZ6?

Post by marcio » Tue Jul 18, 2017 1:03 pm

lutorm wrote:The Lulzbot 1.0.x Marlin has a check that it only attempts to run the Z-axis to a certain point and if it hasn't stopped at that point it triggers the probe_failed function that does the rewipe. But this code is completely absent in 1.1.x. I added a simple check so it only runs to a predefined point and then aborts if it hasn't stopped before that point, which works, but does anyone know whether the probe_fail/rewipe is a lulzbot-specific mod to the Marlin used on the TAZ6? Otherwise I'm confused why it would be removed.
This indeed is something that is not in upstream Marlin, but probably should be. My "devel" branch does not do this check yet, so at the moment you are one step ahead of me :)

-- Marcio

User avatar
mrvanes
Posts: 133
Joined: Sun Sep 18, 2016 3:40 am

Re: Marlin 1.1 config for TAZ6?

Post by mrvanes » Wed Jul 19, 2017 3:13 am

marcio wrote:I am a relatively new employee at AlephObjects and I have been working on a Marlin 1.1.4 branch for TAZ 6 and Mini
This is great news! ;)

marcio
Aleph Objects | LulzBot
Posts: 44
Joined: Tue Jul 18, 2017 12:44 pm

Re: Marlin 1.1 config for TAZ6?

Post by marcio » Thu Jul 20, 2017 9:39 am

Rewipe is now implemented on the "devel" branch. Enjoy! :)

lutorm
Posts: 26
Joined: Sun Mar 26, 2017 11:35 am

Re: Marlin 1.1 config for TAZ6?

Post by lutorm » Sun Jul 23, 2017 12:17 am

Cool, I will give that a try!

As the default Marlin probe behavior is very unsafe, I hacked in a simple abort that only attempts to run the probe to a set z-height, not indefinitely like the default does. It doesn't do rewipe, but is safe. (I've found that the rewipe rarely helps, anyway. I've been printing a lot of Nylon, and when the nozzle gets gunked up it basically needs to get scraped off with a razor blade to get the probe working again.)

marcio
Aleph Objects | LulzBot
Posts: 44
Joined: Tue Jul 18, 2017 12:44 pm

Re: Marlin 1.1 config for TAZ6?

Post by marcio » Tue Aug 01, 2017 7:30 am

lutorm wrote:As the default Marlin probe behavior is very unsafe, I hacked in a simple abort that only attempts to run the probe to a set z-height, not indefinitely like the default does.
The current devel branch, Marlin 1.1.4.17 protects against this and does the rewipe. It's also come a fairly long way since my last post, so should work really well for you.

Give it a go. Any feedback would be appreciated :)

-- Marcio

User avatar
mrvanes
Posts: 133
Joined: Sun Sep 18, 2016 3:40 am

Re: Marlin 1.1 config for TAZ6?

Post by mrvanes » Sat Aug 12, 2017 1:25 am

marcio wrote:
Tue Aug 01, 2017 7:30 am
lutorm wrote:As the default Marlin probe behavior is very unsafe, I hacked in a simple abort that only attempts to run the probe to a set z-height, not indefinitely like the default does.
The current devel branch, Marlin 1.1.4.17 protects against this and does the rewipe. It's also come a fairly long way since my last post, so should work really well for you.

Give it a go. Any feedback would be appreciated :)

-- Marcio
Do you have a Mini hex binary that I can download somewhere, or source only for the moment? Eager to try, a bit weary to get my build env correctly setup for the purpose.

Post Reply