Take a moment to look over the components. The circuit diagram is ment to be used a reference for visualizing wired connections.
The length of wires, dimension of components, and positions are not exact.
The four main components (Raspberry Pi A+, TFP401 display driver, 2.8W Amplifier and PowerBoost500C) will be powered by the PowerBoost 500C and a 6600mAh Lithium Ion battery via JST cable. To power the circuit on/off, a slide switch is connected to the EN,and GND pins on the PowerBoost500C.
The 2.8W Amplifier is connected to GND and +Postive pins on the PowerBoost 500C. A right-angle 3.5mm stereo plug to pigtail cable is wired to the amp and connected to the audio jack on the Pi A+. Two mini metal speakers are wired to the audio output pins on the amp.
The 5V and GND pins on TFP401 display driver are wired to the 5V and GND pins on the PowerBoost500C. A flat HDMI cable is connnected from the TFP401 to the Raspberry Pi A+.
The 5" HDMI display uses a 40-pin FPC extension board to connect the TFP401 display driver to the screen.
Below is a legend of each connection. It includes the pin number, name and connection. The GPIO graphic matches the order of the pins. Use this to reference which buttons connect to the GPIO.
The pin# is the actual number of the pin in series. The numbers go from left to right, top to bottom. The name is the title for a given pin entity. Note the GPIO # does not match the pin number. The connection is the button or wire that needs to be assoicated with the pin.
The GPIO # will be associated with the Input value in the retrogame.c file.
In most cases, you should print out the legend (on physical paper) and use it as a cheatsheet while assembling the circuit.
UP - GPIO 17, Pin 11
Black - Ground