I am using the following componets for a laser scanning application:
pan & tilt assembly, hs422 & hs5645mg servos, ssc-32 & basic stamp 2
& a laptop, the laser module assembly weights approx. .6 oz.
Everything works fine, my only problem is that the motors seem to run jerky when I try to run them really slow S25, S50 through the Basic stamp or 1 to 5 on the ssc-32, I would like to run them slow and smooth, can this be accomplished with this hardware or do I need to move into stepper motors? The HS5645 servo controls the tilt function and that is where the laser is mounted. Any suggestions?
thanks workshop d i y er
Um, he said the laser module assembly weighs approx. .6 oz. 8)
A possibility is you might actually be over-powered for the weight you are moving. If you have a spring or rubber band try putting some load on the servo so it has to work to move.
Tinker,
Can you post the BS2 code? Post the section that is moving the servos with the jittery results.
It’s possible your code is causing the problem. I had this problem before and I had to play with the step command. When I get home from work, I will look for some of my examples you can try.
Try this code to see if you get smoother results:
[code]
’ {$STAMP BS2}
’ {$PBASIC 2.5}
speed VAR Word
counter VAR Word
DO
DEBUG "moving arm… " , HOME
FOR speed = 1100 TO 220 STEP 20
PULSOUT 14, speed
PAUSE 12
NEXT
FOR speed = 220 TO 1200 STEP 20
PULSOUT 14, speed
PAUSE 12
NEXT
LOOP[/code]
Mike
Thanks for the suggestion. I tried working with the code you suggested and got it to run but any kind of slow speed results in a jerky motion and
it didn’t matter which motor I used. I will try a stepper motor when I get a chance.
thanks again
ken
Mike
I tweeked with the code again today, and it may work after all. The small
incremental steps & pauses eliminate the over all jerky motion.
thanks again ken
No problem, glad you got it working.