BS2sx stamp, servo motor is not rotating correctly??
StereoPonyz
Posts: 82
I need help, i used the examples in the manual for activity 6 that is to check the wheel rotation by inserting the duration 650 and 850
i realised even when i insert both wheels with 650, the wheels are still rotating in the opposite direction.
Do
pulsout 13, 650
pulsout 12, 650
Loop
I had done manual calibration on the servo to stop spinning at 750 already. But why is it still behaving weirdly?
i realised even when i insert both wheels with 650, the wheels are still rotating in the opposite direction.
Do
pulsout 13, 650
pulsout 12, 650
Loop
I had done manual calibration on the servo to stop spinning at 750 already. But why is it still behaving weirdly?
Comments
The simple answer is that the BS2sx is 2.5 times faster than the BS2 and·requires that the "units of duration" in the PULSOUT command·be changed in order to compensate for this difference in order to produce the same pulse width as the BS2.
Try centering the servos using a duration of 1875, use 1625 where you had 650 and ·2125 where you had 850.
Also keep in mind that there are a number of other commands that will be different from the BS2 examples because you're using·the faster·BS2sx, i.e. PULSIN, FREQOUT, COUNT, PWM, and others.
Duffer