← How-Tos
electronics Jul 31, 2026 ◯ 6 min read

How to Use a Function/Signal Generator for Electronics Testing and Repair

signal generatorfunction generatorwaveformsinesquaretriangleoscilloscopetestingelectronicsfrequency response

This site already covers the multimeter, the oscilloscope, and the logic analyzer — the tools for measuring and observing what a circuit is doing. A function generator (also called a signal generator or waveform generator) is the missing fourth piece: instead of measuring, it injects a known, controllable signal into a circuit so you can observe how that circuit responds. Pairing a signal generator with a scope turns "does this filter/amplifier/sensor work" from a guess into a measurement, and it's one of the most underused pieces of bench gear in hobby electronics relative to how much it actually unlocks.

What a Function Generator Produces

WaveformCommon use SineAudio testing, filter frequency response, general AC circuit stimulus SquareClock/timing signal simulation, digital logic testing, fast edge-rate testing of circuits Triangle / sawtoothSweep testing, ramp generation, some analog synthesis and timing applications Pulse / variable duty cycle (PWM)Simulating a microcontroller's PWM output for testing motor drivers, LED dimmers, or power stages independent of the microcontroller itself Frequency sweepAutomatically stepping or sweeping frequency across a range, useful for plotting a filter or amplifier's frequency response without manually changing frequency at each measurement point Arbitrary waveformUser-defined waveform shapes loaded from data, available on higher-end "AWG" capable generators

Key Specifications to Understand Before Buying

Common Uses on a Maker Bench

TaskHow the generator helps Testing an audio amplifier's frequency responseSweep a sine wave across the audio band while measuring output amplitude on a scope or with a multimeter's AC range, revealing where response rolls off — directly useful when building the class-D amplifier project covered elsewhere on this site Characterizing a filter circuitSame sweep technique, applied to a standalone RC or LC filter to confirm its actual cutoff frequency matches the design calculation Testing an ADC or data acquisition circuitFeed a known-frequency, known-amplitude sine wave into the input and confirm the digitized result matches, which isolates ADC/sampling problems from sensor or upstream analog problems Simulating a sensor outputMany sensors output a simple analog voltage or PWM signal; a generator can stand in for the sensor while debugging the downstream signal conditioning or microcontroller code, without needing the physical sensor and its real-world stimulus present Stimulus-response debugging with a logic analyzer or scopeInject a clean square wave into a suspect digital input and observe on the scope/logic analyzer whether the rest of the circuit responds correctly — isolates whether a problem is upstream (signal never arrives cleanly) or downstream (signal arrives fine, something after it misbehaves) Testing speaker crossover networksSweep frequency while measuring impedance or output level to confirm a crossover's actual -3dB point against its design target

Worked Example: Measuring an Audio Amplifier's Frequency Response

  1. Set the generator to a low-amplitude sine wave (well within the amplifier's linear range, not near clipping) at a reference frequency, typically 1kHz.
  2. Connect the generator output to the amplifier's input, and connect the oscilloscope to the amplifier's output (through appropriate attenuation or a dummy load resistor sized for the amplifier's rated output, not directly across a speaker unless you intend to drive one).
  3. Record the output amplitude at 1kHz as your 0dB reference.
  4. Step the generator's frequency down toward 20Hz and up toward 20kHz (or beyond, depending on what you're testing), recording output amplitude at each step.
  5. Plot amplitude versus frequency; the points where output has dropped 3dB from the 1kHz reference mark the amplifier's effective bandwidth.

Connecting a Generator to a Circuit Safely

Budget Options vs Bench-Grade Gear

A small DDS (direct digital synthesis) module, such as the common XR2206-based analog kits or inexpensive DDS boards, covers a surprising amount of hobby need for well under the cost of bench-grade equipment, and is a reasonable first step or companion to a budget oscilloscope. A dedicated bench function generator (Siglent and Rigol both make widely used, accessible models in the same product families referenced in this site's oscilloscope guide) adds cleaner waveforms, more accurate amplitude and frequency readouts, built-in sweep and modulation functions, and often doubles as an arbitrary waveform generator — worth the upgrade once you're doing this kind of testing often enough that the cheap module's limitations (drift, distortion, coarse frequency steps) start getting in the way.

Safety

A function generator earns its place on the bench the first time you use it to actually answer a question — "is this filter cutting off where I designed it to" or "is this amplifier stable across the full audio band" — instead of just trusting a calculation or hoping a circuit works. Combined with the multimeter, oscilloscope, and logic analyzer already covered elsewhere on this site, it completes a genuinely capable diagnostic bench for a fraction of what a commercial test lab would spend on the same four categories of instrument.