
bookmaker32
USA
Asked
— Edited
Hi guys, Here I am back in bewilderment land. I am trying to run a stepper motor with a Spark Fun Big Easy stepper motor driver. No problem except no matter what PWM I put in the motor runs at the same speed. About 24 RPM. I checked the PWM and it is doing exactly what the EZ-Bv4 tells it to do but the Big Easy just runs the motor at the same speed. Anybody know what is going on?
From just an initial look, it seems if you apply a PWM signal to the "STEP" connection it probably won't work, but if you apply it to the "ENABLE" it may work.
https://www.sparkfun.com/products/11876
From what I'm reading it does not look like your would send the board PWM commands. It looks like it should be High/Low values, like an h-bridge.
Big Easy Manual
I am driving it on the step input with PWM and it works fine, it just doesn't make any difference what the PWM is set at. It runs at the same speed.
I tried the Enable but that doesn't work. Does anyone have any experience with another driver? What speed can one expect to get out of a say Nema 14 Bipolar Stepper 7.5V 0.5A 23Ncm(32.6oz.in)?
On page 3:
STEP: This input is tied high with a 20K Ohm resistor on the BED. Each rising edge of this input will cause the stepper driver to advance one step in the direction specified by the DIR input. The STEP input must be high for at least 1us, and low for at least 1us.
Alan
I don't have a good idea of what the Arduino Library is doing but looking directly at the datasheet it looks like you can take full control of the Big Easy Driver via the Enable pin. Here's what the Allegro chip datasheet says:
You will still have to send a constant PWM signal to the STEP connection at the same time as the enable to make the driver move.
There is a pull down resistor on the board (R10) that keeps the driver constantly enabled so you'd really just have to send it a high pulse from the EZ-B when you want it to slow down.
Another option is to use the MS1, MS2, & MS3 ports to change the default settings from sixteenth step to a slower step pattern, they are all default high so you'll need to send them a low signal.
@Richard R, I want to use steppers for a few different reasons. You are absolutely correct in that a servo or even a dc motor are much easier to use. I have been there and done that and have some ideas that I want to make happen. I have been building for several months in anticipation of the arrival of my v4 and I am way to far into it at this point to fail. I know I can run them with script and four ports if I must but using a driver seems the way to go.
@bookmaker32 have you had a chance to try PWMing both the Enable and STEP lines on the big easy driver?
Chris
Radio Controlled Stepper Kit
It appears to be a Stepper controller that can be driven by an RC radio rig. Of course it could also work with the EZ-B in a robot which is why I bookmarked it.
Chris
Pulse generator