Sci.Electronics.Basics

on Electronics-Related.com

  Home  |  Books  |  Sci.Electronics.Design  |  Sci.Electronics.Basics  |  Resources  |  Contact  | 
Sign in
username:

password:

Remember Me

Not a member?
Search Sci.Electronics.Basics

Search Tips

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.






Date: 15:09 30-04-07


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 Sherlock
Date: 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 Simpson
Date: 16:27 30-04-07


<unisonharmonics@gmail.com> wrote in message
news:1177960149.927676.323840@n59g2000hsh.googlegroups.com...

> 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 ?

There are books on how to use USB.




Author: John
Date: 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 Miller
Date: 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: John
Date: 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: Ken
Date: 23:39 03-05-07

On Thu, 03 May 2007 16:13:51 -0400, John <look@sig.net> wrote:

> USB uses 4 wires:
> Power to device:
> V+
> V-
>
> Data between devices:
> Data+
> Data-
>
> No individual pins to control.


http://www.usb.org/developers/docs/


1


      Contact  |  Electronic Portal


Sci.Electronics.Basics by Keywords
ADC
Antenna
CAD
Coil
Generator
IDE
LCD
Modulator
MOSFET
NiMH
Opamp
Oscilloscope
PID
RS232
Telephone
Transformers
TTL
USB

Sci.Electronics.Basics By Author