Adafruit PyGamer Pinout

PyGamer combines a 120 MHz SAMD51, a color TFT and physical game controls. The rear exposes FeatherWing sockets, three STEMMA sockets, a LiPo input and a speaker output.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

73 visible
PinMCU pinTypesNotes
ControlActive-low board reset.
ControlActive-low board reset.
PowerRegulated 3.3 V rail.
PowerRegulated 3.3 V rail.
AnalogPowerFiltered analog supply exposed on the AREF position.
AnalogPowerFiltered analog supply exposed on the AREF position.
GNDCommon signal and supply return.
GNDCommon signal and supply return.
AnalogGPIOAnalog input, GPIO or DAC0 output.
AnalogGPIOAnalog input, GPIO or DAC0 output.
AnalogGPIOPWMAnalog input, GPIO or DAC1 output.
AnalogGPIOPWMAnalog input, GPIO or DAC1 output.
AnalogGPIOPWMAnalog input on either ADC, or GPIO.
AnalogGPIOPWMAnalog input on either ADC, or GPIO.
AnalogGPIOPWMAnalog input on either ADC, or GPIO.
AnalogGPIOPWMAnalog input on either ADC, or GPIO.
AnalogGPIOPWMAnalog input or GPIO.
AnalogGPIOPWMAnalog input or GPIO.
AnalogGPIOPWMAnalog input or GPIO.
AnalogGPIOPWMAnalog input or GPIO.
SPIGPIOPWMFeather SPI clock output.
SPIGPIOPWMFeather SPI clock output.
SPIGPIOPWMFeather SPI controller data output.
SPIGPIOPWMFeather SPI controller data output.
SPIGPIOPWMFeather SPI controller data input.
SPIGPIOPWMFeather SPI controller data input.
UARTGPIOPWMFeather UART receive input.
UARTGPIOPWMFeather UART receive input.
UARTGPIOPWMFeather UART transmit output.
UARTGPIOPWMFeather UART transmit output.
GPIOSPIPWMDigital pin shared with microSD chip select.
GPIOSPIPWMDigital pin shared with microSD chip select.
PowerPositive terminal of the single-cell LiPo battery rail.
PowerPositive terminal of the single-cell LiPo battery rail.
Control3.3 V regulator enable. Pull low to disable the regulator.
Control3.3 V regulator enable. Pull low to disable the regulator.
Power5 V VBUS from the Micro-USB port.
Power5 V VBUS from the Micro-USB port.
GPIOLEDPWMDigital I/O shared with the red indicator LED and the Micro-USB ID contact.
GPIOLEDPWMDigital I/O shared with the red indicator LED and the Micro-USB ID contact.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
GPIOPWM3.3 V digital I/O.
I2CFeather 3.3 V I²C clock.
I2CFeather 3.3 V I²C clock.
I2CFeather 3.3 V I²C data.
I2CFeather 3.3 V I²C data.
GPIOAnalogPWMSTEMMA D2 data line. Use 3.3 V-compatible signals.
PowerShared supply for all three STEMMA sockets. SJ1 selects V+ or 3.3 V.
GNDCommon signal and supply return.
I2CLevel-shifted clock for STEMMA I²C.
I2CLevel-shifted data for STEMMA I²C.
PowerShared supply for all three STEMMA sockets. SJ1 selects V+ or 3.3 V.
GNDCommon signal and supply return.
GPIOAnalogPWMSTEMMA D3 data line. Use 3.3 V-compatible signals.
PowerShared supply for all three STEMMA sockets. SJ1 selects V+ or 3.3 V.
GNDCommon signal and supply return.
PowerPositive terminal of the single-cell LiPo battery rail.
GNDCommon signal and supply return.
AudioPositive bridge output for the external 8 Ω speaker.
AudioNegative bridge output for the external 8 Ω speaker.
PowerUpper pad marked 5V. Factory-bridged to the center pad.
PowerCenter pad marked VCC. Feeds all three STEMMA sockets.
PowerLower pad marked 3.3V. Bridge to the center after opening the factory link to V+.

Specifications

Processor
ATSAMD51J19 Arm Cortex-M4F at 120 MHz, 512 KB flash and 192 KB SRAM.
Display and controls
1.8-inch 160 × 128 color TFT, two-axis analog joystick, four shift-register buttons and five NeoPixels.
Storage
8 MB onboard QSPI flash and a microSD slot on Feather SPI. D4 is the microSD chip select.
Feather expansion
16-position and 12-position Feather sockets. Every position has two parallel openings on a 2.54 mm row pitch. GPIO and Feather I²C use 3.3 V.
STEMMA expansion
Three 2.0 mm JST PH sockets. D2 and D3 are ADC/PWM-capable 3.3 V signals. The four-pin I²C socket is level-shifted to STEMMA VCC.
Power
5 V Micro-USB or a single-cell 3.7 V nominal / 4.2 V full LiPo. MCP73831 charges the battery over USB, including with the board switched off.
STEMMA VCC
SJ1 feeds all three sockets. Its factory 5V position uses switched V+ from USB or LiPo. Move the bridge to 3.3V for the regulated rail.
Audio and sensors
3.5 mm headphone jack, PAM8302A amplifier and Molex PicoBlade output for an 8 Ω speaker. The board also has a LIS3DH accelerometer and a front light sensor.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
PyGamer Rev CPCB and schematicAdafruitEAGLE board and schematic for the rear connector orientation and net assignments.Datasheet
PyGamerOfficial pinout guideAdafruitConnector and peripheral guide. The web pinout corrects the STEMMA I²C order in the PDF.Datasheet
ATSAMD51J19MicrocontrollerMicrochipSAM D5x/E5x data sheet. Table 6-1 gives the 64-pin port mux.Datasheet
LIS3DHAccelerometerSTMicroelectronicsOnboard accelerometer on the same I²C bus as the Feather and STEMMA sockets.Datasheet