The diagram below provides a visual reference for wiring of the components. This diagram was created using the software package Fritzing.
Adafruit Library for Fritzing
Use Adafruit's Fritzing parts library to create circuit diagrams for your projects. Download the library or just grab individual parts. Get the library and parts from GitHub - Adafruit Fritzing Parts.
STEMMA QT Connections
The following components are connected via STEMMA QT cables.
- Raspberry Pi Pico – 1.5" OLED
- 1.5" OLED – AW9523 LED Driver
5-way navigation switch
The 5-way navigation switch is connected to the following pins on the Raspberry Pi Pico.
- Ground – Ground
- Select – GP6
- Up – GP2
- Down – GP3
- Left – GP4
- Right – GP5
Button Switches
The switches from the buttons are connected to the following pins on the Raspberry Pi Pico.
- Button 1 – GP7
- Button 2 – GP8
- Button 3 – GP9
- Button 4 – GP10
- Button 5 – GP11
- Button 6 – GP12
- Button 7 – GP13
- Button 8 – GP14
- Button 9 – GP16
- Button 10 – GP17
- Button 11 – GP18
- Button 12 – GP19
- Button 13 – GP20
- Button 14 – GP21
- Button 15 – GP22
- Button 16 – GP26
Button LEDs
The LEDs from the buttons are connected to the following pins on the AW9523 LED Driver.
- Button 1 – Pin 0
- Button 2 – Pin 1
- Button 3 – Pin 2
- Button 4 – Pin 3
- Button 5 – Pin 4
- Button 6 – Pin 5
- Button 7 – Pin 6
- Button 8 – Pin 7
- Button 9 – Pin 8
- Button 10 – Pin 9
- Button 11 – Pin 10
- Button 12 – Pin 11
- Button 13 – Pin 12
- Button 14 – Pin 13
- Button 15 – Pin 14
- Button 16 – Pin 15