1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Keyboard wire

Discussion in 'Hardware' started by intense_one, Mar 8, 2009.

Thread Status:
Not open for further replies.
Advertisement
  1. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    Ok, I'm trying to replace half of the wiring on one keyboard with the other half from another keyboard. Both have five wires inside. The first has an all metal wire, green, red, yellow, and white, the other has pink, black, brown, white, and all metal. Which do i connect together? I'm assuming all metal goes to all metal, and maybe white to white?? Thanks.
     
  2. win2kpro

    win2kpro

    Joined:
    Jul 19, 2005
    Messages:
    11,669
    The USB plugs used a color code as follows.

    VCC Red +5 VDC
    2 D- White Data -
    3 D+ Green Data +
    4 GND Black Ground

    PS2 connector keyboards and mice didn't have assigned color codes and various manufacturers used whatever color they wanted.

    Since the plugs are molded and you can't trace the wiring you would be better off just to purchase a new keyboard.
     
  3. daniel_b2380

    daniel_b2380

    Joined:
    Jan 31, 2003
    Messages:
    2,392
    or a 'ready-made-extension' if just trying to make it longer,
    or go wireless,
     
  4. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    i heard you can use a usb cord, is it possible?
     
  5. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    ok i got some of it done. i found two sites: http://www.usbman.com/Guides/BelkinMotherboard_cable_assembly.htm
    and http://www.instructables.com/id/S453PMXFJX8VQ0F/ (sorry if links are illegal, just say so and ill delete) so i connected red with pink, white with white, brown with yellow, and green with black. when i powered on the computer the 3 lights blinked but nothing after that happened. So i changed the brown to green and black to yellow. Now it blinks on startup then keeps blinking. what now? I assume I got the right power connections.

    List of correct connections so far:
    *Red and pink
    *White and white??
     
  6. daniel_b2380

    daniel_b2380

    Joined:
    Jan 31, 2003
    Messages:
    2,392
    intense_one,
    no, posting a link to show what you're doing,
    or to give info is NOT against forum guidelines,
    IF it would contain what is referred to as 'inappropriate' content,
    [read as: porn and such],
    THAT would NOT be a good thing though, :D
    .
    as long as you read THIS:
    USBMan WARNING! Read This First!
    Improperly wiring a USB port can result in permanent and fatal damage to the motherboard, the USB port and ANY peripheral connected to the motherboard.
    .
    far be it from me to tell someone NOT to do something,
    reckon that is how we learn new things,
    sometimes though,
    it CAN cost $$$$$$$$
    so as long as that part IS understood,
    GO FOR ITTTTTTTT! :D :D
    .
    and, good luck
     
  7. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    i got a usb cable, it has red, white, green, and yellow.
    the ps/2 cable has red, white, green, and black. which do i connect?
     
  8. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    What is it you are trying to do?
    If you are trying to make a longer cable, an extension would be a better choice. Otherwise, just cut the existing cable in the middle, and splice in another length. The colors don't really matter as long as you use the same color on each end of the splice.

    If you are trying to connect a USB cable to a PS/2 keyboard so you can use it as a USB keyboard, that won't work unless the keyboard is designed to work with both the USB and PS/2 protocol. The communication protocols are different.

    Jerry
     
  9. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    how bout connecting another ps/2 cable? The original broke, that's why. The other has brown, black, pink, white. I tried connecting them in the order that they are on the board in the keyboard and turned on the keyboard, the lights blinked once, then the bios freaked out making a bunch of beeps, then stopped then went to a keyboard failure/fan failure screen with no keys to push.
     
  10. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    You'd need to use an ohm meter or test light to determine which pin each wire on the new cable connects to, then you'd know for sure what each wire is.

    If you have the original connector you can do the same with it. Sounds like you don't have that end though. And I'm guessing the circuit board in the keyboard itself doesn't have the connections labeled.

    Shouldn't be too hard to determine which connector is power and which is ground though. With just power connected, you should see the lights flash, then the BIOS would complain about no keyboard. If Data and Clock are reversed, I'd expect the same, so it would just be a case of reversing the clock and data wires.

    When you put the wires back, does it revert to the original behavior? If not, it's possible the keyboard controller pr the ps/2 port on the motherboard has been damaged.

    This is a common color code. They should be assigned as follows:
    +5V - Red
    Data - White
    Clock - Green
    Ground - Black

    On the new cable best to check with a meter/test light, but if I had to guess:
    pink - +5V
    black - Ground
    brown - Clock
    white - Data.

    As has been mentioned, wiring it incorrectly could not only damage the keyboard, but the PS/2 port on the motherboard.

    Jerry
     
  11. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    this computer's indestructable, ive had many chances to screw up the motherboard and it has always worked, I'll try your configuration later. it also works with an older ps/2 keyboard, but its the crapiest keyboard ive ever seen.
     
  12. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    actually the black on the newer one is yellow. and i tried using the config u said, using the yellow with the black, and it beeped mutiple times for a while.
     
  13. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
  14. daniel_b2380

    daniel_b2380

    Joined:
    Jan 31, 2003
    Messages:
    2,392
    do you have a vom / multi meter ???
     
  15. intense_one

    intense_one Thread Starter

    Joined:
    Nov 9, 2008
    Messages:
    70
    i don't know, if not i could maybe get one.
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/807637