Jump to content



Photo

USB pinouts?


  • Please log in to reply
10 replies to this topic

#1 jebus197

jebus197

    Neowinian

  • Joined: 08-March 07

Posted 27 January 2014 - 14:10

Hi guys, a friend of mine has brought me a USB stick today on which he claims are some of the most important elements of his life. (I tried to persuade him that keeping stuff like this on USB was a bad idea and that he should back up to the cloud, but he is an older guy and slightly wary of anything that's 'new').

The problem is that the front connector part was quite badly crushed. The rest of it appears to be fully intact. All of the solder points appear to be sound and there is no other physical signs of damage that I can see. (Please see images.) Outwardly this looks like a straightforward fix. I have cut an old USB cable and stripped the wires back. This has revealed 4 wires, which are red, green, black and white. I have cut the old connector off with the intention of soldering these pin-outs to these wires.

However I am a little confused about which pinouts and which wires are which? I have marked one corner of the USB stick with red marker pen. Hopefully you can see from these images that the pinout near the red marker point is labelled 'USB1'. (The writing is very small however.)

Can anyone offer any advice? Starting from the red corner, what order should these wires be attached in? Also does anyone feel that rather than soldering, simple crocodile clips might work in this case? Thanks!

Attached Images

  • USB1 (Large).jpg
  • USB2 (Large).jpg



#2 pjak

pjak

    Neowinian

  • Joined: 21-December 01

Posted 27 January 2014 - 14:23

Pin = Name / Cable Colour (Description)

1 = VCC / Red (+5 VDC)
2 = D- / White (Data -)
3 = D+ / Green (Data +)
4 = GND / Black (Ground)

#3 OP jebus197

jebus197

    Neowinian

  • Joined: 08-March 07

Posted 27 January 2014 - 14:28

Yes but in what direction is this going from the red marker point next to the pinout marked USB 1? Sorry if this seems like a dumb question.



#4 OP jebus197

jebus197

    Neowinian

  • Joined: 08-March 07

Posted 27 January 2014 - 22:56

Anyone?



#5 +snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 28 January 2014 - 00:26

http://image.pinout....out-diagram.gif

 

Flip the USB drive (PCB) in the same orientation as what you see in that pinout diagram as (as if it were a USB cable end that you were looking at face on). The contacts should match the orientation of a regular USB cable.

 

Important, you need to be looking at this as if you are looking at a cable (not the usb socket)!



#6 68k

68k

    Neowinian Senior

  • Tech Issues Solved: 4
  • Joined: 20-January 10
  • Location: Australia

Posted 28 January 2014 - 00:30

The pin closest to the red mark should be pin 1 (considering that the manufacture has used a standard connector - if you could upload photos of the crushed connecter, I could confirm).

 

500px-USB.svg.png

 

Also refer to this datasheet: http://www.molex.com...80370001_sd.pdf

 

Do not use crocodile clips - there's too much risk of them moving around and shorting out. I would recommend soldering. In addition to a fine tipped soldering iron, you'll also need tweezers or fine pliers. You'd first need to remove the left over pins from the USB connector that was cut off (by grabbing them with tweezers/pliers, heating them up (with the soldering iron), then lifting them off). Then solder your cable on, but cut back the copper so that only about 2mm is exposed, and twist the strands so they don't fray. Pre-tinning the cable would significantly ease the soldering process. Once pre-tinned, you shouldn't have to add solder - just place a wire on top of it's relative pad and apply heat to both and let the solder across them unify. It is normal for the cable's insulation to shrink a bit when heated.

 

Replacement connectors are available from Newark, Digi-Key, Jameco and maybe even Radio Shack (I'm guessing you're in the US). There's many to choose from.

 

Pin = Name / Cable Colour (Description)

1 = VCC / Red (+5 VDC)
2 = D- / White (Data -)
3 = D+ / Green (Data +)
4 = GND / Black (Ground)

I confirm the above is correct.



#7 +snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 28 January 2014 - 00:38

I think 68K is correct regarding pin 1.



#8 OP jebus197

jebus197

    Neowinian

  • Joined: 08-March 07

Posted 29 January 2014 - 00:41

Thanks guys, I'll take a look at the whole thing again in the morning.



#9 OP jebus197

jebus197

    Neowinian

  • Joined: 08-March 07

Posted 29 January 2014 - 00:56

As a footnote the crocodile clips are pretty small and are insulated, so not a huge issue with them touching each other maybe. I'll see when the clips arrive tomorrow, I of course won't try anything if it looks even remotely dodgy. This guy is literally sh*tting bricks worrying that a huge chunk of his career might have gone down the toilet.

 

The clips are rated at 0.5 amps which is an exact match for the vast majority of USB sticks out there. I agree however that soldering is a better approach. I lack experience of this, but am in the process of leaning. Maybe if I can get this guy's life off this USB stick without resorting to soldering at first (and perhaps risk damaging it), then if I am successful I will probably practice the soldering route, just to gain some experience. I might have to solder it anyway if all else fails.



#10 +snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 29 January 2014 - 08:25

Let us know how it turns out. Rather interested!



#11 Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 29 January 2014 - 09:01

Soldering is easy :)

 

just take your time with it and dont use too much