GPIO Pinout

The OLED bonnet (with buttons) and DS1338 RTC module are connected to the Pi via GPIO pins.

BCM Pin #FunctionPhysical Pin #Used By
3v3 Power1OLED Bonnet & RTC
BCM 2SDA3OLED Bonnet & RTC
BCM 3SCL5OLED Bonnet & RTC
Ground6OLED Bonnet & RTC
BCM 4Joystick Center7OLED Bonnet
BCM 17Joystick Up11OLED Bonnet
BCM 27Joystick Left13OLED Bonnet
BCM 22Joystick Down15OLED Bonnet
BCM 23Joystick Right16OLED Bonnet
BCM 5Button A29OLED Bonnet
BCM 6Button B31OLED Bonnet