With this adapter, boards that have a JST battery connector can be powered by a wall-mount supply instead. The adapter has a 2.1 × 5.5 mm barrel jack on one end of a 6.25-inch cable. The other end is terminated with a JST-PH connector with 2mm pitch.
The cable is arranged so that using a center-positive barrel plug input will orient the JST connector to be compatible with most boards' JST sockets, where the positive pin is on the left side. Make sure you use the correct polarity for your particular system!
There is no color coding on the cable. Refer to the image below (the connector in the image is upside-down compared to the way it will mate, assuming your board has its JST power connector on its top side).
This adapter is capable of handling up to 2A of current.