🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: sci.electronics
4 messages
4 total messages Started by h1dd3n_h4m$73r Wed, 08 Dec 2004 04:20
Subsituting USB power for Battery?
#22701
Author: h1dd3n_h4m$73r
Date: Wed, 08 Dec 2004 04:20
24 lines
1939 bytes
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.  

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.

Also, is there any danger that dicking around with a USB cable like this
could cause corruption elsewhere in the USB bus?


-- 
.............................................................................

"After we become a strong force as the result of the creation of the state,
 we shall abolish partition and expand to the whole of Palestine. "
 
                               - Isreali founding father David Ben-Gurion

.............................................................................
dswan@m3m3t1ccand1ru.com                        http://www.memeticcandiru.com
Re: Subsituting USB power for Battery?
#22702
Author: Pham Nuwen
Date: Wed, 08 Dec 2004 05:49
72 lines
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 |
+====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Re: Subsituting USB power for Battery?
#22700
Author: Randa
Date: Wed, 08 Dec 2004 07:01
28 lines
2045 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.
>
> 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.
>
> Also, is there any danger that dicking around with a USB cable
like
> this could cause corruption elsewhere in the USB bus?

You can overload the current capabilities of the USB bus on your
motherboard and potentialy damage your board.  One of the things
you should determine before you get too excited is what the
current requirements are for the FM transmitter.  Then add in your
other USB devices and see what your motherboard is willing to
support.

Now you know why there are active (powered) and passive(USB cable
powered) USB external hubs.
Re: Subsituting USB power for Battery?
#22699
Author: Bryan Heit
Date: Thu, 09 Dec 2004 23:04
6 lines
1337 bytes
I have an FM transmitter which can run from either USB or a separate 
battery pack.  Batterypack takes 2-AAA batteries.  If they can make it 
work you can too, although I imagine some sort of a voltage control 
board may be required.

Bryan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads