Ducati Monster Forum

Moto Board => Tech => Topic started by: Monsterlover on May 27, 2009, 09:47:39 AM

Title: Wiring in a USB port to charge a phone
Post by: Monsterlover on May 27, 2009, 09:47:39 AM
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.


Title: Re: Wiring in a USB port to charge a phone
Post by: Howie on May 27, 2009, 10:10:26 AM
Good question.  This could work for my phone and the car GPS.
Title: Re: Wiring in a USB port to charge a phone
Post by: 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...
Title: Re: Wiring in a USB port to charge a phone
Post by: Monsterlover on May 27, 2009, 10:47:35 AM
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
Title: Re: Wiring in a USB port to charge a phone
Post by: aaronb on May 27, 2009, 07:25:18 PM
usb's are only 5v. IIRC.  a car charger and a cig lighter adapter would be best. 
Title: Re: Wiring in a USB port to charge a phone
Post by: herm on May 27, 2009, 07:55:12 PM
are you looking for a mini USB connection? try this from garmin

mini usb (http://garmn.factoryoutletstore.com/details/1697-7138/Garmin-Nuvi-Series-Power-Supplies-Cables-GUSB5V-B.html)
Title: Re: Wiring in a USB port to charge a phone
Post by: Monsterlover on May 27, 2009, 09:08:41 PM
No, the full size USB...
Title: Re: Wiring in a USB port to charge a phone
Post by: herm on May 28, 2009, 10:56:31 AM
oh, like this then

(http://www.l-com.com/product_images/detail/LG_ECJ504-UA.JPG)

try this place (http://www.l-com.com/familylist.aspx?id=190)

[thumbsup]
Title: Re: Wiring in a USB port to charge a phone
Post by: Major Slow on May 28, 2009, 10:56:59 AM
A usb connector pins out like this:

(http://i608.photobucket.com/albums/tt166/rose_guy/usb-a3.gif)

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

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

(http://i608.photobucket.com/albums/tt166/rose_guy/psu_5v.jpg)

viola. you have a charger.

ymmv

EDIT: You should put the regulator on a little bit of aluminium as a heat sink.
Title: Re: Wiring in a USB port to charge a phone
Post by: Monsterlover on May 28, 2009, 01:49:20 PM
^

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!
Title: Re: Wiring in a USB port to charge a phone
Post by: 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
Title: Re: Wiring in a USB port to charge a phone
Post by: Major Slow on May 28, 2009, 07:48:31 PM
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.
Title: Re: Wiring in a USB port to charge a phone
Post by: scott_araujo on May 28, 2009, 10:06:08 PM
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