how to know servo position on lcd?


Closed Thread
Results 1 to 4 of 4
  1. #1
    macx75's Avatar
    macx75 Guest

    Default how to know servo position on lcd?

    Hi all
    How do i move the servo by hand and know its position on lcd.? is there any command in picbasic?
    macx

  2. #2
    Join Date
    Sep 2005
    Location
    Dayton, Ohio
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    You would have to modify the servo so you can read the internal potentiometer. You will have to at least open the servo up and get some wires onto the potentiometer's pins.

    Then use the ADCIN or POT command to read the position of the potentiometer.

    But in this case the servo itself just acts as a very complex "knob".
    Jim Robertson
    "MilesTag" DIY Lasertag
    www.lasertagparts.com/mtdesign.htm
    Dayton, Ohio

  3. #3
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Along the same lines as Jim suggested - maybe hook up an external POT to the servo shaft?

    Arch

  4. #4
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    The answer really depends on what your trying to do.

    Depending on the application an optical or mechancial encoder may be a better choice, in place of the servo. If your trying to "teach" the pic a servo postion and then have the pic repeat that later you may want to use the servo (unmodified) in combination with an encoder wheel to sense location.

    Finally you may want to switch to a stepper which you can read from in one mode and send to a location in another.

Similar Threads

  1. More Servo Woes
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th May 2009, 08:40
  2. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  3. Servo does not move
    By ruijc in forum General
    Replies: 12
    Last Post: - 12th November 2007, 19:14
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts