Hello, I am a beginner and I need some help.
I have an Arduino Micro hooked up to a low voltage driver (DRV8834) and a stepper motor (ROB-10846) powered by 9V. I believe I have everything wired up correctly on my bread board, I followed the instructions that came with my driver:
I am trying to do a simple test of my set up... but all that comes out of my stepper motor is a buzzing sound/vibrating.
The test sketch I am using is this:
void setup() {
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
digitalWrite(8, LOW);
digitalWrite(9, LOW);
}
void loop() {
digitalWrite(9, HIGH);
delay(1);
digitalWrite(9, LOW);
delay(1);
}
I have not been able to get the motor to move, only buzz and make noise.
Here's what I've tried:
- I've checked and rechecked my wiring, everything is in the right place.
- The voltage I am using is well within the recommended range for both the driver and motor
- I have tried changing the delay in the sketch to 10, 100, 1000 and it still does not turn the motor, just leaves gaps between very tiny buzzing sounds. When it is set to 1 it has a long buzz sound and the motor vibrates but does not turn.
I would really like to get this working and figure out what I did wrong. It would be really nice to get my motor turning.
