Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Motor control — Parallax Forums

Parallax Motor control

stuart007stuart007 Posts: 3
edited 2007-07-21 19:28 in Propeller 1
Hello Forum members

I wonder if someone could help me please.
I am working on a project where I need to control various motors via a web page interface.
Having looked around, the best bet seems to be the parallax motor control interface which supports 16 servo motors.
The project has some basic requirements, it must run on a linux OS, must have apache web server. Programming must be done using C++

Some questions I have...

1.)·Is the paralax usb or serial interface supported under linux.
2.) How would I issue commands to the interface to drive a specific servo?
···· Can this be done via a C++ executable program and some arguments after it.
···· I can execute an executable via the web page using the exec() function in PHP.
3.) Can the position of the servo be read back?
4.) Can multiple servos be driven symaltaniously (either constant rotation or to specific degrees of rotation).

Many thanks in advance wink.gif

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-07-21 14:00
    There is a lot of good information here www.parallax.com/dl/docs/prod/motors/ServoControllerManualRevBv2_4.pdf

    1> I believe the FTDI chips work in Linux
    3> Probably not easily without some form of encoder device
    4> It takes a few miliseconds to issue instructions so you can get close.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen

    Post Edited (Franklin) : 7/21/2007 2:06:16 PM GMT
  • inserviinservi Posts: 113
    edited 2007-07-21 19:28
    Hello,

    with the Servo Controller (Serial) Stock#: 28023:

    You simply have to connect it to a com port of your computer then send the right commands from you C++ app to this com port.

    I hope you can do that ?

    As all the work is to write interface between apache, C++, com port and Servo Controller, i think the problem is not really in the right forum ?


    Best regards,
    dro.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    in medio virtus
Sign In or Register to comment.