Source: https://mokxi.com/teachers/plans/build-guitar-effects-pedal
Updated: 2026-11-19

Lesson plan

# Build a digital effects pedal lesson plan

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

3 chapters, 7 lessons, about 7 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## Objectives and materials

### By the end, students can

- Audio in, audio out, and the gain that turns it into drive.
- Echo from memory, tremolo from an LFO, wah from a filter.
- How late it is, then a chain of your own.

### Materials for the whole unit

- Arduino Uno R3
- Capacitor x 3
- Full-size breadboard
- Function generator
- Piezo speaker
- Potentiometer
- Pushbutton x 2
- Resistor x 4

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h 10 min

## The signal

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

Lesson | Time | What students do

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. | 65 min

- The bias
- The swing
- Out again
- Play a different note
- What a real input needs

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. | 65 min

- Clean gain
- Hard clipping
- Soft clipping
- Same note, new tone
- Odd and even

### Materials

- Arduino Uno R3
- Capacitor x 3
- Full-size breadboard
- Function generator
- Piezo speaker
- Potentiometer
- Pushbutton x 2
- Resistor x 4

### Check for understanding

Each student finishes "Gain and clipping" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Odd and even".

Chapter 2. About 2 h 55 min

## Effects

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

Lesson | Time | What students do

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. | 65 min

- How much memory there is
- Set the delay
- Hear the tail
- More feedback
- Where real delays keep it

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. | 55 min

- A slow oscillator
- Rate
- Depth
- A square chop

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. | 55 min

- A peak on a treadle
- Sweep it away
- Auto-wah
- Q

### Materials

- Arduino Uno R3
- Capacitor x 3
- Full-size breadboard
- Function generator
- Piezo speaker
- Potentiometer
- Pushbutton x 2
- Resistor x 4

### Check for understanding

Each student finishes "A wah filter" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Q".

Chapter 3. About 2 h

## The pedal

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

Lesson | Time | What students do

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. | 55 min

- Sample by sample
- Blocks
- Big blocks
- How much is too much

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. | 65 min

- A chain
- Bypass
- Swap the order
- Turn it up
- Share your sound

### Materials

- Arduino Uno R3
- Capacitor x 3
- Full-size breadboard
- Function generator
- Piezo speaker
- Potentiometer
- Pushbutton x 2
- Resistor x 4

### Check for understanding

Each student finishes "Project: a two-effect pedal" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Share your sound".

Your class

## Teach this unit as a class

Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
