Shop OBEX P1 Docs P2 Docs Learn Events
servos and the hwb — Parallax Forums

servos and the hwb

BadgerBadger Posts: 184
edited 2008-08-21 06:06 in BASIC Stamp
Hello

i have a hwb with a bs2 stamp with a standard parallax servo. is there any way to tell if the servo has turned to far.

when it turns to far i need to have to software know it. I then need to center the servo




Phil

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-08-20 21:45
    Hello,

    You cannot do this without external hardware. Also, it depends on what would be turning the servo past this point? If an external force is then you definitely need the hardware, however if it is under program control it shouldn’t be moving past the max range anyway.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • SRLMSRLM Posts: 5,045
    edited 2008-08-21 06:06
    I'm under the assumption that servos set their position based on a embeded potientiometer. Might it be possible to hack into that and use that to derrive position?
Sign In or Register to comment.