Shop OBEX P1 Docs P2 Docs Learn Events
Help in reading servo info from my R/C receiver — Parallax Forums

Help in reading servo info from my R/C receiver

ArchiverArchiver Posts: 46,084
edited 2000-08-28 03:10 in General Discussion
I need help in reading servo info from my R/C receiver.
I have a BS2/SX
I want to read the position info that my remote is sending so I can
have the stamp make decisions as to where to move multiple servos.
I have Futaba 2 channel receiver. A Basic Stamp 2/SX. and Mini SSC II
Serial Servo Controller.

Has anyone done anything like this?




Thanks

David B.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-08-26 16:07
    At 01:18 AM 8/26/00 -0000, David wrote:

    >I need help in reading servo info from my R/C receiver.
    >I have a BS2/SX
    >I want to read the position info that my remote is sending so I can
    >have the stamp make decisions as to where to move multiple servos.
    >I have Futaba 2 channel receiver. A Basic Stamp 2/SX. and Mini SSC II
    >Serial Servo Controller.

    Hello David,
    to read data in from an RC receiver just use the Pulsin
    command. Connect the pulsin pin to the logic signal coming from which ever
    channel you are using. The receiver spits out a 50 hz pulse train
    continuously. The position data (position of the stick on the transmitter)
    is contained in the <width> of these pulses. The neutral position (stick
    centered) is somewhere around a pulswidth value of ~1.5ms. As you move the
    stick one way, the pulses will get wider until they get to ~2ms (value
    returned from Pulsin increases). As you move the stick the other way the
    pulses will get narrower until they are ~1ms (value returned from Pulsin
    decreases).

    I don't know how you want the servos connected to your SSC to respond,
    but the <three byte> control format is well covered in the SSC manual. Just
    use the Serout command to send the bytes to the SSC.

    Best, Duncan
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-27 18:19
    David,
    I've never done what you are suggesting, but these guys might have an idea
    how to help you: http://www.rc-soar.com/tech/dwaerialphoto.htm
    They've hooked up a digital camera and BS2 and R/C receiver together to
    make a remote control camera interface. They should be able to help you on
    interpreting the output from your receiver.

    Hope this helps,
    Mike

    At 01:18 AM 2000-08-26 +0000, you wrote:
    >I need help in reading servo info from my R/C receiver.
    >I have a BS2/SX
    >I want to read the position info that my remote is sending so I can
    >have the stamp make decisions as to where to move multiple servos.
    >I have Futaba 2 channel receiver. A Basic Stamp 2/SX. and Mini SSC II
    >Serial Servo Controller.
    >
    >Has anyone done anything like this?
    >
    >
    >
    >
    >Thanks
    >
    >David B.
    >
    >


    "Now those are some hot sounds!"
    ICQ: 17940917
    E-mail: headphones99@i...
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-28 03:10
    Hi David,

    See my web page at http://members.tripod.com/~divelec/r3rcjs01.html .
    This is a program I've been using for about a year. It works fine.
    You can download it and adapt to your needs.

    Carl
    Diverse Electronic Services
    35 amp motor controls for $40
    http://divelec.tripod.com/



    > At 01:18 AM 2000-08-26 +0000, you wrote:
    > >I need help in reading servo info from my R/C receiver.
    > >I have a BS2/SX
    > >I want to read the position info that my remote is sending so I can
    > >have the stamp make decisions as to where to move multiple servos.
    > >I have Futaba 2 channel receiver. A Basic Stamp 2/SX. and Mini SSC II
    > >Serial Servo Controller.
    > >
    > >Has anyone done anything like this?
    > >
    > >
    > >
    > >
    > >Thanks
    > >
    > >David B.
    > >
    > >
    >
    >
    >
    > "Now those are some hot sounds!"
    > ICQ: 17940917
    > E-mail: headphones99@i...
    >
    >
    >
Sign In or Register to comment.