Power supply from USB

  1. hi,

    I want to power a digital pen using a USB connected to the PC. What is the exact procedure for this...as in do i require any external circuitry?
    I also heard about this DTR pin which when permenantly enabled, acts as a power supply.
    can anyone enlighten me about these things?
    thanks.
     
  2. jcsd
  3. Perhaps something in the USB FAQ might help answer your question
     
  4. chroot

    chroot 10,426
    Staff Emeritus
    Science Advisor
    Gold Member

    Take a look at the USB connector pinouts:

    http://www.networktechinc.com/technote.html

    The USB connectors have four pins. Pin 1 is +5V, pin 4 is ground; these pins provide +5V power. The USB specification allows a peripheral to draw up to 500 mA from the power pins. Pins 3 and 2 are the differential + and - signalling pins, respectively.

    The DTR pin is one of the control pins on the PC's serial port, NOT the USB port. You could potentially use any of the computer's serial port pins for minimal power supply, but it's not a good idea, since they aren't designed for that purpose. There's no specification on how much current it may or may not be able to provide.

    If you're designing a USB peripheral, you can use up to 500 mA of current from the USB's power pins. If you're designing a serial-port peripheral, you should really externally power the device.

    - Warren
     
  5. Thanks Warren and imabug.

    Guess I'll go for a USB rather than a serial then.
     
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?