As stated above, I have a 2.1mm barrel jack designed for a breadboard. The jack has 3 pins which insert into the main part of the breadboard (Not power rails). The datasheet does not state where my wires need to go to connect positive or earth/negative. I assume it requires connections because it does not fit into the power rails.
Correct me if I’m wrong here, but I don’t think that the jack you’ve listed would be a good fit for a breadboard, more a PCB or hand-wiring, as the legs seem too thick to go into a breadboard.
One pin will be connected to the centre pin of the connector, one to the barrel contactor, and the third to the barrel/any other metal parts on the jack.
The most common wiring is with the centre pin positive, and the other two pins negative or ground, but there are devices that use a centre pin negative, so it’ll depend on your supply.
The datasheet shows pin 1 as the centre pin, pin 2 as the barrrel and pin 3 connected to the barrel when the plug is not inserted. Pin1 is on the centreline furthest from the plug, pin 2 on the centreline nearest the plug, and pin 3 off to the side. Which is positive or negative depends on how the plug is wired.
The short answer is it’s whatever you want it to be Have a look on your power supply - you’ll see a little symbol indicating whether it’s centre positive or centre negative.
Then either read the datasheet or use a multimeter to check whcih pin is which and wire it accordingly.
1 Like
And you can get our latest projects and tips straight away by following us on: