Article View: sci.electronics
Article #22702Re: Subsituting USB power for Battery?
From: Pham Nuwen
Date: Wed, 08 Dec 2004 05:49
Date: Wed, 08 Dec 2004 05:49
72 lines
3749 bytes
3749 bytes
h1dd3n_h4m$73r@salmahayeksknockers.edu wrote:
> I've got a battery powered peripheral (FM Transmitter) that I'd like to power
> from USB.
>
> I know that USB puts out 5v, and that a "Double A" batter puts out 1.2 v,
> and assume that two would put out the same.
Depends if the batteries are in series or parallel. if they are in
parallel they still put out 1.2v but can produce more current. If they
are in series then they will put out 2.4v.
>
> Can anyone point me in the right direction to make my little project? I
> have a soldering gun, and can use it, but need an idea of what kind of parts
> to put in between.
>
http://www.starmount.co.uk/s_usbpin.htm
Well to start here is the USB pinout:
"
Pin Name Description Cable Colour
1 Vcc +5V DC Red
2 D- Data - White
3 D+ Data + Green
4 Gnd Ground Black
Low power, bus-powered function Draw 100 mA (max)
"
(your can't actually trust those colors listed, but they might be right)
Basically you want to use a few resistors so we go to good ol' ohms law..
5v
----- = 50 ohms
100mA
so you want to ideally keep this down to 50 ohms total. It just so
happens 12 ohms aren't the hardest resistors in the world to find.
12 ohms X 100mA = 1.2v (or 1.25v in reality)
(3x12 ohms) X 100mA = 3.6v (or 3.75v in reality)
double check the math.... so here is your circuit (excuse the crude drawing)
5v + pin 1 ---+[ 12 ohm ]++[ 12 ohm ]++[ 12 ohm ]+---- 1.2v+
|
|
|
GND - pin 4 ----------+[ 12 ohm ]+--------------+
|
+------------------------------- GND -
> Also, is there any danger that dicking around with a USB cable like this
> could cause corruption elsewhere in the USB bus?
While it is possible, I doubt you could do a lot of serious harm, still
I'd unplug your other usb devices until you tested this and are happy
with it. Worst you could do is reverse pin 1 and 4 and possible harm the
"battery" driven device, or short circuit 1 and 4 in which case you
might cause your computer power supply to trip into short circuit mode.
Still it isn't like you are playing with high voltage here.
Lemme know how it goes, this isn't a bad idea, and could be a useful
little cable to have kicking around.
--
+====+====+====+====+====+====+====+====+====+====+====+====+====+====+
| 14 | 15 | 92 | 65 | 35 | 89 | 79 | 32 | 38 | 46 | 26 | 43 | 38 | 32 |
+====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Technical Details
Message-ID:
<QBwtd.461624$%k.456870@pd7tw2no>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw2no.POSTED!53ab2750!not-for-mailReferences:
<pivtd.1346$eb3.1331@clgrps13>Show Full Headers
Complete Article Headers
X-Google-Thread: 109a5e,ac837850bfb2f7bf X-Google-Attributes: gid109a5e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw2no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 68.144.108.60 From: Pham Nuwen <none@none.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: sci.electronics,calgary.general Subject: Re: Subsituting USB power for Battery? References: <pivtd.1346$eb3.1331@clgrps13> In-Reply-To: <pivtd.1346$eb3.1331@clgrps13> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 72 Message-ID: <QBwtd.461624$%k.456870@pd7tw2no> Date: Wed, 08 Dec 2004 05:49:36 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse@shaw.ca X-Trace: pd7tw2no 1102484976 24.71.223.147 (Tue, 07 Dec 2004 22:49:36 MST) NNTP-Posting-Date: Tue, 07 Dec 2004 22:49:36 MST Organization: Shaw Residential Internet