pi-Stomp Manual Building

Pinouts

Every pin on the Pi's 40-pin header is spoken for. Before you solder anything onto a free GPIO, or try to work out why a HAT you added stopped the LCD, check it here.

These are the wiring diagrams from the old wiki, transcribed so you can search them and copy from them. The colours match the legend beside each one.

v3

Key
GND
5v
3v
SPI LCD
SPI ADC
IQAudio
Encoder Rotary
Encoder Switch
i2C expansion
LED's (one wire)
V3 Pinout
GPIOPinPinGPIO
LCD 3v3.3125vLCD 5v
2345v
356GND
EncoderNav47814 TXUART Midi Out
GND91015 RXUART Midi In
EncoderNav17111218
Encoder3271314GND
Encoder322151623Encoder2
MCP (+3)3.3171824Encoder2
MCP MOSI101920GND
MCP MISO9212225Encoder1
MCP SCLK1123248 (CE0)LCD CS
GND25267 (CE1)MCP CS
i2C027281i2C
LCD Reset52930GND
LCD Data6313212Encoder1
LEDs (PWM)133334GND
19353616Enc Switch1
Enc Switch226373820
GND394021
MCP
MCP3.x
0FS0
1FS1
2FS2
3FS3
4NavSw
5Expression
6VU-Left
7VU-Right

The right-hand table is the MCP3008, and all 8 of its channels are used on v3: four footswitches, the navigation encoder's switch, the expression jack, and the two VU meters that drive the input clipping LEDs. There is no free analog input — a second expression pedal means giving one of these up.

The original sheet also notes cs0 beside the GPIO 0 / pin 27 row, marking the SPI chip select.

v2 / Core

Key
Audio Card
Power 5v
Power 3v
Debounce (fsw/encoder)
Free GPIO
MCP
Ground
SPI LCD
Nav Encoder
Relay
pi-Stomp Core Pinout
GPIOPinPinGPIO
LCD 3v3.3125vLCD 5v
2345v
356GND
Nav Encoder47814 TXUART Midi Out
GND91015 RXUART Midi In
Nav Encoder17111218
IQ Enc/SWDB0271314GND
IQ MuteDB222151623DB1
MCP (+3)3.3171824DB3
MCP MOSI101920GND
MCP MISO9212225DB4
MCP SCLK1123248 (CE0)LCD CS
GND25267 (CE1)MCP CS
GPIO 0027281 (Nav)DB5 (Encoder Switch)
LCD Reset52930GND
LCD Data6313212Relay Set (PWM)
GPIO 13 (PWM)133334GND
19353616Relay Reset
GPIO 2626373820
GND394021

DB0DB5 are the debounce network for the footswitches and encoder switches. IQ Enc/SW and IQ Mute mark where the audio card's own controls land; the original sheet carries them in a column of their own, left of the pin table.

Three differences worth calling out against v3:

v2 / Core v3
GPIO 12 and 16 Relay Set and Relay Reset — a latching true-bypass relay Encoder1 and Enc Switch1; there is no relay
GPIO 13 (PWM) Free Drives the addressable LED strip
GPIO 0, 26 Free i2C expansion and Enc Switch2