All paths

Build a digital effects pedal

A guitar pedal on an Uno: bias and sampling, drive, a ring-buffer delay, tremolo, a swept wah, latency and a two-effect chain.

Arduino Uno R3Free7 lessons7 h3 chapters2,187 XPMaker · Advanced+250 XP

0 of 7 done

What you will build

3 projects, built step by step

7 lessons in 3 chapters, about 7 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Gain and clipping

Overdrive from arithmetic: multiply by the knob, then clip hard against the rails or soft through a curve, and count how much of the wave goes flat.

Open it in the simulator
Chapter 2 project

A wah filter

A swept band-pass filter: a state-variable filter in fixed point, its center on the knob from 200 Hz to 2 kHz, an LFO for auto-wah, and Q for the sharpness.

Open it in the simulator
Chapter 3 project

Project: a two-effect pedal

Chain drive and tremolo, switch the pedal in and out with a footswitch, swap the order and hear why it matters, and share your settings.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

The signal

Audio in, audio out, and the gain that turns it into drive.

  1. Open227 XP

    Audio in and out

    Get a guitar signal into a 0 to 5 V ADC: a coupling capacitor and a bias at mid-rail, a sample every 64 us, and PWM back out to a piezo.

    0 of 5 steps

  2. ProjectLocked454 XP

    Gain and clipping

    Overdrive from arithmetic: multiply by the knob, then clip hard against the rails or soft through a curve, and count how much of the wave goes flat.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

Effects

Echo from memory, tremolo from an LFO, wah from a filter.

  1. Locked227 XP

    Delay

    An echo from a ring buffer, honest about the Uno's 2 KB: 1,280 bytes hold 81 ms, feedback makes repeats, and MUTE measures the tail.

    0 of 5 steps

  2. Locked212 XP

    Tremolo

    Make the volume pulse with a low-frequency oscillator: set its rate and depth, and switch it from a smooth triangle to a hard square chop.

    0 of 4 steps

  3. ProjectLocked424 XP

    A wah filter

    A swept band-pass filter: a state-variable filter in fixed point, its center on the knob from 200 Hz to 2 kHz, an LFO for auto-wah, and Q for the sharpness.

    0 of 4 steps

4 questions, graded as you go.
Chapter 3

The pedal

How late it is, then a chain of your own.

  1. Locked189 XP

    Latency

    Measure how late the sound comes out: under a sample working sample by sample, and a whole block when a processor works in blocks.

    0 of 4 steps

  2. ProjectLocked454 XP

    Project: a two-effect pedal

    Chain drive and tremolo, switch the pedal in and out with a footswitch, swap the order and hear why it matters, and share your settings.

    0 of 5 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

The signal

  1. Audio in and outGet a guitar signal into a 0 to 5 V ADC: a coupling capacitor and a bias at mid-rail, a sample every 64 us, and PWM back out to a piezo.
  2. Gain and clippingOverdrive from arithmetic: multiply by the knob, then clip hard against the rails or soft through a curve, and count how much of the wave goes flat.
Chapter 2

Effects

  1. DelayAn echo from a ring buffer, honest about the Uno's 2 KB: 1,280 bytes hold 81 ms, feedback makes repeats, and MUTE measures the tail.
  2. TremoloMake the volume pulse with a low-frequency oscillator: set its rate and depth, and switch it from a smooth triangle to a hard square chop.
  3. A wah filterA swept band-pass filter: a state-variable filter in fixed point, its center on the knob from 200 Hz to 2 kHz, an LFO for auto-wah, and Q for the sharpness.
Chapter 3

The pedal

  1. LatencyMeasure how late the sound comes out: under a sample working sample by sample, and a whole block when a processor works in blocks.
  2. Project: a two-effect pedalChain drive and tremolo, switch the pedal in and out with a footswitch, swap the order and hear why it matters, and share your settings.
Keep going

The next course on your track

Build a digital effects pedal is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a handheld game console

Wire a color screen, buttons and sound to an ESP32-C3, one working step at a time, and finish with three games you can play.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a digital effects pedal

Is Build a digital effects pedal free?

Yes. All 7 lessons of Build a digital effects pedal are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a digital effects pedal take?

About 7 hours: 7 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Gain and clipping, A wah filter and Project: a two-effect pedal.

Where do I start?

With "Audio in and out", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.