Shop OBEX P1 Docs P2 Docs Learn Events
USB Servo Controller — Parallax Forums

USB Servo Controller

TomOTomO Posts: 3
edited 2008-01-08 13:28 in Robotics
Im currently using a parallax USB servo controller to control servo for a robotic hand. I wish to write my own program to control the servos rather than using the supplied PSCI software. I intend to do this in Java, but I'm not sure how to send commands to the COM port.

Any advice would be greatly appreciated.

Cheers,
Tom

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-01-02 00:57
    Sending data to the com port depends entirely on what you are writing your code with. Almost every language I've ever used has a way to write and read from the serial/com ports.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Rob311Rob311 Posts: 83
    edited 2008-01-02 11:25
    Use visual basic 2005. its so disgustingly simple, i can send you a sample if you need it.
  • TomOTomO Posts: 3
    edited 2008-01-02 17:00
    Hey 'Rob311', If you could send a sample that would be awesome. Im still relatively new to visual basic.

    Cheers guys

    Tom
  • PoorYuppiePoorYuppie Posts: 13
    edited 2008-01-02 19:57
    Hey, I've been lurking on the forums for USB servo controller support.· I got this one for Christmas:

    http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=387962

    I'm going to be using either VB express or VB 2005.··Rob311 can you please post up some examples?· I really have not found any good examples, but I'm sure it's really easy.
    Thanks,
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2008-01-03 16:16
    You might also want to check out this thread for a few more examples of VB.

    http://forums.parallax.com/showthread.php?p=671804

    Jeff T.
  • PoorYuppiePoorYuppie Posts: 13
    edited 2008-01-03 17:18
    VB is the easy part(I use it to query databases and drive CAD programs all day). My problem is that everything I find online references a Stamp and usually talks about using the serial port. I don't use either one. I know that the commands to drive the USB servo controller are terribly simple...I just can't find anyone doing it in VB.
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2008-01-03 17:44
    The USB for the servo controller uses a virtual com port so the commands are the same as the serial model of the PSC. Your PC application needs only to be set up to transmit serial strings along that Com port which are documented in the manual for the serial PSC.

    Jeff T.
  • droidmandroidman Posts: 1
    edited 2008-01-08 13:28
    Hi, is there a document that describes the serial commands required to control the USB PSC16?

    I need to use VB6 - anyone done a form for this [noparse]:)[/noparse]

    Thanks,

    Droidman
Sign In or Register to comment.