[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Build Your Own SLA/SLS • How to move CW stepper motors?
Page 1 of 7

How to move CW stepper motors?

Posted: Tue Nov 18, 2014 6:24 pm
by dalaura10
Hello everyone, this is my first post, I want to congratulate this great community here and congratulate her on this great trabalho.Fico proud that in this world there are people like you guys.
I'm working on a project for a 3d printer, where I am using CW, but I fought hard and I can not rotate the engine.
My arrangement is with an Arduino uno drivers and two-step type DIV168N 3.5.
The links are correct, I believe, because another program made the engines run normally.
I'm using the file from this address:http://projectsinterestsandetcetera.com/3d-printer-rebuild-software-and-electronics/
Is well explained, has good graphics, but I could not success yet, do not know where the mistake is.
If you can help me I am very grateful.


Att
Dal Aura10

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 12:26 am
by PomeroyB
Hmm... You're using a pretty unusual setup.

I'd first upload some code to your Arduino to make sure your steppers are hooked up correctly. Check out for some examples using AccelStepper, the same library used in your link.

If the Uno successfully moves your steppers, then your problem is probably communication between the software and your firmware. I'd double check that the baud rates match first off, but without some more detail on your system, it's hard to diagnose.

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 5:40 am
by cncbasher
Hello .
contact me off list , to save running a large thread , and i'll help sort it out
if you have skype give me a call

Dave

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 4:54 pm
by dalaura10

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 5:03 pm
by dalaura10
PomeroyB

Sorry, forgot to pass you the link, here it is:

http://projectsinterestsandetcetera.com ... winder.zip

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 6:04 pm
by cncbasher
iv'e checked the code you linked to and it works fine here .
let me know of any changes you made to the code , setup values etc
and details of your interface . the interface as shown in the link , does work exactly as posted


Dave

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 6:20 pm
by dalaura10

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 6:35 pm
by dalaura10
let me know of any changes you made to the code

Hello Cncbasher
I have not made any changes in the code, I used as I downloaded, did dawnload and sent to the Arduino.
set my pins at the driver who has the program, This I did, The Arduino is configured on COM5, and the CW is also on COM5.

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 6:43 pm
by dalaura10

Re: How to move CW stepper motors?

Posted: Wed Nov 19, 2014 6:48 pm
by cncbasher
can you detail the changes you made to the arduino code
and the settings of the dip switches of the stepper driver

you can check if the board is at least communicating correctly by opening the arduino terminal
setting to the com port to use and baud of 115200
in the send box put : <INIT###'#'#
then press send
it should return the word: ok
that will at least check the communications is ok ..

in CW make sure Machine connection is correctly set to the comport used and baud rate

you should also find if the communications are working your onboard leds on your arduino will flash when data is sent and received
you need at least to modify the arduino code to the correct step values
to calibrate the number of steps per mm
and adjust the stepper driver switches to the correct microstepping steps

without knowing the switch settings you have on your stepper drivers , or what ballscrew tpi / threaded rod your using
it's difficult to know if these are correct for your setup , see the arduino code for the setup information
and let me know what you have

you can attach using the upload attachment tab when posting