Op-Amp Blocks
You'll build the three op-amp circuits that sit inside almost everything, an amplifier, a comparator and a filter, and measure each one against the number you calculated first.
About
An op-amp is a dollar chip that does the jobs transistors do with far less fuss, as long as you pick the right one and give it a supply it can work with. The three blocks here (a non-inverting amplifier, a comparator with hysteresis and an active low-pass filter) turn up in nearly every real circuit, and once you've built and measured them you'll recognize them in anyone's schematic. The trap is the datasheet: an old LM358 won't swing to its rails and a TL072 won't run from a single 5 V supply, so you'll read the three numbers that matter before you pick a part. A phone with a free tone generator app is all the signal source you need, and the scope from Scope Traces is how you check your maths.
At a glance
- Per requirement
- 35 XP
- Completion bonus
- 300 XP
- Requirements
- 6
- Takes
- Three or four weeks of evenings
- Skill level
- Intermediate (months of practice)
- Cost
- Cheap (under $10)
- Supplies
- You need some
- Where
- At home
- Other people
- On your own
Requirements
-
1
Pick an op-amp from its datasheet and write down the three numbers that qualified it. You want a single-supply, rail-to-rail part for a 5 V or 9 V bench, and an MCP6002 or an LMV358 fits for under a dollar. Find the supply range, the input common-mode range and the output swing in the datasheet, and write the three numbers next to the part number. Then find the same three for an LM358 and say in one line why it would clip. Take a photo of your sheet with both columns. Photo
-
2
Build a non-inverting amplifier with a gain of 11 and measure the gain. Use 10k from the output to the inverting input and 1k from there to ground, which gives a gain of one plus ten. Feed it a 100 mV sine from a tone generator app through a 10 uF capacitor, with a resistor divider holding the input at half the supply. Measure the input and output peak to peak on the scope and divide one by the other. Take a photo of both traces with your measured gain written beside them. Photo
-
3
Turn the Dark Detector's divider into a comparator with hysteresis, so it snaps instead of flickering. Feed the LDR divider into the inverting input and a trimmer-set reference into the non-inverting input, then add a 1M resistor from the output back to the non-inverting input for hysteresis. Without it, the LED flutters for a minute at dusk as the light drifts across the threshold. Film the LED snapping on cleanly as you slowly cover the LDR and snapping off as you uncover it, and note the two different switch points. Video
-
4
Build an active low-pass filter and measure its cutoff. A Sallen-Key with two 10k resistors and two 10 nF capacitors cuts off near 1.6 kHz. Sweep the tone generator up from 100 Hz and find the frequency where the output has dropped to about 70 percent of its low-frequency level. Take a photo of the trace at the cutoff with the calculated and measured frequencies written side by side. Photo
-
5
Find the clipping point and explain it from the datasheet. Turn the input up until the output flattens on top, bottom or both, and measure where it flattens. Compare that voltage to the output swing figure in the datasheet. Take a photo of the clipped trace with the datasheet line that predicted it. Photo
-
6
Put one of the three blocks to work in a project you already have. The comparator back inside the dark detector, the amplifier in front of a piezo contact mic, or the filter cleaning up a noisy sensor all count. Take a photo of it installed and working, or film it doing the job, and say in one line what it fixed. Photo or video