Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Accessing to USB Data Pins (D+ and D-) directly
Forum Updated to NodeBB v4.3 + New Features

Accessing to USB Data Pins (D+ and D-) directly

Scheduled Pinned Locked Moved Unsolved The Lounge
7 Posts 2 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • carles.sole.grauC Offline
    carles.sole.grauC Offline
    carles.sole.grau
    wrote on last edited by
    #1

    Hi everybody,
    I just want to know if there is a way that you can get access to data pins (d+ and d-)from USB connection from the computer. So, I could to set a voltage of 2 V between them, or for example read the voltage between them too. Excuse me for my ignorance.

    Any help will be appreciated.

    Thank you very much.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      No, but you can get a USB <-> parallel port adapter for about 10 €.

      1 Reply Last reply
      2
      • carles.sole.grauC Offline
        carles.sole.grauC Offline
        carles.sole.grau
        wrote on last edited by
        #3

        And how it could solve my problem?
        Thanks.

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          From your first posting I assumed that you need some GPIO on your PC and that's what a parallel port is for. But maybe I was wrong, so what is it you actually want to do?

          1 Reply Last reply
          2
          • carles.sole.grauC Offline
            carles.sole.grauC Offline
            carles.sole.grau
            wrote on last edited by carles.sole.grau
            #5

            Well, my ideal idea was to connect an IR-RECEIVER and get its output reading the real time status (HIGH or LOW) of its pins to get an IR frame. (reading D+ and D-)
            Or for example to send IR Frames to an IR-LED. (IR= infrared). (writing D+ and D-)
            I was looking for the direct access of the D+ and D- because I thought than then the IR-Sensor would be so much simple (without UARTS and USB-protocols, etc), just connecting the right pins of the IR RECEIVER to the correct USB data pin.
            It was like using USB data pins like Digital Inputs from an Arduino for example.
            Thank you.

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              As you mentioned the Arduino, I guess you have access to soldering equipment and electronic components. You can of course build your own USB IR transceiver then, but not by simply attaching two IR LEDs to your USB port. Linux Infrared Remote Control has some schematics that might be of interest for you.

              1 Reply Last reply
              3
              • carles.sole.grauC Offline
                carles.sole.grauC Offline
                carles.sole.grau
                wrote on last edited by
                #7

                Of course this is an option.
                I just wondering if it was possible to have direct acces to Data Pins to an easier implementation. I understand that's not possible so.

                Thank you very much!

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved