programming Hitec servo HS805-BB with BS2
I am trying to program the hitec servo HS805-BB that has been modified for continuous rotation with the basic stamp 2 and I can't seem to control the speed.
Using the simple code
FOR counter = 1 TO 100
PULSOUT 0, 1
PAUSE 20
NEXT
I get the same speed when I change the pulsout duration to 1000...
The data sheet says neutral is 1.5 ms. It also says for the direction, : [font=WXLPYS+Arial size=1][font=WXLPYS+Arial size=1]
CLOCK WISE/PULSE TRAVELING 1500 TO 1900usec
but it has been modified for continuous rotation, so I'm confused about how to set the pulse for a slower speed.
[/font][/font]
Using the simple code
FOR counter = 1 TO 100
PULSOUT 0, 1
PAUSE 20
NEXT
I get the same speed when I change the pulsout duration to 1000...
The data sheet says neutral is 1.5 ms. It also says for the direction, : [font=WXLPYS+Arial size=1][font=WXLPYS+Arial size=1]
CLOCK WISE/PULSE TRAVELING 1500 TO 1900usec
but it has been modified for continuous rotation, so I'm confused about how to set the pulse for a slower speed.
[/font][/font]
Comments
Create a program that sends a PULSOUT of 750 continuously;
Adjust the potentiometer on your continuous rotation servo so that it stops turning.
Now when you send PULSOUT 740 it will turn one direction and PULSOUT 760 will turn it the other.
If your servo mod involved replacing the potentiometer with resistors (no way to adjust) you will have to find the PULSOUT value that results in no movement and use that as your center PULSOUT value.
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out the Propeller Wiki·and contribute if you can.
In some modifications you can adjust the potentiometer without taking apart the servo by removing the servo horn and inserting a small screwdriver where the screw was. Other modified servos may have a small hole in the side for accessing a trim pot. Some retain the pot but you have to take the servo apart to access it. And others replace the pot with a couple resistors.
Maybe call the place you bought it from - Servo City?
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.