What is A/D? D/A? OpAmp? Comparator Other Components Here? Describe each. What/when might each be used?
-
A/D (ADC, analog-to-digital converter): Converts a continuous analog voltage into a digital number. Use it whenever a processor must read a real-world analog quantity—sensor outputs (temperature, pressure), audio capture, measuring voltages. Key specs: resolution (bits), sample rate, and reference voltage (and respect the Nyquist rate / anti-alias filtering).
-
D/A (DAC, digital-to-analog converter): Converts a digital value back into an analog voltage or current. Use it to generate analog outputs—audio playback, waveform/signal generation, control set-points, or analog actuator drive.
-
Op-amp (operational amplifier): A high-gain differential voltage amplifier used with feedback to build precise analog functions—buffering/impedance matching (voltage follower), amplifying small signals (inverting/non-inverting gain), summing, integrating/differentiating, and active filtering. The workhorse of analog signal conditioning, often used in front of an ADC.
-
Comparator: Compares two analog input voltages and produces a digital (high/low) output indicating which is larger. Use it for threshold detection, zero-crossing detection, level/overvoltage monitoring, and generating digital signals from analog ones. Unlike an op-amp it is designed for fast saturated switching, and many include hysteresis (Schmitt-trigger behavior) to reject noise.
-
Other useful analog components:
- Voltage reference: provides a stable, precise voltage for ADC/DAC accuracy.
- Instrumentation amplifier: a precision differential amp with high input impedance and common-mode rejection, for small sensor signals (e.g., bridges, thermocouples).
- Analog multiplexer: switches one of several analog inputs to a single line, e.g., to share one ADC across many channels.
- Sample-and-hold: captures and holds an analog voltage steady while an ADC converts it.
