The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car.com Store > MP3Car Products - store.mp3car.com > Mp3Car Infill G4 - Double Din Car Computer

Reply
 
Thread Tools Display Modes
Old 05-01-2007, 12:36 PM   #1
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
HOWTO: Power a USB Hub for the G4

The Problem
Depending on the number and type of devices you want to connect to the G4 you may need to use a USB and hub and if one or more of the devices consume a fair bit of power (i.e. external sound card, external hard drive), you may need to provide a power to the USB hub for it to work properly. If you don't power your USB hub, your devices may act strange when connected to it. They may not work at all, or they may appear to work, but cause errors or have erratic behavior.

Powering a hub in the car is actually a trivial problem with a non-trivial answer. Unfortunatly, you can not simply hook up a the unregulated 12 volts readily available in the car directly to the hub. USB hubs require regulated 5 volts and what is more, they should be powered whenever the computer is on. This is actually different from when the car is on. Since the computer must go through a shutdown sequence when it goes to hibernate or standby and this sequence is initiated by turning the key off in the car and doesn't end until a number of seconds after the car has lost power, you can not simply provide power when the accessory power of the car is on. If you do, your hub will lose power before the computer shuts down and windows will detect the forceful removal of the devices and it will wreak absolute havok on the device drivers. This will result in bad things happening the next time the computer is started.

The Solution
Simply put, the solution is to provide power to the USB hub always and only when power on the USB bus from the computer is on. This can be implemented with a 5volt SPST relay that is triggered by the USB bus and turns on a 5 volt Point of Load (POL) power supply that in turn provides power to the USB hub. This may sound complicated, but really its pretty easy to do, you just have to make sure you connect the wires to the right places.

Parts Needed:
Tools Needed:
  • Wire Strippers
  • Soldering Iron and Solder
  • Heat Shrink Tubing
  • Wire 18 gauge or higher


Before you begin, you should first familiarise yourself with the Carnetix POL power supply manual, particularly section 2.2.2 on use as a Stand-Alone POL regulator.

First we shall make the trigger for the 5 volt relay. To do this, cut the USB extention cable completely in half at the center. You will notice there are 4 wires inside and the wire is surrounded by shielding wire. Strip both ends of the cut cable about 2 inches or so being carful to leave the metal shielding wire intact. Then strip the ends each of the 4 small individual wires on each wire.

Now get 2 6 inch lengths of wire and strip both ends of them. Twist one wire and the two red ends of the usb cable back together and the other wire and the two black ends (negative) of the usb cable back together. Twist the grend ends together then the white ends back together of the usb cable. These are the data lines and are not used. They were just cut to make striping the wire easier. Also twist the wire shielding from both ends of the cable back together. Use solder on all 5 wire twists, place and heat the heat shrink tubing over all of them.

The relay should have 2 poles on one side and 3 on the other, place the heat shrink tubing over solder the two loose wires coming from the USB cable you just made.

On the side of the relay with the 3 poles, you should connect the cars unregulated 12 volts to the input pole, usually the stand alone one and the other to the pole that is active only when the 5 volt trigger voltage is applied should be soldered to the green wire from the POL power supply.

Finally hook up the rest of the wires on the point of load power supply. Providing the cars unregulated 12 volts and ground where indicated in the manual and hook the red and black output wires to the positive pole and negative outside of the USB hub.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com

Last edited by god_of_cpu : 05-02-2007 at 10:32 AM.
god_of_cpu is offline   Reply With Quote
Sponsored Links
Old 05-02-2007, 10:09 AM   #2
Variable Bitrate
 
Join Date: Aug 2004
Posts: 315
My Photos: (0)
Question couldn't I use the blue amp turn on wire to trigger the realy on instead of loosing one of my usb connections off of the g4 ?
lagunatl2k is offline   Reply With Quote
Old 05-02-2007, 10:32 AM   #3
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
Quote: Originally Posted by lagunatl2k View Post
Question couldn't I use the blue amp turn on wire to trigger the realy on instead of loosing one of my usb connections off of the g4 ?

Unfortunatly no, the amp line is actually turned on after the system is started and before it completely shuts down.

The only extenal wire that turns on and off when USB is suppose to turn on and off is the USB ports coming from the G4.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Old 05-03-2007, 06:23 AM   #4
Newbie
 
Join Date: Apr 2005
Location: GREECE, Athens/Thessaloniki
Vehicle: Seat Ibiza '02 101hp
Posts: 18
My Photos: (0)
nice howto! very helpful!

i suppose it is the same procedure powering up a usb hub at every PC not only at g4, right?

what if i need more usb ports than a 4-port usb hub can provide? sth like 8-ports (one 8-port usb hub OR two 4-port usb hubs) let's say..

do i need one more carnetix attached the same way as the first in a different mobo usb port for thw two 4-port usb hubs solution?
if i use the 8-port solution does carnetix provide enough power to the 8-port hub? (500mA x 8 = 4A, i think carnetix provide just 3A max, right?..)
Nazx is offline   Reply With Quote
Old 05-03-2007, 08:22 AM   #5
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
Quote: Originally Posted by Nazx View Post
nice howto! very helpful!

i suppose it is the same procedure powering up a usb hub at every PC not only at g4, right?

what if i need more usb ports than a 4-port usb hub can provide? sth like 8-ports (one 8-port usb hub OR two 4-port usb hubs) let's say..

do i need one more carnetix attached the same way as the first in a different mobo usb port for thw two 4-port usb hubs solution?
if i use the 8-port solution does carnetix provide enough power to the 8-port hub? (500mA x 8 = 4A, i think carnetix provide just 3A max, right?..)

Yes, it should work for other systems, but there are easier ways if you access to the power supply and extra power, just power the hub directly from the 5 volt rail of the power supply and your done. You can't access this on the G4, so you need an external power supply.

The carnetix has a max of 4 amps which means if you hook up 8 devices that draw the max of .5 amps for each usb device, you will need a bigger power supply. If you have alot of devices that don't draw that much power, your not going to max out the 3 amps. Better yet, you should just add 2 4 port hubs, power 1 for your high power USB devices and use the other for the lower power devices that can just use bus power and you won't have to worry if your overloading the power supply.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Old 05-03-2007, 10:49 AM   #6
Low Bitrate
drakino's CarPC Specs
 
drakino's Avatar
 
Join Date: Apr 2007
Location: Austin
Vehicle: 2007 Mustang GT
Posts: 96
My Photos: (1)
On a related USB note, I'm going to pick up one of these for adding USB ports to the G4. Looks pretty slick, should allow for some good custom installs with USB ports hidden away, and this has been the only "squid" hub I've seen with extra power. Just need to feed it down the 5v line of the red USB connector.

http://www.radioshack.com/sm-gigawar...i-2498117.html

Not in stock online, but shows in stock at most of the stores near me. Will report more on how it works later.
drakino is offline   Reply With Quote
Old 05-03-2007, 11:26 AM   #7
Constant Bitrate
Marassa's CarPC Specs
 
Join Date: Apr 2007
Location: Moscow, Russia
Vehicle: 2007 Kia Sorento
Posts: 125
My Photos: (0)
May be slightly off-topic here, but nevertheless: if you are running short of available USB ports, you might consider one of those combo wifi/bluetooth adapters. Have no idea of how good they really are, probably worth experimenting.
Marassa is offline   Reply With Quote
Old 05-04-2007, 03:51 PM   #8
Newbie
 
Join Date: Apr 2005
Location: GREECE, Athens/Thessaloniki
Vehicle: Seat Ibiza '02 101hp
Posts: 18
My Photos: (0)
Quote: Originally Posted by god_of_cpu View Post
Yes, it should work for other systems, but there are easier ways if you access to the power supply and extra power, just power the hub directly from the 5 volt rail of the power supply and your done. You can't access this on the G4, so you need an external power supply.

The carnetix has a max of 4 amps which means if you hook up 8 devices that draw the max of .5 amps for each usb device, you will need a bigger power supply. If you have alot of devices that don't draw that much power, your not going to max out the 3 amps. Better yet, you should just add 2 4 port hubs, power 1 for your high power USB devices and use the other for the lower power devices that can just use bus power and you won't have to worry if your overloading the power supply.

thanks for the tips!

i didn't know that g4 is so inaccesible..!

i know that in an ordinary pc i can use the PSU's 5v rail to power up the usb hub, but i don't want to drain more power from the PC's PSU and push it to the limits. besides in this case i can also use the hosts usb hub (mobos usb hub) without adding any external usb hub! i just don't want to drain PSU's power..

anyway, i haven't thought using the two 4-port usb hubs solution, using one for the high power USB devices and the other for the low power USB devices that can just use bus power, therefore i'll consider that as a very good option!

in any case i will need a bigger power supply than the 3A carnetix powering let's say an 8port usb hub, do you have any suggestions? Sorry for the off topic!

Many thanks!
Nazx
TK
Nazx is offline   Reply With Quote
Old 05-20-2007, 01:23 PM   #9
Low Bitrate
IandI's CarPC Specs
 
Join Date: Apr 2007
Location: San Dimas, Cali
Posts: 76
My Photos: (0)
Is there a reason why you can't eliminate the relay and wire the GRN/BLK wire of the CNX-P5V directly to the USB power from the G4? Also, wouldn't it be a good idea to fuse the 5v output prior to the device or hub?
IandI is offline   Reply With Quote
Old 07-16-2007, 09:55 PM   #10
pim
Low Bitrate
 
Join Date: Mar 2006
Location: The Hague, the Netherlands
Vehicle: Alfa GT 2005
Posts: 71
My Photos: (0)
Can anyone recommend a relay that I can order from Conrad?

I see a lot of Omron relays there, but not the one linked to in the original article.

Thanks,
Pim
pim is offline   Reply With Quote
Sponsored Links
Old 07-17-2007, 03:07 PM   #11
Variable Bitrate
JasonMK's CarPC Specs
 
JasonMK's Avatar
 
Join Date: Jun 2007
Location: Annapolis, MD
Vehicle: 2007/Saturn/VUE
Posts: 251
My Photos: (28)
Thanks, very helpful even for someone like me
JasonMK is offline   Reply With Quote
Old 07-18-2007, 04:21 AM   #12
bir
Newbie
bir's CarPC Specs
 
Join Date: Apr 2007
Posts: 18
My Photos: (0)
pim,

The power supply is only rated to 3A so any 5V Relay with >3A should work. The one god of cpu referenced is really just a great price for a nice small relay, but any relay will work. My Deutsch is beyond rusty but I believe this one will work (part no: 504197 - 62 ):

http://www1.conrad.de/scripts/wgate/...1&cachedetail=

Someone else will have to confirm, but I believe it is a standard 5VDC 5A normally off relay which this project calls for...

Hope that helps.
bir is offline   Reply With Quote
Old 07-18-2007, 04:56 AM   #13
pim
Low Bitrate
 
Join Date: Mar 2006
Location: The Hague, the Netherlands
Vehicle: Alfa GT 2005
Posts: 71
My Photos: (0)
Thanks, bir.

You can't deeplink into the Conrad site, good you mentioned the part no.

Pim
pim is offline   Reply With Quote
Old 07-18-2007, 09:27 AM   #14
bir
Newbie
bir's CarPC Specs
 
Join Date: Apr 2007
Posts: 18
My Photos: (0)
I figured I couldn't direct link, but was too lazy to double check

Glad you could find the part.
bir is offline   Reply With Quote
Old 07-18-2007, 11:43 AM   #15
pim
Low Bitrate
 
Join Date: Mar 2006
Location: The Hague, the Netherlands
Vehicle: Alfa GT 2005
Posts: 71
My Photos: (0)
What confuses me is that the USB hub that is referenced in god_of_cpu's article looks to me like a bus powered one. It says so on the packaging and I don't see an external input. Shouldn't the output of the Carnetix be connected to the external power input of the hub?

Also, if the hub is big enough, couldn't the relay and the power regulator just be built in to the hub case? That might make access to all the power leads easier.

Pim
pim is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Powered Hub, Lots of USB Devices! Will this work? adamharrisuk General Hardware Discussion 4 05-14-2006 11:00 PM
Usb hub power source? dmcdlrn Power Supplies 5 04-01-2006 02:03 PM
My USB/Wifi troubles. JPuma General Hardware Discussion 0 09-23-2005 11:44 AM
Laptops, Standby and USB Power Idea matthewtoney Laptops, Tablets, UPMCs, etc. 2 06-17-2005 10:38 PM
FS: Belkin 7-port USB 2.0 Hub w/DC-DC POWER SUPPLY markcc01 Newbie 0 06-07-2004 11:09 AM


All times are GMT -5. The time now is 11:20 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics