Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
Daid

Build-Me-Marlin

Recommended Posts

With all these tips to "upgrade to Marlin!" going around. I thought, the Arduino development environment is quite a hurdle. And I wanted to add pre-build hex files to my Skeinforge_PyPy.

But then I figured, I want to give people options, options to set the baudrate, options to enable/disable the software endstops (which is causing greef) and many more...

So I ended up with...

http://daid.eu/~daid/marlin_build/

A tool to help you build every type of Marlin you want. Packed up in an easy installable way. The zip version comes with "avrdude" and a batch file for windows. You don't need anything else to install the firmware.

It's building my own branch of Marlin,

https://github.com/daid/Marlin

which is up to date with the ErikZalm version, with a few build fixes I encountered. It caches build, so if you choose the same options it's instant ready for download.

It's still experimental, but the ErikZalm branch is proving to be pretty stable. And I've been printing with this version without problems. Note that some combinations of settings might not build. If it's something that should work, let me know.

I hope this helps in pointing people to proper versions of Marlin.

Share this post


Link to post
Share on other sites
Hey, that is pretty slick!

Any chance of including acceleration and jerk?

PS, curious about the default values you have there as they differ from default Marlin

Only the steps per E is a bit different from the default ErikZalm/Marlin the rest should be the same...

I'll be including a few missing options like acceleration, jerk and max feedrate soon. (That's what you get for thinking "nobody wants to change those options"...)

Share this post


Link to post
Share on other sites

Hello Daid,

Very nice feature,

Let me know if you need any changes to Marlin to improve it even more.

Maybe one feature request. Can you make a save and load function. Then it is possible to store your settings if you want to upgrade to a new version.

(Or is this already possible)

Best regards,

Erik van der Zalm

Share this post


Link to post
Share on other sites

The URL you use to generate is the "stored" option. It's not that user friendly, but you can link other people to it and store it for yourself.

The most important changes I needed you have already merged, those where the new Arduino and compiler fixes. Couldn't have done it without your stable beta version!

Share this post


Link to post
Share on other sites

Not sure why they would want sprinter, which isn't... as good as Marlin.

But no problem. It does require a lot to setup, you would need a server that allows you to run compilers from within php. Which is not something most hosting providers will like :p

I'm running it on my own machine. It's quite a difficult setup (compiled my own avr compiler, made some adjustments in Arduino headers), so if you can tell me which IRC server and channel I'll just jump in there and help out.

The actual php script is only 1000 lines of code or so. And it's not pretty :p but it works.

Share this post


Link to post
Share on other sites

Hello Daid,

They have the same acceleration now in sprinter experimental. I do not know why they did it.

The question came from josef prusa (nick josefprusa) on #reprap

Ask for josef or Kliment.

Best regards,

Erik van der Zalm

Share this post


Link to post
Share on other sites

Daid, i am just building my ulitmaker would you recommend your default build to start with ? as i plan on jumping to Marlin straight away, and also will be using Netfabb as well.

One other thing i am not sure about, will i need to add the M92 E14 line to Netgfabb if i use your build of Marlin ?.

Jonathan

Share this post


Link to post
Share on other sites
One other thing i am not sure about, will i need to add the M92 E14 line to Netgfabb if i use your build of Marlin ?.

Yes!

Actually, I don't know but having it in there won't hurt - better to be safe and just add it to netfabb until it starts supporting volumetric 5d.

Share this post


Link to post
Share on other sites
Daid, i am just building my ulitmaker would you recommend your default build to start with ? as i plan on jumping to Marlin straight away, and also will be using Netfabb as well.

One other thing i am not sure about, will i need to add the M92 E14 line to Netgfabb if i use your build of Marlin ?.

Jonathan

You can use my default build to start with, but then I recommend you also use SkeinPyPy (Alpha4 or Beta2). Because using the defaults with ReplicatorG won't work.

I recommend you make sure your machine works with the default firmware that ships with it, and RepG. Just so you're not changing 1000 things at once. And one you know it's working you switch to Marlin.

Share this post


Link to post
Share on other sites

Daid, could you explain how to upgrade the firmware from the "Build-Me-Marlin", currently the only way i have been able to upgrade any firmware is within RepG 26, i have tried using Arduino 22 which seems to upload fine but printrun does not gain control and then RepG will also not connect.

The good thing is when i reupload via Repg i have a working machine again.

Also i have tried the ErikZalm-Marlin V1 RC2 and this does not work also using Arduino 22.

So i am a little stuck at the moment, as i would like to use "Build-Me-Marlin" and printrun now that my Ultimaker is operational.

Jonathan

Share this post


Link to post
Share on other sites

Uh:

-Open the page

-Leave everything at default

-Press [build marlin!]

-Download the zip

-Extract it somewhere

-Run batch file

-Enter correct com port

-Wait a while

-Start printrun

-Configure printrun to 250000 baud

-Connect

If that fails at the last step, then try configuring 115200 baud in the tool, and printrun, not all machines seem to like 250000 baud.

Share this post


Link to post
Share on other sites

Seems like i spoke to soon, it seems the limit switches are disabled with the firmware, i was using printrun to set the Z level, and the X & Y

did not stop when the limit switch's clicked, and also Z did not work at the start of a 2nd print and etched a track into the plastic plate and tape.

Also with Netfabb generated Gcode i just get printrun showing a repeating T option in the box on the righthand side and nothing prints, i can get prints with Skeinpypy. But not good prints (but that is for the skeinpypy thread).

Share this post


Link to post
Share on other sites
Seems like i spoke to soon, it seems the limit switches are disabled with the firmware, i was using printrun to set the Z level, and the X & Y

did not stop when the limit switch's clicked, and also Z did not work at the start of a 2nd print and etched a track into the plastic plate and tape.

The "use endstops only for homing" option does that. It's under "Software - Basic"

 

Also with Netfabb generated Gcode i just get printrun showing a repeating T option in the box on the righthand side and nothing prints, i can get prints with Skeinpypy. But not good prints (but that is for the skeinpypy thread).
That's because NetFabb uses 3x M109, so it waits 3x30 seconds. Adjust the "M109 settings" and set the "Wait time" to 3 seconds. Then it will wait 9 seconds after heating up.

Share this post


Link to post
Share on other sites

Downloaded the firmware with the two options as your post above, and these

are now working fine :)

Final issue i have is that the extrude wheels spins very quick and is grinding the

filamnet when using the firmware with netfabb and print run.

Would this down to needing the M92 E14 command in the gcode header for Netfabb, as

i removed it thinking it was only required for Repg26.

Share this post


Link to post
Share on other sites
Downloaded the firmware with the two options as your post above, and these

are now working fine :)

Final issue i have is that the extrude wheels spins very quick and is grinding the

filamnet when using the firmware with netfabb and print run.

Would this down to needing the M92 E14 command in the gcode header for Netfabb, as

i removed it thinking it was only required for Repg26.

Yep

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

Terms of Use Privacy Policy