Sweep motion with Adafruit motor shield and Dc motor with encoder
help needed
my goal control dc motor , gearbox rotary encoder sweep left right repeating
here's basis of goal not work
my goal control dc motor , gearbox rotary encoder sweep left right repeating
here's basis of goal not work
code: [select]
while (myenc.read() < 50) {
motor.run(forward);
}
while (myenc.read() >50) {
motor.run(backward);
}
what motor doing isn't wanted?
your range of swing set low since reverses direction in range 49 51. have thought of using wider range, <45 , >55?
your range of swing set low since reverses direction in range 49 51. have thought of using wider range, <45 , >55?
Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > Sweep motion with Adafruit motor shield and Dc motor with encoder
arduino
Comments
Post a Comment