?
Solved

Engineering: Connect a input/output device to computer

Posted on 2003-11-14
6
Medium Priority
?
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
public earned 672 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 664 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 664 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

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

777 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