Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Standard Servo with Potentiometer — Parallax Forums

Parallax Standard Servo with Potentiometer

GWebberGWebber Posts: 9
edited 2007-05-21 15:42 in BASIC Stamp
Hi

I am trying to find a best way to get pulsin or rctime to capture the position from the potentiometer that is built inside Parallax Standard Servo.· Any suggestion?·

Thanks
Gene

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-05-21 04:57
    What is your application? The pot inside the servo is to tell the servo when it is in the position you requested so if you tell it to go to a position it will go there unless the servo is broken. In normal operation you tell the servo where to go not ask it where it is. You could use an external pot if you need feedback from the device you are controlling.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2007-05-21 05:01
    It should be a lot easier to monitor the servos position with an external 10K pot connected to the servos arm and either an RC circuit or an ADC 0831 conected to the stamp.
  • GWebberGWebber Posts: 9
    edited 2007-05-21 05:14
    I prefer to use internal pot for less wiring and parts. My application is to be able to track position of the arm while servo is on or off line.

    Thanks,
    Gene
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2007-05-21 05:28
    A servo acts like a generator, when it's moved. Perhaps you can track it that way.

    Have you disassembled a servo berfore?

    If I understand you correctly, when the servo is off line, something else is going to change it's position? and you want to know the position the servo ends up at (while it's off line)
  • GWebberGWebber Posts: 9
    edited 2007-05-21 05:36
    Yes I have disassembled my servo before and I have seen pot in it. I want to be able to track servo's arm position if something else obstructed it or change it while it is on or off line.
  • BeanBean Posts: 8,129
    edited 2007-05-21 12:35
    Beau has a post in the Propeller forum where he tracks a servo by limiting the current to the servo power connection. Then he sends it a pulse and can determine by the power lead where the servo is.

    I don't remember all the details, but it was something like that.

    I'll see if I can track down the thread, it was quite awhile ago (9 months ?).

    [noparse][[/noparse]edit] Ah, found it http://forums.parallax.com/showthread.php?p=582447

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    “The United States is a nation of laws -· poorly written and randomly enforced.” - Frank Zappa

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com


    Post Edited (Bean (Hitt Consulting)) : 5/21/2007 12:40:25 PM GMT
  • GWebberGWebber Posts: 9
    edited 2007-05-21 15:17
    This could only work on propeller? What about BS?
  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-21 15:42
    You could probably do this with a Stamp, but it would be slower.

    Post Edited (Mike Green) : 5/21/2007 3:49:33 PM GMT
Sign In or Register to comment.