I have a DRV8825 and it's making my NEMA 17 very noisy. I am thinking to switch the driver to TMC2208, but i have also found a Stepstick Smoother from ILS that works with DRV8825.
Here is the motor that i am using.
Here is what i have done so far with DRV8825:
- Adjust current to minimum
- Adjust to suitable speed
- Install vibration damper
- Change more solid structure for motor
Here is what I haven't done with DRV 8825:
- microstepping (mainly because i do not know how)
Can anyone give me some suggestion if I should just use TMC2208 instead of Stepstick Smoother?
if this helps, here is the code i am using.
// Define stepper motor connections and steps per revolution:
#define dirPin 2
#define stepPin 3
#define stepsPerRevolution 200
void setup() {
// Declare pins as output:
pinMode(stepPin, OUTPUT);
pinMode(dirPin, OUTPUT);
}
void loop() {
// Set the spinning direction counterclockwise:
digitalWrite(dirPin, LOW);
//Spin the stepper motor 5 revolutions fast:
for (int i = 0; i < 20 * stepsPerRevolution; i++) {
//These four lines result in 1 step:
digitalWrite(stepPin, HIGH);
delayMicroseconds(4500);
digitalWrite(stepPin, LOW);
delayMicroseconds(4000);
}
delay(360000);
}