
wboyd
Ok...I am trying this again - hopefully someone can help me figure it out...
I have a few of these little stepper motors and was wondering if anyone could shed some light on compatibility with the 2.5 amp motor controller...or any other controller. Here is the data sheet;
http://www.nmbtc.com/pm-step-motors/engineering/pdf/Drive-Circuitry-and-Wiring.pdf
The motors are Pm355-048-snc9 versions - they are housed in an older polycom/sony pan/tilt camera mount. I was hoping that I might be able to use a single h-bridge to control them, but I am thinking thinking that I might need two h-bridges (if that is possible on one EZ-B board)- one for pan and one for tilt.
Please help me figure this out....I am stumped!
Thanks,
Wayne
Thanks to all,
Wayne
Chris
Also, at only 600ma per channel, this is not going to drive very powerful motors.
You need to match your controller to your motors, and steppers are not plug and play. You will need to do some scripting to make them work with most (all?) h-bridges.
Alan
I am building a telescoping arm with a rack and pinion andxas thinking that driving the pinion with a stepper motor would be a simple command like clockwise 4000 counts.
Any recommendation on this telescopic control?
Thank you!
Alan
Is there anyway to contact Jeremie for more specifics on how he did this?
More likely than not Jeremie will see this thread after the weekend and provide additional input.
Alan
First off, nice to meet to you!
The sainsmart L293 shield is a clone of adafruit's motor shield design and uses a 74HC595 shift register to control the L293 H-bridges. This cuts down on the amount of control signal pins needed but does complicate the process of sending the signals if you aren't familiar with shift registers.
While the sainsmart shield can drive some smaller steppers and DC gear motors, as Alan mentioned, the L298 is a better choice. It can handle higher voltages and current.
Feel free to ask questions on here @Castlephelps I'm always browsing the forums whenever I have a spare moment
I am very excited to make your acquaintance! My robot project started last Christmas when I received an EZ-B development kit / but I soon discovered that the components weren't beefy enough so now I have finalized my design and am now welding arms and wanting to drive a telescoping arm with large stepper motors and be able to control how rad and how fast the stepper drives a rack and pinion!
I ordered an l298 and can start playing with it after Thanksgiving! I'm sure I will have lots of questions!
Thanks again,
Castle
Ok I got my L298d and have it wired exactly as you recommend right down to the wire colors. I have a separate 5vdc power supply for the 298 as you can see in the photo. I connected to the EZ-B, opened an HBridge PWM Movement window but when I click on the arrows nothing happens - the motor does not turn any. What am I missing?
So the H-bridge Movement Panel won't be able to control a stepper motor as it doesn't send stepping signals to the stepper motor. To make it "step" you will need to write a script.
Since you have the H-bridge enable pins connected to the ez-b you'll have to add those. Maybe just make them high for the moment.
Code:
Obviously the pins I have here may not match what you have hooked up, change the digital pin in the code accordingly
Thank you!
Look for "Script" not "code" and you will find what you need.
Alan
Also if you wanted the motor to move plus or minus 45 degrees and stop how would you tell the script that?
Thanks
Stepper.EZB
The degrees in which you would like to move depends on the steps/degrees that your particular stepper moves. Hypothetically, say it's 1 step per degree, then 45 steps would be 45 degrees. Here would be an example of 45 degrees of movement:
Code:
So this code sample will Repeat a fullstep sequence 45 times, here are what the values in the repeat loop represent:
0 = start value
44 = end value
1 = increment by 1
If the stepper seems to be skipping steps our moving backward at times you may have to change either the code or the stepper wires to be in the proper sequence or it might be moving too fast. If speed is the issue, just increase the $x value to slow the stepper down.