Dual extruders - firmware set-up

1,089 views
Skip to first unread message

Alex Gibson

unread,
Apr 6, 2014, 4:07:46 PM4/6/14
to tvrep...@googlegroups.com

Hi all,

 

Does anyone (Barnaby?) have an example Marlin firmware configuration for 2 extruders please?

 

I followed this:

http://www.instructables.com/id/Build-a-Dual-Extruder-for-3D-Printing/step13/Firmware-Modifications/

 

It’s fairly old, for the Printrbot, and contents of configuration.h doesn’t match those on our version.

 

I have hacked together the attached configuration.h file which I think might work, but before testing it I wondered if anyone had a known good setup?

 

Thanks,

 

Alex Gibson

 

+44 7813 810 765

 

·         Project management

·         Operations & Process improvement

·         3D Printing

 

Configuration.h

Barnaby

unread,
Apr 6, 2014, 8:55:17 PM4/6/14
to tvrep...@googlegroups.com

Conf just needs the second thermostat enabling, and conf_adv needs the extruder enabling. However I also had to change a few pins:
https://zi.is/p/changeset?reponame=Marlin&new=b75493f5d063205cfbfa601f3782dd9bdf867606%40%2F&old=1b218b01b24bd35e85e72327febbb1cd22444766%40%2F

Sorry about the certificate expiring it is fine.

David Wyatt

unread,
Apr 10, 2014, 5:21:09 PM4/10/14
to tvrep...@googlegroups.com, b+tv...@zi.is
I am just experimenting with this too, but am having problems if I set EXTRUDERS to 3 (not that I have built 2 more conventional extruders!*). Arduino (0023) throws a string of compile errors along the lines of:

stepper.cpp:427:1: error: pasting "DIO" and "!" does not give a valid preprocessing token
stepper.cpp:427:1: error: invalid suffix "_RPORT" on integer constant

(...multiple times, alternating _RPORT with _WPORT and _PIN...)

stepper.cpp: In function 'void __vector_13()':
stepper.cpp:426: error: 'DIO' was not declared in this scope
stepper.cpp:426: error: expected `)' before '!' token
stepper.cpp:883: error: expected `)' at end of input
stepper.cpp:883: error: expected statement at end of input
stepper.cpp:883: error: expected `}' at end of input
stepper.cpp:883: error: expected `while' at end of input
stepper.cpp:883: error: expected `(' at end of input
stepper.cpp:883: error: expected primary-expression at end of input
stepper.cpp:883: error: expected `)' at end of input
stepper.cpp:883: error: expected `;' at end of input
stepper.cpp:883: error: expected `}' at end of input
stepper.cpp:883: error: expected `}' at end of input
stepper.cpp:883: error: expected `}' at end of input
stepper.cpp:883: error: expected `}' at end of input
stepper.cpp:883: error: expected `}' at end of input

I ran into this originally when I set EXTRUDERS to 2 without also setting the thermistor types, and found https://github.com/ErikZalm/Marlin/issues/619 , so my assumption would be to try to find some other undefined pins and define them - but I can't see anything obvious... Does anyone have any pointers?

(Assuming this compiles and is stable, I'm also going to try setting BUFSIZE to 6 rather than 4 or 8 to see if that alleviates the pausing/clunking problem without causing other instability.)

Many thanks in advance,

David

*I'm currently trying to get up and running with a pair of peristaltic extruders based on the "plyump" design for my long-running black-and-white cake printer
idea...
Reply all
Reply to author
Forward
0 new messages