Power Supply from USB: Get Answers to Your Questions

AI Thread Summary
To power a digital pen using USB, connect it to the PC's USB port, which provides +5V power through pin 1 and ground through pin 4. The USB specification allows peripherals to draw up to 500 mA from these power pins. The DTR pin, associated with the PC's serial port, is not suitable for powering devices as it is not designed for that purpose and lacks a current specification. For optimal performance and safety, using USB for power is recommended over the serial port.
kdkdkd
Messages
20
Reaction score
0
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.
 
Computer science news on Phys.org
Perhaps something in the http://www.usb.org/developers/usbfaq/ might help answer your question
 
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
 
Thanks Warren and imabug.

Guess I'll go for a USB rather than a serial then.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top