+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 4
    Points: 2,097, Level: 10
    Achievements:
    7 years registered

    Join Date
    Dec 2006
    Posts
    7
    Helped
    0 / 0
    Points
    2,097
    Level
    10

    usb software for I/O data

    can anyone know any usb software for I/O transmit data?
    not script but already made software.
    i need to command from usb a servo motor(futaba).
    or on/off a led (just to see how this usb port work)-and if a script in c++/pascal/VC++;#) is available i dont mind.
    thanks.

    •   AltAdvertisment

        
       

  2. #2
    Banned
    Points: 8,931, Level: 22

    Join Date
    Jan 2007
    Posts
    943
    Helped
    177 / 177
    Points
    8,931
    Level
    22

    Re: usb software for I/O data

    Hi,
    Nice to see you again here. If your VSA software supports COM ports above COM2, may be you can try with a USB to RS232 converter and connect your motor controller board to it. Since your controller is RS232 serial, how else are you going to connect to it through USB? Also they talk of RAPU module for USB connection, what are they?, do they give serial RS232 outputs? Otherwise, now that you have a reference testing system with PC and you know the communication procedure, why don't you use a micro controller to control the motor, which is the most logical thing to do in your case?
    Regards,
    Laktronics



    •   AltAdvertisment

        
       

  3. #3
    Newbie level 4
    Points: 2,097, Level: 10
    Achievements:
    7 years registered

    Join Date
    Dec 2006
    Posts
    7
    Helped
    0 / 0
    Points
    2,097
    Level
    10

    Re: usb software for I/O data

    i need to turn on/off a led (just to see how usb port work)-and if a script in c++/pascal/VC++;#) is available i dont mind.
    you can make a script to ON/OFF a led to a USB port?



    •   AltAdvertisment

        
       

  4. #4
    Banned
    Points: 8,931, Level: 22

    Join Date
    Jan 2007
    Posts
    943
    Helped
    177 / 177
    Points
    8,931
    Level
    22

    Re: usb software for I/O data

    Hi,
    USB port contains only two lines for dataD+ and data D- and two other lines for +5V and ground. All data to/from USB port is transported at a fast rate that unless you have a specialised data transceiver and a Microcontroller at the USB port, you can not collect data from the port. So, it is not as simple as the serial port and therefore not very easy to turn on an LED. You can ofcourse send a command to the Microcontroller to switch on an LED connected to one of its pins, but that will require both PC side software as well as a USB interface circuit outside.
    If you want to study more about USB and its working, visit Intel site, Intel Press has published a book "USB by design Example'' by John Hyde, it contains a number of examples and a CD with software. It is a costly book, but it is worth the price and I would advise you to go for it if you want to learn more about USB. Do not attempt projects about such complicated interfaces unless you fully understand its functioning.
    Regards,
    Laktronics



--[[ ]]--