Control I/O with USB | Get Help Now

  • Thread starter Thread starter Liad
  • Start date Start date
  • Tags Tags
    Usb
Click For Summary

Discussion Overview

The discussion revolves around controlling multiple input and output devices via USB, exploring various hardware options and programming approaches. Participants share suggestions for both DIY solutions and commercial products.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using an Arduino, highlighting its numerous I/O pins and USB capability, and asks whether the user prefers an easy, cheap, or industrial-certified solution.
  • Another participant inquires about controlling the Arduino using C#, indicating that the Arduino can be programmed in a C-like language and can communicate via a serial port.
  • A different suggestion involves modifying a PIC USB development board as an alternative solution.
  • There is a recommendation to consider a USB data acquisition board from companies like National Instruments for a more straightforward approach, especially for professional applications.

Areas of Agreement / Disagreement

Participants present multiple competing views on the best approach to control I/O via USB, with no consensus reached on a single solution.

Contextual Notes

Participants express varying preferences for ease of use, cost, and certification, which may influence their recommendations. The discussion does not resolve the specific requirements or constraints of the user's project.

Who May Find This Useful

Individuals interested in USB control systems, Arduino programming, or data acquisition solutions may find this discussion beneficial.

Liad
Messages
23
Reaction score
0
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.
 
Engineering news on Phys.org
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.
 
Can I control the Arduino with c#?
 
Liad said:
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.
 
Thanks for all your help!

I'll start working on it.


Liad.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K