Wiring in a USB port to charge a phone

Started by Monsterlover, May 27, 2009, 09:47:39 AM

Previous topic - Next topic

Monsterlover

How hard would that be?

I've never seen the back of a USB port before.

I need a way to keep my iPhone charged/ powered by the bike.


"The Vincent was like a bullet that went straight; the Ducati is like the magic bullet in Dallas that went sideways and hit JFK and the Governor of Texas at the same time."--HST    **"A man who works with his hands is a laborer.  A man who works with his hands and his brain is a craftsman.  A man who works with his hands, brains, and heart is an artist."  -Louis Nizer**

Howie

Good question.  This could work for my phone and the car GPS.

NAKID

Do you have a car charger for it? I found a cigarette lighter port that hooked into the battery tender...
2005 S2R800
2006 S2R1000
2015 Monster 821

Monsterlover

Quote from: NAKID on May 27, 2009, 10:19:05 AM
Do you have a car charger for it? I found a cigarette lighter port that hooked into the battery tender...

I don't but I have hooked into the BT port before for things.

I could probably make something like that work if I bought a cigarette plug to USB. I already have a socket that I could wire up.

I'm just trying to keep things simple.

Which I'm not always good at ;D
"The Vincent was like a bullet that went straight; the Ducati is like the magic bullet in Dallas that went sideways and hit JFK and the Governor of Texas at the same time."--HST    **"A man who works with his hands is a laborer.  A man who works with his hands and his brain is a craftsman.  A man who works with his hands, brains, and heart is an artist."  -Louis Nizer**

aaronb

usb's are only 5v. IIRC.  a car charger and a cig lighter adapter would be best. 
Milwaukee, WI
'07 s2r1k, '81 honda cb400t

herm

are you looking for a mini USB connection? try this from garmin

mini usb
If you drive the nicest car in the neighborhood, work in a cash business, and don't pay taxes, you're either a preacher or a drug dealer...

Monsterlover

"The Vincent was like a bullet that went straight; the Ducati is like the magic bullet in Dallas that went sideways and hit JFK and the Governor of Texas at the same time."--HST    **"A man who works with his hands is a laborer.  A man who works with his hands and his brain is a craftsman.  A man who works with his hands, brains, and heart is an artist."  -Louis Nizer**

herm

If you drive the nicest car in the neighborhood, work in a cash business, and don't pay taxes, you're either a preacher or a drug dealer...

Major Slow

#8
A usb connector pins out like this:



1 = +5V
2 = -data
3 = +data
4 = GND

Add a simple circuit that will regulate the 12V on the bike to 5 v



viola. you have a charger.

ymmv

EDIT: You should put the regulator on a little bit of aluminium as a heat sink.
You cannot argue with crazy because crazy is not willing to be convinced. Hell, it's not even willing to listen to the arguments.

Monsterlover

^

Cool!

I was resigned to wiring up a 12v socket and using a cigarette plug to usb adapter.

Which I may still do, but that stuff is pretty cool!
"The Vincent was like a bullet that went straight; the Ducati is like the magic bullet in Dallas that went sideways and hit JFK and the Governor of Texas at the same time."--HST    **"A man who works with his hands is a laborer.  A man who works with his hands and his brain is a craftsman.  A man who works with his hands, brains, and heart is an artist."  -Louis Nizer**

scott_araujo

Rose_guy, thanks for the schematic.  Could I use the same capacitors with a 7809 regulator?  I want to power my old school garage door opener.

Scott

Major Slow

Quote from: scott_araujo on May 28, 2009, 06:52:17 PM
Rose_guy, thanks for the schematic.  Could I use the same capacitors with a 7809 regulator?  I want to power my old school garage door opener.

Scott

probably, the caps aren't really important for the output voltage they are there to control ripple if I recall. I haven't used these devices for years so I would prototype it. the data sheet actually has a  33uF input to ground and a .1uF output to ground. The schematic I got was from some other project hanging out on the hard drive that I never actually made. Remember to put a heat sink on it and keep it away from the hot bits on your motorcycle.

Again YMMV.
You cannot argue with crazy because crazy is not willing to be convinced. Hell, it's not even willing to listen to the arguments.

scott_araujo

Yeah, I looked up some different schematics, doesn't appear to be too picky about the uF.  Also, since I'm just using it to drive a 9V garage door opener that always draws the same current when working, I could probably just measure how much current it draws and figure out what size resistor I need to drop from 12V to 9V.  Not nearly so fancy but pretty easy and probably more than good enough.

Thanks,
Scott