ESP32 Projects
Start a build
Markdown

ESP32 Instrument Practice Pedal

This device is designed to make practice more fun and engaging.

ESP32ESP-IDFUnrated
Parts and source

Before you start

Check the exact OLED display, SD card configuration against the upstream wiring or parts list.

Upstream README

Bass Hero - Guitar Pedal (WIP)

GIF of a Demo of the project.

This project is an open-source guitar pedal built around an ESP32. It's a game that you can play with your guitar/bass, reading tablature and providing real-time feedback on the player's pitch and timing accuracy (similar to Rocksmith).

The pedal sits in the signal chain, passing the signal through uncolored to your amp while analyzing your playing for a fun practice experience at the same time.

Overview

What it does:
  • Loads bass tabs from an SD card. It then displays the music, scrolling it across an OLED screen as you play.
How it teaches:
  • It provides instant feedback by detecting the note you are playing and compares it against the tab. It provides a score for accuracy in both pitch and timing.
Zero Interference:
  • The pedal is designed so your tone goes directly to your amplifier without any extra digital noise or coloration.

This device is designed to make practice more fun and engaging.

System Architecture

The core of the project is the ESP32. For file storage, we use a microSD card. This card MUST be formatted as FAT32.

Build Your Own

Follow along below if you would like to build this project yourself.

Electronics Partlist:

The electronics I used to build the project:

Cartegory Item # Notes
Core ESP32 1 Core microcontroller.
Display OLED 1 Visual output.
Storage Micro-SD breakout 1 Store tabs.
Audio ¼″ mono jack 2 Audio Input and Output
Resistors
Capacitors
Controls
Power MicroUSB to USB-A Cable 1 Loading software to the esp/power
Misc Breadboard 1 Prototyping
Jumpers 12
Architecture Overview
flowchart TD
    A[Instrument] -->|"1/4 inch IN"| B["Buffer + Biasing"]
    B -->|"1/4 inch THRU OUT"| C[Pedalboard]
    B --> D[ESP32]
Wiring Guide
Component Pin ESP32
OLED Pin ESP32
Vin 3V3
GND GND
SCL GPIO 22
SDA GPIO 21
MicroSD card module Pin ESP32
3V3 3.3V
CS GPIO 5
MOSI GPIO 23
CLK GPIO 18
MISO GPIO 19
GND GND

Software Build Process

To build this project, you must have the ESP-IDF installed on your system.

Install ESP-IDF

For Arch Linux, use AUR

yay -S esp-idf
# run the provided commands after to finish installation
Set up the ESP-IDF environment variables
# must be ran every time a new terminal is opened
source /opt/esp-idf/export.sh
# I set my own alias:
# alias espidf='source /opt/esp-idf/export.sh'
Finally, build and run.
  1. Target the ESP board
idf.py set-target esp32
  1. Build the project
# idf.py fullclean
idf.py build
  1. Edit the esp settings
idf.py menuconfig
# Component config -> FAT Filesystem Support -> Long Filename Support -> Buffer in Heap -> [Q]uit -> [S]ave
  1. Flash the ESP, monitor the serial output
# Hold down "BOOT" button on the ESP, then run:
idf.py -p /dev/ttyUSB0 flash monitor
# `CTRL` + `]` to stop monitoring

optionally, erase flash using:

idf.py -p /dev/ttyUSB0 erase-flash
Libraries Used:

Miniz - used to extract .zip files of tabs upon startup.


© 2025 colechiodo.cc | MIT License