Source: https://mokxi.com/teachers/plans/op-amp-cookbook
Updated: 2026-11-19

Lesson plan

# Op-amp circuit cookbook lesson plan

Advanced, after Transistors and op-amps for real: the integrator, differentiator, summing amp, instrumentation amp, precision rectifier and oscillators, ending in a strain gauge front end you scale yourself.

7 chapters, 7 lessons, about 6 hours, no board. 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

- A capacitor in the feedback: the running total of the input.
- A capacitor on the input: how fast the input moves, and its noise.
- Inputs that add at a virtual ground, and a 3-bit DAC.
- Millivolts from a bridge, with the common part thrown away.
- Diodes inside the loop, and an absolute value circuit.
- A relaxation square wave and a Wien bridge sine.
- A strain gauge front end for a 0 to 5 V ADC.

### Materials for the whole unit

- Capacitor x 3
- Diode x 3
- Frequency counter x 2
- Function generator
- Multimeter x 3
- NE5532 dual audio op-amp
- OP07 precision op-amp x 2
- Oscilloscope
- Resistor x 12
- Signal generator
- Slide switch x 3
- TL072 dual JFET op-amp

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 50 min

## Integrator

A capacitor in the feedback: the running total of the input.

Lesson | Time | What students do

Integrator A TL072 with a capacitor for feedback: a gain of exactly 1 at 159 Hz that halves every time the frequency doubles, a square wave turned into a triangle, and the 1 M resistor that keeps a tiny DC offset from slamming it into a rail. | 50 min

- Run it: a gain of 1 at 159 Hz
- Twice the frequency, half the output
- Square in, triangle out
- A tiny offset, a big problem
- Take the leak away
- Make it yours: a gentler ramp

### Materials

- Capacitor
- Function generator
- Multimeter x 3
- Oscilloscope
- Resistor x 2
- TL072 dual JFET op-amp

### Check for understanding

Each student finishes "Integrator" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

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

Chapter 2. About 50 min

## Differentiator

A capacitor on the input: how fast the input moves, and its noise.

Lesson | Time | What students do

Differentiator Swap the capacitor and resistor: a gain that rises with frequency, 1 at 159 Hz and 2 at 318, a triangle turned into a square, and the series resistor that keeps it from amplifying every bit of noise. | 50 min

- Run it: a gain of 1 at 159 Hz
- Twice the frequency, twice the output
- Triangle in, square out
- The noise problem
- Tame it with Rs
- Where they turn up

### Materials

- Capacitor
- Function generator
- Multimeter x 2
- Oscilloscope
- Resistor x 2
- TL072 dual JFET op-amp

### Check for understanding

Each student finishes "Differentiator" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

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

Chapter 3. About 50 min

## Summing amp

Inputs that add at a virtual ground, and a 3-bit DAC.

Lesson | Time | What students do

Summing amp An NE5532 adding three inputs at a virtual ground: binary-weighted resistors make a 3-bit DAC, every input adds without touching the others, and one resistor sets the full scale. | 50 min

- Run it: the top bit
- The middle bit alone
- Predict: code 110
- Why they do not fight
- Full scale with one resistor
- Real DACs, and the R-2R ladder

### Materials

- Multimeter x 2
- NE5532 dual audio op-amp
- Resistor x 4
- Slide switch x 3

### Check for understanding

Each student finishes "Summing amp" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Real DACs, and the R-2R ladder".

Chapter 4. About 50 min

## Instrumentation amp

Millivolts from a bridge, with the common part thrown away.

Lesson | Time | What students do

Instrumentation amp A strain gauge bridge gives 12 mV on top of 2.5 V: two OP07 buffers and a difference stage amplify the 12 mV and ignore the 2.5 V, one resistor sets the gain, and an op-amp's offset shows why precision parts exist. | 50 min

- Run it: a balanced bridge
- Stretch the gauge
- One resistor sets the gain
- Why not one op-amp?
- Precision matters: an offset
- Choosing parts

### Materials

- Multimeter x 2
- NE5532 dual audio op-amp
- OP07 precision op-amp x 2
- Resistor x 11

### Check for understanding

Each student finishes "Instrumentation amp" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

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

Chapter 5. About 50 min

## Precision rectifier

Diodes inside the loop, and an absolute value circuit.

Lesson | Time | What students do

Precision rectifier A 0.3 V signal that a plain diode cannot rectify at all: diodes inside an op-amp's feedback lose their 0.6 V, a half-wave stage and a summing stage make a full-wave absolute value, and one wrong resistor breaks it. | 50 min

- Run it: a diode that does nothing
- Half-wave, without the drop
- Full-wave: the absolute value
- Predict: a 1 V signal
- Break it on purpose
- Where it turns up

### Materials

- Diode x 3
- Function generator
- Multimeter x 3
- Oscilloscope
- Resistor x 6
- TL072 dual JFET op-amp

### Check for understanding

Each student finishes "Precision rectifier" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

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

Chapter 6. About 50 min

## Oscillators

A relaxation square wave and a Wien bridge sine.

Lesson | Time | What students do

Oscillators Two oscillators on one TL072: a relaxation square wave at 451 Hz that halves with twice the capacitor, and a Wien bridge sine at 158 Hz that lives on a gain of exactly 3 and dies on 2.8. | 50 min

- Run it: a relaxation oscillator
- Twice the capacitor
- A Wien bridge sine
- How it holds its size
- Predict: not enough gain
- Make it yours: retune it

### Materials

- Capacitor x 3
- Diode x 2
- Frequency counter x 2
- Multimeter
- Oscilloscope
- Resistor x 8
- TL072 dual JFET op-amp

### Check for understanding

Each student finishes "Oscillators" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

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

Chapter 7. About 1 h

## Boss build

A strain gauge front end for a 0 to 5 V ADC.

Lesson | Time | What students do

Boss build: a strain gauge front end A bridge on a long, humming cable into an in-amp sitting on a 2.5 V reference and a 16 Hz low pass: reject the hum, scale the gauge to fill a 0 to 5 V ADC both ways, then re-design it for a gauge four times less sensitive. | 60 min

- Run it: mid-scale
- Break the rejection
- Load the gauge
- Scale it to the ADC
- Squeeze it
- Make it yours: a stiffer gauge
- Your front end sheet

### Materials

- Capacitor
- Multimeter x 3
- NE5532 dual audio op-amp
- OP07 precision op-amp x 2
- Resistor x 12
- Signal generator

### Check for understanding

Each student finishes "Boss build: a strain gauge front end" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

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

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.
