Marlin - Setting Up Cyclops Hot End

Code hacking talk

Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-Apr-Sat-19-Apr

Hello,

I have yet another Marlin issue. I have a Cyclops hot end which only has one heater and one thermistor, so Marlin is returning a dangerous extrusion prevention error for the second extruder because there is no temperature reading.

Obviously turning off the dangerous extrusion settings would fix it, but I would rather make it read the first and second temperature from the same thermistor without having to split the thermistor wires. Is this possible?

Thanks!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Marlin - Setting Up Cyclops Hot End

Sponsor

Sponsor
 

Re: Marlin - Setting Up Cyclops Hot End

Postby 2Mylent » 2015-Apr-Sat-19-Apr

If i understand the question.
In my research on modifying the firmware, I saw that in the Marlin file "configuration.h" were:
#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 1
#define TEMP_SENSOR_2 1
#define TEMP_SENSOR_BED 1

Therefore it is possible to have three temperature sensors to the extruder 1 for the bed.
  • 0

Printrbot Simle Metal + Upgrade Heatbed / Upgrade E3D v6 / Simplify3D / Win7 64bits
http://www.2mylent.fr/Helicos/
FRANCE
User avatar
2Mylent
Waiting for extruder temp...
 
Posts: 96
Joined: 2015-Feb-Tue-16-Feb
Location: France
Reputation: 0

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-Apr-Sat-20-Apr

2Mylent wrote:If i understand the question.
In my research on modifying the firmware, I saw that in the Marlin file "configuration.h" were:
#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 1
#define TEMP_SENSOR_2 1
#define TEMP_SENSOR_BED 1

Therefore it is possible to have three temperature sensors to the extruder 1 for the bed.

That's actually to setup which temperature table your hotend uses. The number after the "_" is the thermistor itself, so it still wouldn't work.

Thank you though!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby Mooselake » 2015-Apr-Sun-11-Apr

See if this helps. It was the second entry when googling "configure marlin firmware cyclops" (no quotes...)

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
User avatar
Mooselake
My next printer is...
 
Posts: 3575
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 171

Re: Marlin - Setting Up Cyclops Hot End

Postby frankv » 2015-Apr-Sun-17-Apr

Good find Kirk!

Looking at this, I'd say to find this line in pins.h (MOTHERBOARD == 81 means the PrintrBoard)...

Code: Select all
#if MOTHERBOARD == 8 || MOTHERBOARD == 81


This is line 1506 in pins.h in Marlin_bedlevel_simple.zip which is right for my Rev-D board. I don't know if the Rev-F file is different.

Below that, find this line

Code: Select all
#define TEMP_1_PIN         2


Change that to be the same as the TEMP_0_PIN (1 in my version). i.e.

Code: Select all
#define TEMP_1_PIN         1


I'm guessing this will be the same for other versions of the board, unless PrintrBot changed the layout between versions.

Frank
  • 0

frankv
First blob a success!
 
Posts: 519
Joined: 2015-Jan-Thu-12-Jan
Reputation: 18

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-Apr-Sun-20-Apr

Mooselake wrote:See if this helps. It was the second entry when googling "configure marlin firmware cyclops" (no quotes...)

Kirk

Thanks Mr. Moose, I missed that in my Googling I guess!
frankv wrote:Good find Kirk!

Looking at this, I'd say to find this line in pins.h (MOTHERBOARD == 81 means the PrintrBoard)...

Code: Select all
#if MOTHERBOARD == 8 || MOTHERBOARD == 81


This is line 1506 in pins.h in Marlin_bedlevel_simple.zip which is right for my Rev-D board. I don't know if the Rev-F file is different.

Below that, find this line

Code: Select all
#define TEMP_1_PIN         2


Change that to be the same as the TEMP_0_PIN (1 in my version). i.e.

Code: Select all
#define TEMP_1_PIN         1


I'm guessing this will be the same for other versions of the board, unless PrintrBot changed the layout between versions.

Frank

Thanks for this Frank, I'm using a RAMPS board but this should really help with my issues!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby frankv » 2015-Apr-Mon-03-Apr

OK, for RAMPS, in the latest development version you want the file pins_RAMPS_13.h, lines 112-113.

Code: Select all
#define TEMP_0_PIN         13   // ANALOG NUMBERING
#define TEMP_1_PIN         15   // ANALOG NUMBERING
#define TEMP_2_PIN         -1   // ANALOG NUMBERING


Again, change TEMP_1_PIN to be the same as TEMP_0_PIN.
  • 0

frankv
First blob a success!
 
Posts: 519
Joined: 2015-Jan-Thu-12-Jan
Reputation: 18

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-Apr-Mon-03-Apr

frankv wrote:OK, for RAMPS, in the latest development version you want the file pins_RAMPS_13.h, lines 112-113.

Code: Select all
#define TEMP_0_PIN         13   // ANALOG NUMBERING
#define TEMP_1_PIN         15   // ANALOG NUMBERING
#define TEMP_2_PIN         -1   // ANALOG NUMBERING


Again, change TEMP_1_PIN to be the same as TEMP_0_PIN.

Thank you Frank, I'll try this tomorrow!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby Mooselake » 2015-Apr-Mon-12-Apr

orangefurball wrote:Thanks Mr. Moose, I missed that in my Googling I guess!

Some days the fu is strong, some days it's weak.

May the fu be with you.

Kirk
  • 1

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
User avatar
Mooselake
My next printer is...
 
Posts: 3575
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 171

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Sun-22-May

Alright, I made the modifications to the pins.h page and when I go to compile I get an error. Here it is...

Code: Select all
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_RPORT" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1054: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1054: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_RPORT" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_PIN" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1071: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1071: error: invalid suffix "_PIN" on integer constant
temperature.cpp: In function 'void __vector_22()':
temperature.cpp:1054: error: 'DIO' was not declared in this scope
temperature.cpp:1071: error: 'DIO' was not declared in this scope


Not really sure what to do here. I cannot find "DIO" anywhere. Anyone know where to look?
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby plexus » 2015-May-Sun-22-May

  • 0

User avatar
plexus
Site Admin
 
Posts: 2116
Joined: 2011-Dec-Mon-16-Dec
Location: Toronto, Canada
Reputation: 95

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Sun-22-May

plexus wrote:DIO

Good find, that solved everything!

Well, actually I just forgot to change a number but I would be lying if I said that amazing band didn't help me through it.
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Tue-02-May

Welp, after messing about for the day with the Cyclops, it seems as though it just is not meant to be. Marlin has trouble with single nozzle, dual extruder setups and Repetier firmware does not have the auto-calibration needed. Looks like this hot end will be collecting dust until I find another use for it, maybe it will go on the Jonbot Plus.
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby PxT » 2015-May-Tue-17-May

So did you get the firmware working but run into some other problem? Curious, because I have a Diamond Hotend (3-color, single nozzle) on the way.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1340
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Tue-18-May

Yes, marlin has trouble with multiple color single nozzle hot ends I guess, so I'm probably going to stick this on my Jonbot Plus and switch to Repetier firmware.

Basically what happens is you can extrude the first color just fine, but the second (and third I suppose) won't extrude at all, the hot end simply continues to go up and up and up while ignoring all endstops and commands.
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby frankv » 2015-May-Tue-19-May

Goes up & up???? Sounds like your 2nd extruder is mixed up with your Z axis?
  • 0

frankv
First blob a success!
 
Posts: 519
Joined: 2015-Jan-Thu-12-Jan
Reputation: 18

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Tue-19-May

Nope, it's definitely just a Marlin bug (its a delta, X Y and Z all move up at the same time)

E3D also has on their wiki that there is a bug with Marlin and recommend Repetier
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby Mooselake » 2015-May-Thu-11-May

Don't forget to create an issue for the bug on github.

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
User avatar
Mooselake
My next printer is...
 
Posts: 3575
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 171

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Thu-13-May

Mooselake wrote:Don't forget to create an issue for the bug on github.

Kirk

Will do!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby PxT » 2015-May-Thu-15-May

orangefurball wrote:Yes, marlin has trouble with multiple color single nozzle hot ends I guess, so I'm probably going to stick this on my Jonbot Plus and switch to Repetier firmware.

Basically what happens is you can extrude the first color just fine, but the second (and third I suppose) won't extrude at all, the hot end simply continues to go up and up and up while ignoring all endstops and commands.



That's weird because the Diamond Hotend guys say they have been doing all their development with Marlin.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1340
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Thu-15-May

PxT wrote:
orangefurball wrote:Yes, marlin has trouble with multiple color single nozzle hot ends I guess, so I'm probably going to stick this on my Jonbot Plus and switch to Repetier firmware.

Basically what happens is you can extrude the first color just fine, but the second (and third I suppose) won't extrude at all, the hot end simply continues to go up and up and up while ignoring all endstops and commands.



That's weird because the Diamond Hotend guys say they have been doing all their development with Marlin.

Hmph, maybe they've cracked it then? Not sure. I'm going to revisit it in a couple of weeks probably.
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby frankv » 2015-May-Thu-20-May

Maybe the Diamond guys have customized their Marlin?
  • 0

frankv
First blob a success!
 
Posts: 519
Joined: 2015-Jan-Thu-12-Jan
Reputation: 18

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Thu-20-May

frankv wrote:Maybe the Diamond guys have customized their Marlin?

If they did they should release their fixes!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Re: Marlin - Setting Up Cyclops Hot End

Postby PxT » 2015-May-Fri-11-May

No, they just document setting the 3 sensor pins to the same value - same as what was discussed earlier in this thread. The details are on the reprap.org wiki
  • 1

User avatar
PxT
Print complete...
 
Posts: 1340
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Marlin - Setting Up Cyclops Hot End

Postby orangefurball » 2015-May-Fri-19-May

PxT wrote:No, they just document setting the 3 sensor pins to the same value - same as what was discussed earlier in this thread. The details are on the reprap.org wiki

That's strange, I did exactly that and it didn't work. I'll have to look into it again. Thanks!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron