Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Relay switchable USB hub?

  1. #11
    Maximum Bitrate JimmyFitz's Avatar
    Join Date
    Nov 2005
    Location
    Austin, Texas
    Posts
    735
    Quote Originally Posted by BarryWoods View Post
    As long as you have the iPod as the active usb device it will charge. Once you switch over it won't any more. Now if you just switch the io pins and not the power pins, when you switch over it will go from a usb data port to a usb charging port. Though I don't know if you head unit can supply enough power for both devices.



    Your circuit looks like you have the right idea. You could try Not switching the power lead like Barry says if you want both to charge at the same time. But that may be more likely to make the Kenwood host not see the swap of devices. Trial and error will get you an answer to that.
    ~Jimmy

  2. #12
    Newbie
    Join Date
    Feb 2008
    Posts
    46
    One of the ports will only be for USB thumb-drive, so I won't have any reason to charge both ports at once. I'll likely just switch all 3 wires and ground the 4th. I suppose I could actually even use the 4th pole to switch ground too, right? That's only a little more soldering...

    Still, I need a flush-mount USB connector. I can't find any commercial 2 port hubs that are large enough to house a 4PDT relay. So I'll make my own, but I don't want it to look ghetto. Plus, I need to mount a USB port in my center console, and don't want that to look bootleg either.

    Ideas on that?

  3. #13
    Maximum Bitrate JimmyFitz's Avatar
    Join Date
    Nov 2005
    Location
    Austin, Texas
    Posts
    735

    Lightbulb

    Quote Originally Posted by BAC5point2 View Post
    One of the ports will only be for USB thumb-drive, so I won't have any reason to charge both ports at once. I'll likely just switch all 3 wires and ground the 4th. I suppose I could actually even use the 4th pole to switch ground too, right? That's only a little more soldering...

    Still, I need a flush-mount USB connector. I can't find any commercial 2 port hubs that are large enough to house a 4PDT relay. So I'll make my own, but I don't want it to look ghetto. Plus, I need to mount a USB port in my center console, and don't want that to look bootleg either.

    Ideas on that?
    http://store.mp3car.com/Automotive_M..._p/com-040.htm

    I wouldn't switch the ground wire.
    ~Jimmy

  4. #14
    Newbie
    Join Date
    Feb 2008
    Posts
    46
    I saw that, but I want something small so I can fit it on a small project box that'll be behind the dashboard. I need 3 of them (so I don't have to hardwire the iPod connector and the other connector to the switch unit).

    You wouldn't switch ground? Fair enough, it's easy to run a ground wire.

  5. #15
    Newbie
    Join Date
    Feb 2008
    Posts
    46
    So would you use this:

    http://www.newark.com/64K3142/electr...EW-HC4-H-DC12V

    and this:

    http://www.newark.com/64K3145/electr...C-EW-HC4-SFD-K

    I'd like to build this fairly soon. I still don't know exactly how I will build the module though.

    Does anyone have a USB pinout chart?

  6. #16
    Variable Bitrate kelmk's Avatar
    Join Date
    Aug 2007
    Location
    SF
    Posts
    371
    I just built a relay into a usb cable for my space navigator. The only wire I had to switch was the red power wire. switching it off caused the device to not be found. I don't think it is necessary to switch the other wires.

  7. #17
    Maximum Bitrate JimmyFitz's Avatar
    Join Date
    Nov 2005
    Location
    Austin, Texas
    Posts
    735
    Quote Originally Posted by kelmk View Post
    I just built a relay into a usb cable for my space navigator. The only wire I had to switch was the red power wire. switching it off caused the device to not be found. I don't think it is necessary to switch the other wires.
    Glad to know that you got it working. The OP wants to toggle between two devices. Killing power to one device will definitely inhibit it, but the reason I suggested switching the I/O lines too was that there would still be a chance of the unpowered device interacting through those lines with the device that you are trying to use. The best way to guarantee that ANY two devices you may wish to plug in and switch between works is to simulate unplugging one and plugging in the other. Grounds would not matter but power and I/O are all that's left.
    ~Jimmy

  8. #18
    Newbie
    Join Date
    Feb 2008
    Posts
    46
    Actually, I don't need a 4PDT, so how about these:

    http://www.newark.com/35K3220/electr...HRACK-PT370012

    and

    http://www.newark.com/46F3616/electr...UMFIELD-27E893

    I have a question about the orientation of the pins though.

    I found this

    http://relays.tycoelectronics.com/datasheets/PT.pdf

    For the 3PDT relay.

    Can I assume that pins (13) and (14) are used for the coil, and that I'd wire the USB pins from the head unit to (4), (5), and (6), and then wire the thumb-drive input to (1), (2), and (3) and the iPod input to (7), (8), and (9)? I've never used a dual-throw relay before, only SPST's.

    Thanks!

  9. #19
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    If you're still looking for the USB Pinouts, this is one of the best sites I've found for almost ALL pinouts. It's a russian site (I'm guessing), but it's in english.

    http://pinouts.ru/SerialPortsCables/...e_pinout.shtml

  10. #20
    Newbie
    Join Date
    Feb 2008
    Posts
    46
    I found a USB pinout on Wiki, but that site is unbelievably awesome!

    Any information about the wiring of the 3PDT relay I mentioned above?

    You are in DC? I'm just north of DC!

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Installing a USB Hub up-front? Read this...
    By hd54321 in forum General Hardware Discussion
    Replies: 13
    Last Post: 02-09-2007, 12:49 PM
  2. Powered Hub, Lots of USB Devices! Will this work?
    By adamharrisuk in forum General Hardware Discussion
    Replies: 4
    Last Post: 05-15-2006, 12:00 AM
  3. USB Hub not working after coming out of hibernation
    By volum3rider in forum Input Devices
    Replies: 25
    Last Post: 09-11-2005, 01:07 PM
  4. usb hub power problem
    By modUlarBeing in forum Power Supplies
    Replies: 2
    Last Post: 11-21-2004, 07:34 PM
  5. wireless usb kb + mouse + hub idea
    By crippy in forum Input Devices
    Replies: 4
    Last Post: 10-12-2003, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •