How to tell polarity expected of a DC barrel jack?
I'm sure this information is somewhere around the internet, but I can't find it.
I have a device that takes a DC barrel jack. I don't know the polarity it expects though. There is a marking though. It looks like this:
___ --- 12VDC
I'm 99% sure it's a symbol to indicate the polarity, but which is it? Positive inside or positive outside?
why don't you use led with resistor.. connect the anode(+) of led to resistor (you can using 330 ohm of resistor) and you can using this simple tools to test about dc barrel jack.. attach the ends of the resistor to the pin of dc barrel jack, and cathode(-) of led to the other pin of dc barrel jack.. if the led light, the pin of dc barrel jack which attaches to resistor is (+) and the other is (-) (+) -ww- (+ * -) (-) Dc+ R Led Dc-
Unless there is a figure like below, or some wording like "positive centre" then you can't tell.
A supply can use positive or negative centre, as Olin says there is no standard. This is why you get the polarity switches on many of the universal DC supplies.
I know how to read this, but this device doesn't have those markings and I lost the original wall-wart. I guess I'll just have to open it up and guess which one goes to the ground-plane
Before opening up, are there any other connectors (like headphones) of which you can be reasonable certain that it carries ground on one specific terminal? That way you don't have to open it, just measure it with an Ohm meter.
The solid line is meant to show ground and the dashed line 12 V DC in your case. Usually these then go to a symbol that shows one being connected to the outside ring and the other to the center.
Much of the time though nothing tells you. There is no standard, so the only way to know for shure the polarity of a power supply is to measure it.
I have never seen one where power was not the center ping, this stops you from touching it to a ground.
@Kortuk, if you've ever bought electric guitar effects pedals you would know the pain of having to deal with reverse polarity plugs. For some stupid reason they've adopted it almost universally. I have a hunch it's because they want you to buy their over-priced wall adapters.
@Kortuk, even better, you can buy adapters (e.g. from RadioShack) where the tip is interchangeable and they are not keyed for orientation so you can make them whatever polarity you want.
@Kortuk - They exist. We got some FPGA boards from a distri which came with a power adapter, so I supposed it was the right thing and didn't check. It wasn't the right thing, and the board went kaputt. (Distri admitted the error and replaced boards and adapters)
@Kortuk, The reason the tip is sometimes ground is because it's easy to make a socket where inserting the plug cuts the connection of the ring to a backup supply. In this configuration the tip stays connected to the backup when the plug is in, and it's preferable to short the grounds of two supplies rather than the +ve rails of two supplies.
`Much of the time though nothing tells you. There is no standard.` ಠ_ಠ It’s so easy to indicate type and polarity with a single symbol by simply putting the dotted line above or below the solid line. You would think that in the more than 100 years that electronics have been in use, something so basic would have been standardized (and globally at that).
@Synetech That's what the polarity symbol is for, though. The "solid line and dashed line" symbol represents DC vs AC (which is a squiggly line).
I suggest checking the polarity of the barrel conector before you overload your device & it blows up. Use a multimeter on ohms measurement. The negative terminal of the barrel connector will be shorted to ground plane on the PCB, or the chassis, and when you connect one test lead to the negative terminal of the barrel connector and the other to chassis/PCB ground, the multimeter will read 0 ohms. If you can't open the case and there is a battery compartment, you can place your test leads across the negative battery terminal and the barrel socket.
Open up the device trace some circuit board traces and look for clues. For instance: polarity of electrolytic capacitors, or wiring of three-terminal voltage regulators, or the direction of diodes (but you have to understand the circuit for that one: sometimes diodes are reverse biased on purpose). If you see a diode which is connected squarely between the power rails, then it is reverse biased. The stripe end (cathode) of the diode is then on the positive rail. It provides a bypass path for incorrect polarity.
If there is any integrated circuit which is clearly marked, and you can find the data sheet, then you can determine which of its pins is ground. Then you can check for continuity between the tip or ring of the power connector and that pin, either with your multimeter, or by tracing the board and wiring.
There may be additional clues inside the device, like silk-screen markings on the circuit board such as VCC, GND, or other polarity indications. The circuit board might have an obvious ground plane, whose continuity can be traced to the connector.