to_sta
May 20, 2017, 10:07am
1
Hi Guys,
not sure what's the problem.
My Setup:
Arduino Uno R3
Adafruit Motorshield V2.3
Nema 17 (see datasheet)
12V Power supply (see picture)
Here is a short video:
I use the sample code provided by adafruit for this shield.
/*
This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2
It won't work with v1.x motor shields! Only for the v2's with built in PWM
control
For use with the Adafruit Motor Shield v2
----> http://www.adafruit.com/products/1438
*/
#include <Adafruit_MotorShield.h>
// Create the motor shield object with the default I2C address
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
// Or, create it with a different I2C address (say for stacking)
// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
// Connect a stepper motor with 200 steps per revolution (1.8 degree)
// to motor port #2 (M3 and M4)
Adafruit_StepperMotor *myMotor = AFMS.getStepper(200, 2);
This file has been truncated. show original
Thanks in advance!
There is going to be some vibration inherent in the motor. If you would find something to hold it in place it might not be as bad? Kind of seems like something that you shouldn't worry about.
Thanks for your replay. I think it is vibrating to much as you can see in the video. The stepper moves by itself and i just set it to 10rpm.
to_sta:
Here is a short video:
That looks perfectly normal.
...R
Stepper Motor Basics
Simple Stepper Code
MarkT
May 22, 2017, 10:55am
5
You aren't using microstepping, so lots of vibration and noise is to be expected.