You are not logged in.

#1 2017-11-09 12:08:36

rob
Member
Registered: 2017-09-28
Posts: 54

Marlin 1.1.x with Z synchronization support

[EDIT] Starting from version 1.1.7, Marlin now officially include Z_move_comp as an option, no need for using outdated patched firmware.
Download latest version from http://marlinfw.org/meta/download/.
[/EDIT]

Dear all,

In case someone might be interested,  I branched Marlin 1.1.x and added NanoDLP Z axis synchronization ("Z_move_comp" output). This way you can use "Z_move_comp" output with latest Marlin features.
Compared to original MuveDLP patched firmware, I restricted the "Z_move_comp" output to G0/G1 commands which refers to Z axis. Commands related exclusively to other axis won't be affected.
I think this is a more correct implementation, it would be great if someone could confirm this.

You can clone it from here: https://github.com/robpower/Marlin/tree/1.1.x-NanoDLP.
Once downloaded, you should enable "NANODLP_Z_SYNC" option in "Configuration_adv.h" before compiling (uncomment line 1432: "//#define NANODLP_Z_SYNC" --> "#define NANODLP_Z_SYNC").

PS: I also branched the bugfix version and submitted a pull request to the main Marlin codebase. When accepted, the feature will be included in future releases so we could be able to upgrade and benefit other new Marlin features.

Last edited by rob (2017-12-16 10:07:54)

Offline

#2 2017-11-09 17:37:06

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

Congrats on the initiative !
I was highly anticipated for this.

I will surely test it ASAP !

Offline

#3 2017-11-12 01:22:49

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

Rob,

With Marlin-mUVe1DLP firmware I had problems with not being able to increase acceleration, despite the values I used.
Not to mention that mUVe is a branded product and I wanted my custom build unit to be in line with a broader community.

I was about to switch to Repetier, which I had no familiarity with and then I saw your post.
I tweaked minimally to adjust for my steps per mm and endstops,  using default values mostly, and acceleration is off the roof now!
That's going to speed up my printing significantly.

I can't thank you enough for sharing your work with Marlin 1.1.x !

Last edited by Yianni-VJ (2017-11-12 01:23:13)

Offline

#4 2017-11-12 15:56:29

rob
Member
Registered: 2017-09-28
Posts: 54

Re: Marlin 1.1.x with Z synchronization support

Yianni-VJ,
I'm glad to see it was useful to someone else, too.
Hopefully it will be merged soon to the main codebase.

PS: I tested it myself, and it works ok. Anyway, in case you notice any possible improvement I'm open to feedbacks.

Offline

#5 2017-11-14 01:32:05

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

Just a question:
Is M114 reporting in step values now?
Is there a way to have it report in mm?

Offline

#6 2017-11-14 09:28:19

rob
Member
Registered: 2017-09-28
Posts: 54

Re: Marlin 1.1.x with Z synchronization support

If you check it outputs both values: first mm, then pulses. Are you having any issue? Example (320pulses/mm):

X:0.00 Y:0.00 Z:180.00 E:0.00 Count X:0 Y:0 Z:57600

Last edited by rob (2017-11-14 09:28:48)

Offline

#7 2017-11-14 18:03:56

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

Oops, my eyes were tired last night and I jumped the gun smile
Thanks for the heads up.

Offline

#8 2017-11-20 16:07:13

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

I just noticed this msg in Terminal:
EPROM version mismatch (EEPROM=V09 Marlin=V41)
Is it something to be concerned about?

Offline

#9 2017-11-20 17:31:19

rob
Member
Registered: 2017-09-28
Posts: 54

Re: Marlin 1.1.x with Z synchronization support

Yianni-VJ wrote:

I just noticed this msg in Terminal:
EPROM version mismatch (EEPROM=V09 Marlin=V41)
Is it something to be concerned about?

Looks like you had some settings saved to eprom from previous firmware [V09]. (More info here).

If you have eprom disabled in configuration, this won't bother you (settings will remain the ones you configured in firmware). Otherwise, if you want EEPROM to be enabled, you will need to update the settings stored there.
This could be done once with:

M502;Revert to the default "factory settings(Stored in firmware configuration you flashed)
M500; Store current parameters in EEPROM.

This way EPROM should be updated to your firmware default. Version will now check and error should go away.

Last edited by rob (2017-11-20 17:31:34)

Offline

#10 2017-11-21 00:58:20

Yianni-VJ
Member
Registered: 2016-05-24
Posts: 95

Re: Marlin 1.1.x with Z synchronization support

I had no idea EEPROM settings stay after a firmware flash !
Thanks again Rob !

Offline

#11 2017-12-16 10:03:21

rob
Member
Registered: 2017-09-28
Posts: 54

Re: Marlin 1.1.x with Z synchronization support

Glad to announce that first Marlin stable release (v 1.1.7) including NanoDLP is officially available for download from Marlin website.

The feature is officially part of Marlin and will be included in all releases >=1.1.7 (including future 2.0 version).

PS: I would suggest to put this info here: https://www.nanodlp.com/download/.

Last edited by rob (2017-12-16 10:10:20)

Offline

#12 2017-12-18 01:40:10

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Marlin 1.1.x with Z synchronization support

Rob,

Thank you for the effort.

I agree that we should add it to the download page. Is there any user guide on how users could enable nanodlp support?

Offline

#13 2017-12-18 11:03:24

rob
Member
Registered: 2017-09-28
Posts: 54

Re: Marlin 1.1.x with Z synchronization support

I will try adding it to the official marlin docs in the next days.
Short version:
To enable it, you need to enable a couple of options/flags in config_adv.h before compiling Marlin source code. (Other options should be configured according to your printer, please check your previous config).
At the end of config_adv.h you will find:

  • define NANODLP_Z_SYNC : uncomment this one to enable Z_move_comp output for the following commands:

    • G1: only if command includes Z axis;

    • G4: always;

    • G28: only if homing Z or all axis;

  • define NANODLP_ALL_AXIS: uncomment also this line if you want Z_move_comp output from the following commands:

    • G1: always;

    • G4: always;

    • G28: always.

PS: if it's not too much effort and cost to set up and maintain, have you considered the possibility of a wiki? This might help the community to contribute to documentation. You made a great work, but first approach is often a bit hard as there is no extended documentation. We have the forum, which is great, but sometimes you have to read though many topics to understand features. A wiki might help to resume all that info spread across the forums.

Last edited by rob (2017-12-18 11:16:28)

Offline

#14 2017-12-18 18:58:35

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Marlin 1.1.x with Z synchronization support

Actually we used to have a wiki but no one contributed to smile

Offline

#15 2018-01-03 21:52:09

Dylan144GT
Member
Registered: 2017-09-25
Posts: 8

Re: Marlin 1.1.x with Z synchronization support

I spent today and yesterday moving from the patched version of Marlin to 1.1.8 which officially supports NanoDLP and the sync requirements. I must say, I feel piece of mind now - patches always feels unclean to me. Whilst doing this I also took the opportunity to install a TMC2100 and I cannot believe the difference! It actualle
made the setting up of Marlin difficult because I could not hear the ramping of the acceleration! It was a welcome problem to have!

Offline

#16 2018-03-03 16:31:07

colgeocol
Member
Registered: 2016-09-14
Posts: 23

Re: Marlin 1.1.x with Z synchronization support

Rob,

I really admire all the work you have provided for this forum.  Thank you.

I'm trying to build a bottom-up LCD DLP 3D printer with 2 Hall-effect endstops.  I'm using an Arduino Mega 2560 card and a Ramps 1.4 card.

I've never used Marlin before.  I downloaded the 1.1.8 version and obviously haven't got my Configuration.h and Configuration_adv.h set correctly as it won't compile without errors.

I've read on this forum that you are working on a bottom-up printer too.

Would it be possible for you to post these 2 files so they could be downloaded?

I'm sure others could use them too.

Offline

Board footer

Powered by FluxBB