Tinderbox pedal

Note: This article has been updated with lastest available information on December 8th, 2021 at 09:42 pm


Bluetooth "Universal Remote" Footpedal for Digital Guitar Amps, on ESP32 or Pi Zero W

Tone Demo Video: https://www.youtube.com/watch?v=tqi_EmIKPC0


Enivronment Setup Notes:

On client, edit tinderbox.py or tinderbox.ino to match your GPIO mapping or OLED screen type before running. On demo server (to run on another Pi if you don't have a Spark yet), edit demoLedServer.py to match your LED GPIO mapping before running.

Basic Schematics:

ESP32 Schematic

In this code pins 4, 5, 18, and 19 are used for button input. Your ESP32 dev board's GPIO layout may be different, so please double-check after wiring and before running!

Raspberry Pi Schematic

Essential Parts Needed:

  • Raspberry Pi Zero W + SD Card (at least 8GB) or ESP32 Dev Board
  • USB Power Supply (2.5 Amps)
  • 128x64 I2C OLED (SSD1306 or SH1106)
  • 4x SPST Normally Open Momentary Switches

Other Parts Used In Justin's First Pi Prototype:

  • Prototype PCB
  • 2x Female 1/8" (3.5mm) TRS Sockets
  • 2x Male 1/8" (3.5mm) TRS Couplings
  • 2x Male 1/4" (6.35mm) TRS to Female 1/8" (3.5mm) TRS Adapters
  • Female Pin Header for the Display
  • 2x20 40-Pin Female Pin Header Socket Connector
  • Hammond 1590B Enclosure
  • Raspberry Pi Power Switch Cable


inner pedal

Other great projects used in the TinderBox Pedal include:



Wireless Sniffing


Copyright 2020 TinderBox Pedal Project and Justin Nelson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

More information on Justin’s Tinderbox pedal GitHub page

Was this article helpful?

Related Articles


  1. Giuseppe Manni

    do you know if the Spark mini has a different Bluetooth connection?
    I’m trying your code but it stays connecting, then it fails to connect and then it starts again scanning and connecting but it never connects
    do you have any suggestions?
    thank you

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.