Solved

Engineering: Connect a input/output device to computer

Posted on 2003-11-14
6
284 Views
Last Modified: 2010-04-27
I'm not sure if this is the correct place to be asking this question, but here goes.  I'm trying to interface a device that will use one sensor and control one actuator.  The actuator I think will be analog from 0 - 5V and I'm not sure on what sensor I'm going to use yet.  At any rate, I would like to connect this device to a computer eventually, and my preference is USB...as its a growing standard.  I downloaded the spec for USB 2.0 and saw that two signals D+ and D- are used to send or recieve signals...but I don't know how I can change the voltage level or record from the sensor using these two signals?  If anyone has done something similar, or can provide some insight...that would be greatly appreciated.

Thanks,

Bryan Willman
0
Comment
Question by:Willman023
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
public earned 168 total points
ID: 9749838
You have to do a lot more than change voltage levels. USB uses  a complex protocol to recognize and to communicate with peripherals. You may be better off using the parallled port. There are many simple designs exactly as you describe available. Just use a google search for parallel port a/d.
0
 
LVL 31

Assisted Solution

by:rid
rid earned 166 total points
ID: 9750446
USB is for serial communication. If you want to measure/indicate or output a variable voltage you would need a different kind of interface. Some kind of Analog/Digital converter board comes to mind. These can be internal cards (often quite expensive) or external "pods" that connect to your parallel or serial port. I guess they will be available in USB flavour, too, as this interface is growing in popularity.
/RID
0
 
LVL 31

Expert Comment

by:rid
ID: 9750458
Take a look at:
http://www.picotech.com/

/RID
0
 

Assisted Solution

by:stressguy
stressguy earned 166 total points
ID: 9990144
Personally i also think you would be better off using a parallel port.  I ahve actually worked with parallel ports before and created an interface to run stepper motors for a robotic arm.

Parllel ports are very easy to control, from low level languages or languages like pascal and QBasic.

The outputs are all +5V or 0V and the inputs should be the same.

I would also strongly suggest that you add a diode to each output.  Any stray current leaking back into an output pin, might seriously damage your parallel port and (if it is onboard) even your mobo.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now