Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

USB controlled I/O

  1. Aug 28, 2009 #1
    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.
     
  2. jcsd
  3. Aug 28, 2009 #2

    mgb_phys

    User Avatar
    Science Advisor
    Homework Helper

    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.
     
  4. Aug 28, 2009 #3
    Can I control the Arduino with c#?
     
  5. Aug 28, 2009 #4
  6. Aug 28, 2009 #5

    mgb_phys

    User Avatar
    Science Advisor
    Homework Helper

    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.
     
  7. Aug 29, 2009 #6
    Thanks for all your help!

    I'll start working on it.


    Liad.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: USB controlled I/O
  1. Digital I/O (Replies: 13)

  2. USB Controller (Replies: 4)

  3. USB Controlled 'Robot' (Replies: 1)

Loading...