Connect the M12 connector end of the cord to the
9-36VDC connector on the device, and wire the four bare wires according to
your needs. The brown and blue wires provide basic DC power input, and the black and white wires are GPIO signal lines.
Pin 1: Power +ve (Brown)
Pin 2: GPIO 0 (Whlte)
Pin 3: Power -ve (Blue)
Pin 4: GPIO 1 (Black)
Feb 27, 2019