Control I/O with USB | Get Help Now

  • Thread starter Thread starter Liad
  • Start date Start date
  • Tags Tags
    Usb
AI Thread Summary
To control 20 inputs and outputs via USB, options include using an Arduino or purchasing a USB data acquisition (DAQ) board. An Arduino can be programmed in a C-like language to manage I/O pins, and it can be controlled through a C# program on a PC, typically requiring a driver to emulate a serial port. For industrial applications, a USB DAQ board may be more suitable due to ease of use and reliability. The discussion emphasizes the balance between DIY solutions and ready-made products based on the user's needs. Exploring these options will help in effectively managing USB control of multiple I/O devices.
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.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Back
Top