Thanks: 0
Needs Pictures: 0
Picture(s) thanks: 0
Results 1 to 15 of 15
Thread: stepper motor control
-
9th February 2013, 02:18 AM #1GOLD MEMBER
- Join Date
- Oct 2010
- Location
- melbourne, laverton
- Posts
- 1,469
stepper motor control
hi everyone. I have a servo motor that i would like to get running in both forward and reverse. at one speed.
its a little 6 wire thing . is there an easy way to get it spinning the way i require?
stepper 1.jpgSAM_0578.jpgSAM_0576.jpg
aaron
-
9th February 2013 02:18 AM # ADSGoogle Adsense Advertisement
- Join Date
- Always
- Location
- Advertising world
- Posts
- Many
-
9th February 2013, 07:10 AM #2Saw dust maker!
- Join Date
- Sep 2006
- Location
- Wandong
- Age
- 60
- Posts
- 453
G'day Aaron,
If you're looking for a way to hook it up to battery and flick a switch to make it run, there's no easy way to do that.
Steppers require a certain sequence to make them 'turn'... or step, because they have poled magnets that need to be energised in one position, then energised in the next position, etc, etc.
The only way (that I know of) to do it is use a stepper controller. Either a pre-built controller (try Homann Designs) or develop something of your own.
Maybe a pic micro with a H-bridge driver or there's plenty of stepper driver chips that can be used (the part numbers escape me at the moment) but they also need step control.
Hope this helps
-
9th February 2013, 12:07 PM #3Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
As John said, they're fairly complicated to drive, compared to standard DC motors. Depends on your level of electronic knowledge/equipment.
A PC or microcontroller and suitable software/firmware are needed to control most drivers, providing speed and direction signals.
I've got a few Minebea motors laying around here. They're good quality.
Jaycar have a kit for a PC-controlled stepper driver. (Out of stock at the moment.)Also a book explaining the basics of stepper motors: -
Jaycar Electronics - Search Results for stepper motor controller
eBay is worth a look, too: -
stepper motor controller | eBay
John - a couple of more common driver chips are the L297, L298N, L6219, L6208, L6228 and L8229.
-
9th February 2013, 12:23 PM #4Saw dust maker!
- Join Date
- Sep 2006
- Location
- Wandong
- Age
- 60
- Posts
- 453
Ah yeah, thanks for the memory refresher. I think I was using the 297's many moons ago. If I remember correctly, they also had a firmware problem when it came to microstepping. It ended up being an even more complicated set of instructions to get it correctly stepping.
Good semi's though, much easier to use than designing a whole driver circuit!
-
9th February 2013, 12:32 PM #5Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
-
9th February 2013, 12:36 PM #6Been here a while
- Join Date
- Feb 2004
- Location
- Victoria
- Posts
- 345
I tend to favour the ULN2003, but that's only because I already have a reel of them...
-
9th February 2013, 12:49 PM #7Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
Your's is a 23KM motor. I have the datasheet for a 23LM motor here in my collection. I've attached it in case it helps. Both are 6-wire, so the pinouts are probably the same. Easy to check with a multimeter. There are 2 isolated sets of 3 wires. One wire from each set is the common centre-tap and the other two are attached to the ends of the coil.
sjm - ULN2003s and 2803s are good drivers and I keep some here myself for solenoids, driving power transistors etc, but the dedicated stepper driver chips have a few extra useful functions/features, making them easier to use. They also require less micro pins.
-
9th February 2013, 12:53 PM #8Saw dust maker!
- Join Date
- Sep 2006
- Location
- Wandong
- Age
- 60
- Posts
- 453
-
9th February 2013, 01:07 PM #9Been here a while
- Join Date
- Feb 2004
- Location
- Victoria
- Posts
- 345
-
9th February 2013, 02:36 PM #10Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
Sounds fair enough to me.
Thought I'd add - provided only a very small motor is being driven due to their current limitations. They can get hot really fast, too, even well within ratings, especially if a coil has to be constantly energised for braking/locking. They're not intended for a heatsink, but you can tack one on with heat-transfer adhesive, but it doesn't help a lot. Been there, done that.
-
9th February 2013, 02:53 PM #11
Hi Aaron,
You can get all you need on ebay pretty cheap, first you need a power supply, then a step generator and finally a motor driver.
Not sure what power you need, but if 12v is sufficient then there are plenty of options, like an old PC power supply for example, will provide the 12V for the motor, and 5v for the generator logic
The step generator provides the pulses needed for the motor driver most have forward/reverse switching and speed control. here's one for $11.43 incl free shipping
Stepper motor Pulse Signal Generator module/Speed Regulator /driver controller | eBay
Now you need a motor driver... these are as cheap as chips on ebay... this one is $9.99
L298N Dual H Bridge DC stepper Motor Driver Controller module Board for robot | eBay
Hope that helps.
Regards
Ray
-
9th February 2013, 03:12 PM #12Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
-
18th March 2013, 05:49 AM #13GOLD MEMBER
- Join Date
- Oct 2010
- Location
- melbourne, laverton
- Posts
- 1,469
thanks
hi malibu. humphrey,, sim,and of course rayg.
i should of known it wouldn't be simple.
-
18th March 2013, 07:31 AM #14
Jumping in here
What does the number of wires mean?Every day is better than yesterday
Cheers
SAISAY
-
18th March 2013, 08:52 AM #15Senior Member
- Join Date
- Sep 2012
- Location
- Oz
- Posts
- 340
There are 2 basic types of stepper - unipolar and bipolar. Both have two coils, but a unipolar motor has 6 wires, comprising two centre-tapped windings whereas a bipolar motor has 4 wires, two windings without centre-taps.
With a unipolar motor, the centre-tap is connected to one power rail and one or the other end is then connected to the other rail in sequence to step the motor.
In the case of a bipolar motor, with no centre tap, the driver must reverse the polarity of the entire coil to step - a much more complicated driver needing 2 H-bridges per coil.
Similar Threads
-
***GeckoDrive and Stepper Motor Sale***
By phomann in forum CNC MachinesReplies: 0Last Post: 14th May 2012, 10:03 AM -
Stepper Motor Id
By wbleeker in forum CNC MachinesReplies: 3Last Post: 3rd June 2011, 02:11 AM -
help with what i need to setup stepper motor.
By weisyboy in forum CNC MachinesReplies: 10Last Post: 6th December 2010, 12:54 AM -
FREE: Stepper motor drivers
By snowyskiesau in forum CNC MachinesReplies: 1Last Post: 11th April 2010, 09:53 PM