BS2 and servos at 6V: acting weird
iamscottym
Posts: 30
I bought some futaba servos for a robot I'm building, and they say they can run at 6V. So I hooked them up to 6v on the BOE, and tried using a pseudo stepper program that I had been using at 5V with no problems. Basically it sends the servo all the way to the right, normal pulse, and then steps it back to the left.
When I tried it on 6v, the servo went to the right(really fast), and that was it. Reset didnt do anything either, even after moving the servo to the left so that it could go right, and then step left.
What's up with this?
Thanks,
iamscottym
When I tried it on 6v, the servo went to the right(really fast), and that was it. Reset didnt do anything either, even after moving the servo to the left so that it could go right, and then step left.
What's up with this?
Thanks,
iamscottym
Comments
If the grounds are not connected, and the circuit is susceptible to 60Hz noise, the servo could
behave this way.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
1) the signal line to the servo
2) the ground connection between the servo's ground connection, and the controller's ground connection.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Without the grounds connected, it could have.
200 seems to low...Even using BS2 at 2uS resolution this equates to 400uS.
On the high side, if you are using a value of 1200 @ 2uS resolution, the resultant pulse
will be 2400uS ...This is also to high. The "safe" range is between 1000uS and 2000uS.
At 2uS resolution, the values should be 500 to 1000 on the BS2. If you have a faster
BS2 with .8uS resolution, then these numbers should range from 1250 to 2500 on the
BS2.
Can you post your code?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
DO
FOR counter=1 TO 100
PULSOUT 15, 1200
PAUSE 20
NEXT
FOR counter=1 TO 20
PULSOUT 15, 200
PAUSE 20
'NEXT
FOR counter=1 TO 20
PULSOUT 15, 800
PAUSE 20
NEXT
LOOP
END