I am planning to power my project using a wall adapter and wanted to connect this jack to my PCB, but the datasheet could not explain what are these pins and how they need to be connected.
If you look inside the jack you should see a strip of metal that is pushed down when you insert the plug. That piece of metal acts as a switch. When there is no plug in the jack it connects two of the pins.
ssdesign:
...but the datasheet could not explain what are these pins and how they need to be connected.
Or... you didn't understand what is clearly explained in the datasheet.
Look at the box with "Circuit Diagram" in it.
Pin1 connects to the middle pin of the plug, which usually is the positive.
Pin2, with the V shape (sliding contact) connects to the outside of the power plug (usually negative).
Pin3 is a 'normally closed' contact to pin2.
Pin3 (on the side of the socket) is sometimes used to connect/disconnect a battery.
Just use pin1 and pin2.
Pin3 can be left unconnected, or connected to pin2 if battery switching is not used.
Leo..
UL Listed 9V AC/DC Power Adapter for Arduino/Schwinn Bike A10 A20 A40 220 430 Elliptical Recumbent Upright Trainer/Crosley Cruiser CR8005A - Center Positive
In fact always check everything with your multimeter, its a good habit to acquire - sometimes you have
the wrong datasheet, or the product is faulty, checking is worth the effort.
The third contact is a left over from using these with the likes of radios where when you plugged the plug in (!) it disconnected the internal speaker and connected to output to the plug.
I’m sure there are other uses for it , such as switching a power source to the plug input instead of say a battery .