Shop OBEX P1 Docs P2 Docs Learn Events
Need help understanding BS1 with servos... plsout, delay, and pause — Parallax Forums

Need help understanding BS1 with servos... plsout, delay, and pause

ZapperZapper Posts: 1
edited 2008-04-24 20:06 in BASIC Stamp
Hello... I am new to BS/PBASIC and I have a BS1 and a hobby servo (HiTek HS425BB)

I am trying to get some "predictable behavior" results with the servo and am having no luck.

Could someone please help me answer these questions:

1. Although I understand program flow and loops..... How do the PLSOUT, DELAY, and PAUSE relate to each other with servo behavior (sometimes the servo "zips" over to a position... sometimes it j e r k s ... s l o w l y to a position) When do I use which and where... etc.. COULD YOU SHOW ME A SNIPPETS?

2. why does the value "100" refer to 45 degrees left and "200" refer to 45 degrees right? what are those numbers relative to?

3. While I 'm thinking about it... I read somewhere that the servo could be "modified" to achieve full 360 rotation. How do I do that with my servo?

4. I'm not looking for "stop on a dime" precision, but at least to be able to control the speed at which the shaft turns (...move here quickly...then move there slowly... then stop... then move there medium speed... etc)

Any info would be appreciated.

Comments

Sign In or Register to comment.