This 30 cm (12″) cable has six 28 AWG wires and a 6-pin female JST SH-type connector that works with the encoders on our Micro Metal Gearmotors and with our 6-pin JST SH-style connector breakout boards. The other ends of the wires are unterminated; they can be cut to length to match your application.
Note: We also have a version of this cable with the wires in a standard color order (e.g. with the black wire on pin 1) rather than color-coded specifically for Micro Metal Gearmotor encoders.

Use with Micro Metal Gearmotor Encoders
When used with our encoders, the wire color scheme is as follows:
| Pin | Wire color | Function |
|---|---|---|
| 1 | Green | encoder GND |
| 2 | White | encoder channel B output |
| 3 | Yellow | encoder channel A output |
| 4 | Blue | encoder Vcc (2.7 V to 18 V) |
| 5 | Black | motor power M2 (other terminal) |
| 6 | Red | motor power M1 (“+” terminal) |
Dimensions
| Pins: | 1×6 |
|---|---|
| Pitch: | 1 mm |
| Length: | 30 cm |
| Weight: | 3 g |
General specifications
| Gender: | Female-unterminated |
|---|---|
| Wire gauge: | 28 AWG |
| Current rating: | 1 A |
| Voltage rating: | 50 V |
| Connector: | JST SH-type |
| Terminations & length: | single-ended, 30 cm |
