Circuit Diagram

PLEASE BE AWARE - THIS IS NOT AN EASY/BEGINNER PROJECT! This project is for experienced makers, with successful soldering and Raspberry Pi projects. We DO NOT guarantee you will be able to build this project sucessfully!

Wired Connections

The diagram above depicts the connections for the power, audio and gamepad. Use this as a reference for wiring the components. Note, the length of wires and position of components are not exactly how the circuit will be - it’s just a diagram to show connections.

{  18,   KEY_LEFT		},  // Left
{  24,   KEY_RIGHT		},  // Right
{   5,   KEY_DOWN		},  // Down
{   6,   KEY_UP			},  // Up
{  12,   KEY_Z			},  // A
{  13,   KEY_X			},  // B
{  16,   KEY_A			},  // X
{  19,   KEY_S			},  // Y
{  20,   KEY_Q			},  // L
{  21,   KEY_W			},  // R
{  17,   KEY_ESC		},  // TFT 17
{  22,   KEY_LEFTCTRL	},  // TFT 22 SELECT
{  23,   KEY_ENTER		},  // TFT 23 START
{  27,   KEY_4			},  // TFT 27

GPIO Wired Connections

Follow the table above to reference which buttons to wire to the GPIO. The numbers on the left represent the corresponding GPIO number (NOT the pin number).

Gamepad PCB Update! Pins have been updated. Please reference the wiring diagram below.

Gamepad Connections

When the PiTFT is flipped over, the connections are reversed. This diagram references the connections from the back of the PiTFT and Gamepad PCBs. This is most likely how you will wire the buttons to the pins on PiTFT. The colors match with each corresponding button and GPIO number.

This guide was first published on May 06, 2016. It was last updated on Sep 19, 2018. This page (Circuit Diagram) was last updated on Jul 26, 2018.