Connect with us

How do I programmatically send signals to USB?

Discussion in 'Electronic Basics' started by [email protected], Apr 30, 2007.

Scroll to continue with content
  1. Guest

    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 .
     
  2. 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
     
  3. There are books on how to use USB.
     
  4. John

    John Guest

    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
     
  5. Doug Miller

    Doug Miller Guest

    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.
     
  6. John

    John Guest

    USB uses 4 wires:
    Power to device:
    V+
    V-

    Data between devices:
    Data+
    Data-

    No individual pins to control.

    John
     
  7. Ken

    Ken Guest

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-