Blog · · Draft

How the tuner pedal finds the note

This is the short version. A full write-up will replace it.

The signal path

  1. The guitar goes into an MCP6002 input stage. Its 1 MΩ input impedance keeps the pedal from loading the pickups.
  2. The RP2040-Zero samples the signal at 20 kHz with its ADC, and DMA moves the samples without involving the CPU.
  3. YIN pitch detection turns each block of samples into a frequency, accurate to a few cents from 60 to 1200 Hz.
  4. A 74HC595 drives the 7-segment note display and the 7-LED meter. The centre LED is green within ±3 cents, with three red steps on each side.

The footswitch

A 3PDT footswitch mutes the output while you tune. When the tuner is off, it gives true bypass and the signal never touches the circuit.

Code and PCB on GitHub