PlayStation controllers use a nine-conductor, wired connector plug. Only six pins are necessary for our needs (we'll ignore the white VCC2 wire that's used for rumble motors, and the green ACK wire).
This is the wiring we'll use:
- QT Py A0 - DAT (data) in from PlayStation controller brown wire
- QT Py A1 - CMD (command) data out to PlayStation controller orange wire
- QT Py A2 - ATT (attention / chip select) out to PlayStation controller yellow wire
- QT Py A3 - CLK (clock) out to PlayStation controller blue wire
- QT Py GND (ground) to PlayStation controller black wire
- QT Py 3V - VCC (power) out to PlayStation controller power red wire
Harvest the Connector Cable
Plug your controller into the extension cable to be sure you have the proper end selected. Then, cut the wire about 6 inches from that end.
Carefully remove about three inches of the outer insulation, making sure not to cut any of the wires.
Wire the QT Py
Feed the wires through the QT Py holes as shown, according to the color coding shown in the Fritzing diagram (you can ignore white and green).
Trim the wires to a consistent length, leaving about 3/4" extra. Then strip insulation from the tips and back the wires out of the holes until the bare wire is centered in each hole, then solder them in place.
Optional Heat Shrink Tubing
You can optionally tidy up the build with a bit of heat shrink tubing. Feeling really extra? Poke a small hole in the tubing to see the NeoPixel light up!
Text editor powered by tinymce.