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.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top