I've got two steppers motors working pretty good but when they are plugged in you can hear an annoying whine or hum.
How can I fix this.
Thanks.
I've got two steppers motors working pretty good but when they are plugged in you can hear an annoying whine or hum.
How can I fix this.
Thanks.
What's your power supply? How much current are you using per winding and how much current can the supply handle?
I have an external 12V 10Amp power supply which powers two steppers and 2 drivers. They can handle 2 Amps. Here are the links to both devices.
to paraphrase an old joke: "teach them the words"
If the motors have any loose windings, the current flow can make things vibrate & make noise.
Not much you can do about that when the board you use is controlling the frequency being applied to the motor.
Okay. I have a more pressing issue with the stepper motor. I am using 1/8 steps on the big easy driver. Its smooth for a bit then gets jumpy. Why is that?
Here is the code
#include <AccelStepper.h>
// Define a stepper and the pins it will use
AccelStepper stepper1(1, 6, 7);
int count1 = 0;
void setup()
{
stepper1.setMaxSpeed(500.0);
stepper1.setAcceleration(5000.0);
stepper1.moveTo(800);
}
void loop()
{
// Change direction at the limits
if (stepper1.distanceToGo() == 0)
stepper1.moveTo(-stepper1.currentPosition());
stepper1.run();
}
Adjusting the circuit amp cut off fixed both.
This also reduced the heat of the motors dramatically.