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.
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.
The signal
Audio in, audio out, and the gain that turns it into drive.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 65 min |
|
| 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. | 65 min |
|
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".
Effects
Echo from memory, tremolo from an LFO, wah from a filter.
| Lesson | Time | What students do |
|---|---|---|
| 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. | 65 min |
|
| 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. | 55 min |
|
| 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. | 55 min |
|
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".
The pedal
How late it is, then a chain of your own.
| Lesson | Time | What students do |
|---|---|---|
| LatencyMeasure 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 |
|
| 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. | 65 min |
|
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".
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.