Hello,
I am a servo and PWM noob.
I'm trying to drive a continuous rotation servo with an MSP430.
When I write "90" to the servo, I believe this should be "neutral" and the servo shouldn't be doing anything -- but in my case, it is jittering about 3 times a second and inching ever-so-slightly forward in one direction.
My circuit is simple:
* Servo Power -> +5V on Breadboard driven by YwRobot power supply (actually measures +4.5V using Multimeter)
* Servo GND -> GND on Breadboard
* Servo Control -> MSP430 Pin P1.6
* MSP430 GND -> GND on Breadboard
* Note: MSP430 itself is powered using USB
And my Energia program just sets up the servo at 90 with no loop activity:
#include <Servo.h>
Servo my servo
void setup() {
myservo.attach(GREEN_LED); // P1.6 on MSP430
myservo.write(90); // Should be "Neutral" (no spin)
}
void loop() {
// NOP
}
Why the jitter? If I go to 91 or 89, the servo turns "more" than the slight jitter it does at 90.
Does a new servo require some kind of calibration? In asking myself that, I just found a tiny hole with a phillips head screw in it... Maybe that's what I need to adjust! I will try to find a tiny screwdriver -- is the proper way to calibrate this to put it at 90 and adjust until it is absolutely silent?
Should a calibrated servo be "silent with no movement" in neutral, or will there always be a bit of jitter?
Thank you!