Electronics > Projects, Designs, and Technical Stuff

Safely applying power to unlabeled, unknown USB PC board connector

(1/2) > >>

PP3331:
Hi all. I have a device here that exposes its power and data interface through a single PC board 4 pin connector. I know that it is a USB interface. I cannot easily (that is, non-destructively) examine the board to trace the pins (e.g., to establish which one connects to earth/ground) nor is there a metal case, etc. to use as a GND test point. While it is logical to assume that Vcc and GND are on the outer pins and the data lines on the inner ones, I don't know that for a fact, nor do I know the polarity even if Vcc/GND are on the outer pins. Can anyone suggest a safe procedure for establishing the correct way to hook this up to a USB port, without releasing the magic smoke, using only a common multimeter and/or a cheap scope? Thanks!

PP3331:
Hi. The actual readings (which I just took) don't match up exactly with the above. Hopefully they're close enough to prove that this IS a USB port and not something else (like a serial port). And of course I want to get the polarity correct. Meter specs diode mode as:
Open Circuit Voltage: < 2.8Vdc
Test Current: 1 mA Typical

On the port in diode mode:

 ---- red meter lead (gnd?)
 ---- 1.760v (data?)
 ---- 1.760v (data?)
 ---- 1.494v (+5?)

Any thoughts? Thanks!

RiffRaff:
You cannot determine the pins in this way. 

If you are looking into a "black box" that you can't open up and look at the PCB, then you could try the following:

First find the GND pin.
Then, with GND grounded, apply a 1k resistor to pull a pin up to 5V with respect to GND, while measuring the voltage on the other two pins.  The ESD protection likely includes diodes which will steer to the 5V pin.  If they do, then you will find that pulling 2 of the 3 pins up to 5V will pull up the third pin.  Pulling one data pin up shouldn't pull the other data pin up, unless this device has some dedicated charging mode handshaking circuitry in it, but you seem to indicate that the port is for communication, so I am guessing this is not the case and if anything it has what is called CDP which will turn off when you apply the 1k pull up.

If this is successful, then you know which is your 5V wire and which are your data pins, and you can find your data pin polarity by either a process of elimination, or by applying GND/5V and looking at the data pin voltage.  Assuming this is a high speed capable device, then you will likely see a pull-up to 3.3V appear on the D- pin right after you apply GND and 5V.

PP3331:
Thanks for this. I can't even access the ground plane in this (microprocessor) device, so I have to determine ground only by reference to the other pins. My biggest concerns are potentially blowing this out if it's actually a 3.3v device (not 5), or somehow still getting the polarity incorrect. If this turns out to be a serial port and not a USB port, the entire circuit being powered off 3.3 is not impossible of course.

Gyro:
It would really help if we knew what the device is, what micro it is using, picture of the PCB etc. It's normally fairly easy to trace the power and data lines if you know what to look for.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod