PDA

View Full Version : USB controlled I/O


Liad
Aug28-09, 04:06 PM
Hey,

I need to find a way to control via usb something like 20 ins and outs.
Don't have any idea what to do next. :\


Any help is more than welcomed.



Liad.

mgb_phys
Aug28-09, 04:25 PM
You could use something like an arduino - a standalone small single chip computer with lots of I/O pins and a usb - and write something yourself
or you could buy a USB data acquisition board from someone like National Instruments

Do you want easy, cheap or industrial certified.

Liad
Aug28-09, 04:38 PM
Can I control the Arduino with c#?

waht
Aug28-09, 06:36 PM
you can modify a PIC usb development board

http://www.sparkfun.com/commerce/product_info.php?products_id=8562

mgb_phys
Aug28-09, 06:49 PM
Can I control the Arduino with c#?

The arduino itself is programmed in 'sort of' C - with it's own free development tools. A program to just receive a word on the serial port and turn on the appropriate pins would only be a dozen lines.
Then you c# program on the pc just has to write words to the USB, normally you would install a driver to make the USB look like a serial port.
If this is for real work rather than just a project it's probably easier to just buy a USB daq board with a driver.

Liad
Aug29-09, 01:39 PM
Thanks for all your help!

I'll start working on it.


Liad.