 |
Search Sci.Electronics.Basics |
|
 |
 |
|
|
|
 |
|
|
Sci.Electronics.Basics -> How do I programmatically send signals to USB?
There are 7 messages in this thread.
You are currently looking at messages 1 to 7.
|
|
|
Hello
How do I control voltages to pins of the USB programmatically?
For example, I'd like to say send a signal to individual USB pins (if
that's applicable in USB) how do I do that ?
Also what's the appropriate newsgroup for this question? Thanks .
|
|
|
|
Author: Nicholas SherlockDate: 16:08 30-04-07
|
|
unisonharmonics@gmail.com wrote:
> Hello
>
> How do I control voltages to pins of the USB programmatically?
> For example, I'd like to say send a signal to individual USB pins (if
> that's applicable in USB) how do I do that ?
AFAIK, you don't get to. The USB interface has (IIRC) D+, D-, +5v and
ground lines. Your operating system will let you send streams of serial
data, on the data lines, but nothing else. It sounds like you might be
better off investigating parallel ports.
Cheers,
Nicholas Sherlock
|
|
|
|
Author: Homer J SimpsonDate: 16:27 30-04-07
|
|
|
|
|
|
Author: JohnDate: 16:47 30-04-07
|
|
On 30 Apr 2007 12:09:09 -0700, unisonharmonics@gmail.com wrote:
>Hello
>
>How do I control voltages to pins of the USB programmatically?
>For example, I'd like to say send a signal to individual USB pins (if
>that's applicable in USB) how do I do that ?
>
>Also what's the appropriate newsgroup for this question? Thanks .
Think of what USB stands for
Universal
SERIAL
Bus
Think of it as another network connection, where you either have a
connection or no connection and the information/control is in the
bitstream.
John
|
|
|
|
Author: Doug MillerDate: 18:54 30-04-07
|
|
In article <vblc3315em344kgqtbgfp3ra61btnlktvn@4ax.com>, John <look@sig.net> wrote:
>On 30 Apr 2007 12:09:09 -0700, unisonharmonics@gmail.com wrote:
>>How do I control voltages to pins of the USB programmatically?
>>For example, I'd like to say send a signal to individual USB pins (if
>>that's applicable in USB) how do I do that ?
>>
>>Also what's the appropriate newsgroup for this question? Thanks .
>
>Think of what USB stands for
>Universal
>SERIAL
>Bus
I'll admit to knowing next to nothing about USB, but there's nothing
inherently wrong with wanting to send a signal to individual pins in a serial
connector. Think about RS232 -- only pins 2 and 3 carry data; 6, 7, 8, and 20,
among others, are used for signaling equipment states.
--
Regards,
Doug Miller (alphageek at milmac dot com)
It's time to throw all their damned tea in the harbor again.
|
|
|
|
Author: JohnDate: 16:13 03-05-07
|
|
On Mon, 30 Apr 2007 22:54:40 GMT, spambait@milmac.com (Doug Miller)
wrote:
>In article <vblc3315em344kgqtbgfp3ra61btnlktvn@4ax.com>, John <look@sig.net> wrote:
>>On 30 Apr 2007 12:09:09 -0700, unisonharmonics@gmail.com wrote:
>
>>>How do I control voltages to pins of the USB programmatically?
>>>For example, I'd like to say send a signal to individual USB pins (if
>>>that's applicable in USB) how do I do that ?
>>>
>>>Also what's the appropriate newsgroup for this question? Thanks .
>>
>>Think of what USB stands for
>>Universal
>>SERIAL
>>Bus
>
>I'll admit to knowing next to nothing about USB, but there's nothing
>inherently wrong with wanting to send a signal to individual pins in a serial
>connector. Think about RS232 -- only pins 2 and 3 carry data; 6, 7, 8, and 20,
>among others, are used for signaling equipment states.
USB uses 4 wires:
Power to device:
V+
V-
Data between devices:
Data+
Data-
No individual pins to control.
John
|
|
|
|
Author: KenDate: 23:39 03-05-07
|
|
|
|
|
|
1 | |
|
|
|
Contact | Electronic Portal
|
|
|