Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. USB Control

USB Control

Scheduled Pinned Locked Moved C#
8 Posts 3 Posters 0 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.
  • D Offline
    D Offline
    DRVoodoo
    wrote on last edited by
    #1

    Is there a way to control Voltage output of a USB Port. I'm trying to connect a custom made circuit through USB and send power on request to it.

    E E 2 Replies Last reply
    0
    • D DRVoodoo

      Is there a way to control Voltage output of a USB Port. I'm trying to connect a custom made circuit through USB and send power on request to it.

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      I don't know but if you can the answer would be here http://www.usb.org/developers/docs/


      File Not Found

      1 Reply Last reply
      0
      • D DRVoodoo

        Is there a way to control Voltage output of a USB Port. I'm trying to connect a custom made circuit through USB and send power on request to it.

        E Offline
        E Offline
        Ed Poore
        wrote on last edited by
        #3

        AFAIK a USB can only supply a maximum of 5V anyway and I think it's fairly constant, that's why big devices such as printers have to be plugged into the mains.

        D 1 Reply Last reply
        0
        • E Ed Poore

          AFAIK a USB can only supply a maximum of 5V anyway and I think it's fairly constant, that's why big devices such as printers have to be plugged into the mains.

          D Offline
          D Offline
          DRVoodoo
          wrote on last edited by
          #4

          Yeah... 5V is plenty ...however, I need to know if I can trigger the supply voltage on and off somehow. I don't need the USB to supply me with any power, but just act as a switch. I haven't had much time to research this, thanks for the replies so far.

          E 1 Reply Last reply
          0
          • D DRVoodoo

            Yeah... 5V is plenty ...however, I need to know if I can trigger the supply voltage on and off somehow. I don't need the USB to supply me with any power, but just act as a switch. I haven't had much time to research this, thanks for the replies so far.

            E Offline
            E Offline
            Ed Poore
            wrote on last edited by
            #5

            I'm pretty sure that the power is supplied constantly in most cases, it'd probably be wiser to use the data line and when it's on transmit 0xff continuously and when you want off transmit 0x00.

            D 1 Reply Last reply
            0
            • E Ed Poore

              I'm pretty sure that the power is supplied constantly in most cases, it'd probably be wiser to use the data line and when it's on transmit 0xff continuously and when you want off transmit 0x00.

              D Offline
              D Offline
              DRVoodoo
              wrote on last edited by
              #6

              Interesting. If I recall correctly the Data lines supply 3.3V when transmitting and 0 when not ? If so that's great. Now I have to find away to communicate with the USB Port itself via code. Thanks for the replies.

              E 1 Reply Last reply
              0
              • D DRVoodoo

                Interesting. If I recall correctly the Data lines supply 3.3V when transmitting and 0 when not ? If so that's great. Now I have to find away to communicate with the USB Port itself via code. Thanks for the replies.

                E Offline
                E Offline
                Ed Poore
                wrote on last edited by
                #7

                Might want to take a look at #UsbLib[^].

                D 1 Reply Last reply
                0
                • E Ed Poore

                  Might want to take a look at #UsbLib[^].

                  D Offline
                  D Offline
                  DRVoodoo
                  wrote on last edited by
                  #8

                  ahh. Cool. Thanks a lot.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups