Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

usb software for I/O data

Status
Not open for further replies.

q1212

Newbie level 5
Joined
Dec 4, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
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.
 

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
 

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?
 

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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top