Welcome! Log In Create A New Profile

Advanced

Extruder Output not switched???

Posted by matze 
Extruder Output not switched???
September 27, 2009 04:27PM
I need some Help.
I build A Reprap with a DC Motor Extruder and put Generation 2 Firmware on my Arduino.
X Y and Z Axies are working without problems.
The Extruder temperatur is at 190C but the PWM Pin 12 will never be switched.
What can be Reasons for that???

Need I change some Options in the Firmware for DC Motor driven Extruder?
What I need to set in The Host Software?

Can anybody help me and give me?
Re: Extruder Output not switched???
September 27, 2009 05:03PM
What is the target temperature? ABS is extruded at ~240C so you would not get any PWM until the temperature was higher.


[www.hydraraptor.blogspot.com]
Re: Extruder Output not switched???
September 28, 2009 06:35PM
Check out this thread: [dev.forums.reprap.org]
Re: Extruder Output not switched???
September 30, 2009 03:29PM
My target teperature is set to 190C but no signal on Pin12 if i want to extrude.

I checked out [dev.forums.reprap.org]
and tried to change the "if" parts in extruder.h but the same problem, no signal on Pin12.

Can I try an old firmware?
At the moment i use the firmware from here: [reprap.svn.sourceforge.net]
and only changed the stepper motor settings.
Where can i get an old fimware?
emt
Re: Extruder Output not switched???
October 01, 2009 04:50AM
Hi


You don't say which PWM board you are using.

Have you tested the board with a simple Arduino sketch?

[reprap.org]


Regards

Ian
Re: Extruder Output not switched???
October 01, 2009 09:22AM
Hi,

I use the circuit of DC Motor Driver 1.1 but if there is no signal the driver could not work.
I Think the Problem is the Firmware, if i close the (windows) Host software the motor runs for a few seconds.
Or could the host software be the Problem?

I don´t tested the simple Arduino sketch but i think that this will work.

Regards
emt
Re: Extruder Output not switched???
October 01, 2009 11:36AM
Which Host software?

I think most people have switched to G code firmware.

You can switch the extruder on with an M function from any suitable terminal software.

With most of the G code firmware you must issue an M108 S??? to set extruder speed before the M101 to switch it on otherwise the command is ignored.

M code reference here:-

[reprap.org]


Regards

Ian
Re: Extruder Output not switched???
October 03, 2009 05:32AM
Ha I got it... not completly but a bit.

I connected with the Hyperterminal.
I set the speed and tried to start the motor but nothing happened.
But the Direction Pin 12 is working correctly it changes the level (+5V to 0V)
if I change the direction with M101 or M103.
But NO PWM Output on Pin 11
(made a mistake in the opening Post, PIN11 is the PWM output Pin 12 is for Direction)
Need the Temperature be at 190C if I want to switch with Terminal???

Edited 1 time(s). Last edit at 10/03/2009 05:58AM by matze.
emt
Re: Extruder Output not switched???
October 03, 2009 09:43AM
Hi

You might be correct with some versions of the software that you have to be at temperature, I can't remember and my machine is out of action at the moment. You could check by setting temperature very low with the appropriate M function. Do your heater and thermister/thermocouple feed back work?


Regards

Ian
Re: Extruder Output not switched???
October 11, 2009 10:10AM
Hi,

is the extruder working minimum temperatur set in the firmware?
or can i set in the host software (for testing) 40C ?

Heater Thermistor feedback is working perfect the temperature is set to 190C and is between 188 and 192C could this be a Problem?

Regards

matze
Re: Extruder Output not switched???
November 13, 2009 01:35PM
Hello,

nobody any idea?

How can i find out if to much temperature hysterese the problem is?

Regards

matze
emt
Re: Extruder Output not switched???
November 14, 2009 03:43AM
Hi

Have you set a speed with M108 S??? before you send M101?


Regards

Ian
Re: Extruder Output not switched???
November 14, 2009 03:57AM
Hi,

yes i set the speed between 100 and 1000 (for testing) but when i send M101 nothing happens.
But he Direction Pin is working fine!

Regards

Matze
Re: Extruder Output not switched???
November 14, 2009 08:05AM
If you turn on Comm Debugging in the host software preferences and watch the terminal, you will get some diagnostic information. When you press the extrude button, you should expect to see two lines. First, the command is sent, then GCode Acknowledged is printed on the next line.
Re: Extruder Output not switched???
November 26, 2009 12:04PM
Thank you for the debugging tip, here is a part of my log:
Is the Temperature the Problem??

comms: G-code: T0 dequeued and sent [305,250s/1500ms]
comms: GCode acknowledged [305,282s/32ms]
comms: G-code: M105 dequeued and sent [305,282s/0ms]
comms: GCodeWriter.waitForOK() - temperature reading: T:189 [305,313s/31ms]
comms: GCode acknowledged [305,313s/0ms]
comms: G-code: T0 dequeued and sent [305,313s/0ms]
comms: GCode acknowledged [305,344s/31ms]
comms: G-code: T0 dequeued and sent [306,844s/1500ms]
comms: GCode acknowledged [306,844s/0ms]
comms: G-code: M105 dequeued and sent [306,844s/0ms]
comms: GCodeWriter.waitForOK() - temperature reading: T:188 [306,875s/31ms]
comms: GCode acknowledged [306,875s/0ms]
comms: G-code: T0 dequeued and sent [306,875s/0ms]
comms: GCode acknowledged [306,875s/0ms]
comms: G-code: T0 dequeued and sent [308,375s/1500ms]
comms: GCode acknowledged [308,391s/16ms]
comms: G-code: M105 dequeued and sent [308,391s/0ms]
comms: GCodeWriter.waitForOK() - temperature reading: T:190 [308,407s/16ms]
comms: GCode acknowledged [308,407s/0ms]
comms: G-code: T0 dequeued and sent [308,407s/0ms]
comms: GCode acknowledged [308,422s/15ms]
comms: G-code: T0 dequeued and sent [309,922s/1500ms]
Re: Extruder Output not switched???
November 26, 2009 10:43PM
1) I assume you have fived Disabled in the reprap host software otherwise it won't work with gen 2

2) I assume you have the DC bug fixed in the firmware otherwise it won't work.

If you want my version of the firmware (with the fix)
check out [dev.forums.reprap.org]
and download GCode_v1_13_20091126.zip

If you do use my version try this
Compile it with the serial debugger on in parameters.h
ie uncomment #define PROCESS_STRING_serial_monitor_debug and compile

open up the serial monitor (button next to the upload button)

and type

// Turn motor on
M108 S255;
M101;

reverse motor
M102;

Stop motor
M103;

Or maybe

/*
// set speed of motor
M108 S255;

// set temperature guard
M124 S020;

// start motor
M101;

*/



Goodluck

regards

Stephen

P.s. Your temperature output looks fine
P.s. Might want to take the nozzil off of the extruder if you are testing the motor.
p.s. Dc motor firmware fix [dev.forums.reprap.org]

Edited to put in where the DC firmware fix can be found

Edited 2 time(s). Last edit at 11/26/2009 11:22PM by stephen george.
Re: Extruder Output not switched???
November 27, 2009 01:28PM
Wohohoooo
it work´s

Now i use your firmware and it works fine for me.
But i need to change something on my Extruder Hardware :-(


Thank you very much for your help!!!
Re: Extruder Output not switched???
November 27, 2009 05:51PM
Good to hear you are up and running.

Don't suppose you could send me your config?

If you could fill in this it would be great.

Thanks

Stephen

// Firmware vX.X (e.g. 1.9) tested on the following environment
// OS - XXXXX (e.g. Windows XP),Compiler XXXXXX (e.g. Arduino v17 compiler),
// gcode provider (e.g. Reprap Newest software (global.FiveD=false,extruder0.extruder speed 255) )
// Microcontroler and hardware - XXXX (e.g. Arduino Duemilanove,v1.2 Stepper drivers,Homemade Temperature sensor,push button instead of Opto enstop,v1.1 PWM Drier,v1.1 DC Motor driver )
// Extruder XXXX (e.g. Homemade extruder with DC motor )
// Parameter changes to firmware - XXXX (e.g. #define INVERT_X_DIR X, #define USE_THERMISTOR, #define ENDSTOPS_INVERTING X, EXTRUDER_FORWARD false, EXTRUDER_REVERSE true )
// Pins Changed: (e.g Pin 15 used for enable/disable of stepper motors)
Re: Extruder Output not switched???
November 28, 2009 03:45AM
Hello,
no problem, here my config:

// Firmware 1.9 tested on the following environment
// OS - Windows XP,Compiler Arduino v17 compiler
// gcode provider reprap-host-windows-20090804 (global.FiveD=false,extruder0.extruder speed not known need to build an other) )
// Microcontroler and hardware - Arduino Duemilanove,Homemade Stepper drivers,Homemade Temperature sensor,actually no enstop,Homemade v1.1 PWM Driver,Homemade v1.1 DC Motor driver )
// Extruder Homemade extruder with DC motor
// Parameter changes to firmware endstops switched off, steppermotor max steps and steps/turn, y and z direction invert
// Pins Changed: no pins changed
Re: Extruder Output not switched???
November 29, 2009 10:49PM
Thank you. I will added it to the firmware documentation.

Regards

Stephen
Sorry, only registered users may post in this forum.

Click here to login