Skip to content

Hardware Recommendations and Wiring Guide (Hardware Version 1)

Rich Tamblyn edited this page Apr 9, 2021 · 1 revision

Component List

The following components are used to create the PGSparkLite pedal:

Description Quantity Example Supplier (UK) Notes
Enclosure (Black) 1 rswww Material is important. The enclosure you choose should be plastic to allow for WiFi and Bluetooth communications without interference.
Self Adhesive Rubber Feet x 4 1 ebay Available from lots of other suppliers too.
LED (Red) 3 rswww Minimum order of 5. Colour is entirely up to you...
330R Resistor 3 rswww Minimum order of 10.
2 x SPST 3 ebay Available from lots of other suppliers but must be SPST.
OLED 128x64 SSD1306 Display (White) 1 ebay Available from lots of other suppliers too.
Bezel Surround 1 ebay Optional. Gives a good finish to your pedal.
Raspberry Pi Zero W 1 The Pi Hut If you're feeling brave go for the 'no header' option and hard wire...
16GB SD Card 1 The Pi Hut Available from other suppliers but why not grab a SD card at the same time as the Pi?
5.5mm Barrel Jack Chassis Mount 1 ebay Optional. You could choose to use a panel mount thru connector or internal battery pack.
USB to Barrel Jack Cable 1 ebay Optional. You could choose to use a panel mount thru connector or internal battery pack.
Pack of Dupont Jumper Wires (Male to Female) 1 ebay Most will need their male ends lopped off but can also be used as extension cables for debugging / re-routing

GPIO Pin Table

Pin Number GPIO Number Description
1 N/A OLED Power In (VDD)
2 N/A 5V Power Input
3 2 (SDA) OLED SDA
5 3 (SCL) OLED SCK
8 14 (TXD) Mod LED Anode
9 N/A 5V Power Ground
14 N/A OLED GND (Ground)
29 5 Drive Footswitch
31 6 Delay Footswitch
32 12 (PWM0) Delay LED Anode
33 13 (PWM1) Mod Footswitch
34 N/A LEDs Ground
36 16 Up Footswitch
37 26 Drive LED Anode
38 20 (PCM_DIN) Down Footswitch
39 N/A Footswitches Ground
40 21 (PCM_DOUT) Select Footswitch

Wiring Diagram

Just a note with regards the OLED display; Some come with the GND and VDD inputs reversed so ensure that your wiring matches your display rather than my diagram.

Wiring Diagram