Stepper Motor

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Stepper Motor

Post by JDR04 »

I'm hoping somebody can advise me as to what equipment I should buy to experiement with a stepper motor.

I'm under the impresion I should get a BIPOLAR stepper motor with a driver board. They look relatively cheap on EBAY so I would like to have a bash at it. Its nothing serious at the moment.

Any suggestions on drivers,motors and flowcode5 information will be appreciated.

Thanks a lot folks....JDR04, John

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stepper Motor

Post by Benj »

Hello,

It really depends what your after.

I have driven stepper motors using just NPN transistors such as TIP122, they work well and are cheap but you are limited to full stepping or half stepping.

If you need accuracy then I have also used the EasyStep driver boards from eBay which work very well but you have to wait for them to arrive. The drivers use microstepping so you get a very high resolution on the output shaft.
http://www.ebay.com/itm/EasyDriver-Shie ... 5d40fcd940

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Stepper Motor

Post by JDR04 »

Thanks benj, appreciate the info.

Can I use any bipolar stepper motor up to 12V?

Thanks......John

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stepper Motor

Post by Benj »

Hi John,

With steppers it's down to the gauge and resistance of the coil that dictates the amount of voltage/current the motor can handle. I normally over voltage steppers i.e. a 5V stepper can be driven at 12V with no issues as long as you take certain things into consideration. Driving a 5V motor at 12V gives you more speed and more torque.

1. Never leave current flowing through a stopped motor, as soon as you stop stepping remove the voltage from the motor coil or you will burn it out.
2. Try and drive the motor as fast as you can get away with, the slower you go the longer each coil will be powered which again will cause strain. Too fast and the motor will vibrate rather than rotate.
3. If you do need to go slow then maybe consider removing power in between steps so as to let current flow only long enough to move the motor to its next step position.
4. If you want the motor to go very fast then consider half stepping or micro stepping. Stepper motors cannot go from 0 to full speed in a single step, ramping the speed up and down is a good technique.

If you need the motor shaft to "lock" in position for any period of time then you will need to keep the motor coil powered so in this case I would not over voltage the motor.

When driving stepper I have used timer interrupts in the past. To change the step speed you simply alter the rate of the interrupt. The interrupt checks to see if the motor needs to step in either direction. If no step is required then the motor outputs are disabled.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Stepper Motor

Post by JDR04 »

Thanks Benj, any chance of providing a small example as to how you use the interupts please.

Thannks again........John

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Stepper Motor

Post by Steve001 »

Hi JDR04,

I use cnc4u for stepper motors and parts

http://cnc4you.co.uk/

Steve
Success always occurs in private and failure in full view.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Stepper Motor

Post by JDR04 »

Thanks steve001.Always useful to have these guys in your favourites.....John

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stepper Motor

Post by Benj »

Hello,

There are some examples here which should help.
http://www.matrixtsl.com/wiki/index.php ... tronics%29

Let me know how you get on.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Stepper Motor

Post by JDR04 »

Thanks Benj, will have a go and check it out.

Thanks for all the help.........John

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: Stepper Motor

Post by dazz »

Hi
AS benj says it all depends on what you intend doing, heres a couple of links, the only thing to note if you use the sites below is delivery can be a while, some stuff comes to the uk in 4 days sometines 60 days, but for the cost i dont mind the wait.
the advantage of the first link is you arn't moving a heavy stepper and it takes up hardly any bench space, also make sure if you buy you just buy items with free shipping ;)


These will suit you for testing, and cost almost nothing
http://www.aliexpress.com/item/New-5V-S ... 105.nFfap7


I have used these in a boxford TCL125 cnc lathe, work well
http://www.aliexpress.com/store/product ... .91.ExVdIt

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Post Reply