Table of Contents

How Does an Analog-to-Digital Converter Work? ADC Basics Explained

ADC basics diagram showing an analog waveform, sampling points, quantization levels, and a digital output code

An analog-to-digital converter, usually called an ADC or A/D converter, is the circuit that turns a real-world analog signal into digital numbers a microcontroller, processor, or computer can use. The analog signal is continuous: it changes smoothly in voltage over time. Digital systems cannot store that smooth waveform directly. The ADC measures the signal at repeated moments and converts each measurement into a binary code.

The whole process can be reduced to three steps: sampling, quantization, and encoding. The ADC first captures the input voltage at a specific moment, then rounds that voltage to the nearest available digital level, then sends the result out as a code. This article explains each step with the math that matters, walks through a sensor-to-MCU example, and finishes with the ADC specs worth checking before a part goes on a BOM.

Quick Take

QuestionShort answer
What is an ADC?A circuit that measures an analog voltage and outputs a digital code.
How does ADC conversion work?Sample → quantize → encode.
What is resolution?Number of output codes: 2^N for an N-bit ADC.
What specs matter most?Resolution, sampling rate, input range, reference, interface.
What next after reading?Select by signal first, then check the BOM and sourcing.

What Is an Analog-to-Digital Converter?

An analog-to-digital converter is an electronic circuit, usually an integrated circuit (IC), that measures an analog input voltage and outputs a digital representation of that voltage. The output is a number — a code — that a digital system can store, compare, calculate with, or transmit.

A useful way to think about an ADC is as a bridge between two worlds:

WorldSignal characteristicExample
AnalogContinuous voltage, changes smoothlySensor output, microphone signal, battery voltage
DigitalDiscrete numbers, only specific values0 to 4095 code from a 12-bit ADC

The ADC does not understand temperature, pressure, or sound directly. It measures a voltage (or current-derived voltage) that represents those physical quantities. The system designer maps the digital code back to engineering units in firmware — for example, "code 2048 at a 12-bit ADC with a 3.3 V reference means about 1.65 V, which the calibration curve says is 25 °C."

This is why ADC basics matter beyond the classroom: the converter's resolution, sampling rate, input range, and interface decide how faithfully the digital system sees the real signal. Choosing an ADC without checking those four points is the most common cause of measurement problems later in the design.

What Is an Analog-to-Digital Converter Called?

The same device has several common names, and they all describe the same function:

  • ADC — the abbreviation most datasheets and engineers use.
  • A/D converter — "analog-to-digital," written with slashes.
  • A-to-D converter — the same idea spelled out.
  • Analog-to-digital converter — the full name.
  • Data converter — a broader term that includes both ADCs and DACs when discussed together.

The names are interchangeable in most conversations. In a datasheet search, though, the spelling matters. Searching "adc converter" and "a to d converter" can surface different part listings even when the function is identical. For BOM work, always confirm the actual function from the datasheet: an input, a reference, and a digital output that represents the input voltage.

A related term appears constantly in specifications: ADC conversion. It simply means the act of turning one analog sample into one digital code, and it is measured in conversions per second or samples per second (SPS).

How Do You Convert Analog to Digital?

You convert analog to digital by connecting the signal to an ADC and letting the converter run its conversion cycle. Inside that cycle, every ADC performs the same three conceptual steps, even though different ADC architectures implement them differently.

ADC conversion steps: sampling the analog signal, quantizing to the nearest level, and encoding the digital output
Sampling, quantization, and encoding together form the ADC conversion process.
ADC conversion stepWhat it meansWhy it matters for selection
SamplingThe input voltage is captured at one moment and held steady while the converter worksThe sampling rate must be high enough for the signal's bandwidth, or fast changes are missed
QuantizationThe held voltage is rounded to the nearest available digital levelThe number of levels (resolution in bits) sets the smallest voltage change the system can see
EncodingThe chosen level is sent out as a binary code over the digital interfaceThe interface (SPI, I2C, parallel, LVDS) must match the host controller and PCB plan

The next three sections look at each step in detail.

Step 1: Sampling the Analog Signal

Sampling means the ADC measures the input at repeated, equally spaced moments in time. Between samples, the input is typically held constant by an internal sample-and-hold circuit so the converter has time to work on a stable value.

The key rule is the sampling theorem (Nyquist): to capture a signal without losing information, the sampling rate should be at least twice the highest frequency present in the signal. In practice, engineers add an anti-aliasing low-pass filter before the ADC to remove high-frequency content above the Nyquist limit, because such content would otherwise appear as false lower-frequency signals after sampling.

Sampling rate is expressed in samples per second:

TermMeaningTypical use
SPSSamples per secondBasic measurements
kSPSThousand samples per secondSensor monitoring, data acquisition
MSPSMillion samples per secondHigh-speed capture, video, RF
GSPSBillion samples per secondVery high-speed systems

An important distinction: sampling rate is not accuracy. Sampling rate tells you how often the ADC measures; accuracy depends on resolution, noise, linearity, the voltage reference, and the signal chain around the converter.

Sampling rate example showing enough sample points to capture a sine wave and too few points causing aliasing
If the sampling rate is too low, fast signal changes are missed and the reconstructed signal is wrong.

Step 2: Quantization and Resolution

Quantization is where the continuous voltage becomes a discrete number. An ADC has a fixed number of output codes. An N-bit ADC produces 2^N codes, and each sample is rounded to the nearest code.

ADC resolutionNumber of codesExample use
8-bit256Coarse monitoring
10-bit1,024Basic MCU inputs
12-bit4,096General embedded measurement
16-bit65,536Precision data acquisition
24-bit16,777,216Precision low-speed measurement with controlled noise
ADC resolution comparison showing 8-bit, 12-bit, and 16-bit code counts and step sizes
More bits mean more code levels and a smaller ideal step size, but real accuracy still depends on noise and the reference.

The voltage size of one code — the smallest step the ADC can resolve — is the LSB size:

LSB size = full-scale input range / 2^N

Example: a 12-bit ADC measuring 0 V to 3.3 V has 4,096 codes, so one ideal step is about 0.806 mV. This is the ideal value only. The real measurement is affected by reference tolerance, input noise, gain error, offset error, source impedance, and layout, so the achieved resolution (often reported as ENOB, effective number of bits) is lower than the nominal bit count.

Quantization also creates a built-in error: even a perfect ADC rounds every sample, so each reading can differ from the true value by up to half an LSB. That quantization error is unavoidable, but it is small when the resolution is high enough for the application.

Step 3: Digital Encoding and Interface

After quantization, the ADC holds a code — for example, the binary value that corresponds to level 2,048 out of 4,096. The final step is encoding: sending that code out of the converter to the host.

The output interface depends on the converter type and speed:

  • SPI or I2C — common on small, low-speed ADCs; easy to connect to microcontrollers.
  • Parallel bus — fast, but uses many pins.
  • LVDS or JESD204 — high-speed serial interfaces used on fast data converters feeding FPGAs or DSPs.

For BOM and design purposes, the interface matters as much as the resolution: an ADC with perfect specs is useless if the host controller cannot read it, or if the PCB needs a different bus than the design planned. Check the interface voltage levels and protocol support before locking the part number.

Simple Example: Sensor Signal to MCU Data

Put the three steps together with a temperature example.

Signal chain from temperature sensor through conditioning, ADC, and SPI interface to a microcontroller
A typical measurement chain: sensor, signal conditioning, ADC, and MCU reading the digital code.
  1. Signal chain. A temperature sensor produces a small voltage that changes with temperature. A signal-conditioning stage (amplifier and filter) scales it into the ADC's input range, say 0 V to 3.3 V.
  2. Sampling. A 12-bit ADC samples this conditioned voltage at 1 kSPS, one sample every millisecond.
  3. Quantization. With 4,096 codes over 3.3 V, each code step is about 0.806 mV. A 1.65 V input becomes code ≈ 2,048.
  4. Encoding. The MCU reads code 2,048 over SPI, converts it back to a voltage in firmware, and maps that voltage to temperature using the sensor's calibration.

The same pattern — sensor → conditioning → ADC → MCU — appears in pressure monitoring, current sensing, battery monitoring, load cells, and audio capture. The ADC is only one block; the conditioning stage and reference quality determine how much of the ADC's theoretical resolution the system actually keeps.

Why ADC Specs Matter: Resolution, Sampling Rate, Input Range, Reference, Interface

When an ADC datasheet is open, five specifications answer most practical questions:

ADC specification checklist: resolution, sampling rate, input range, reference voltage, and interface
Resolution, sampling rate, input range, reference, and interface answer the practical questions for ADC selection.
SpecificationWhat it tells youCommon mistake
Resolution (bits)How many code levels the ADC can outputAssuming more bits always means more accuracy
Sampling rate (SPS)How often the ADC measures the inputConfusing speed with precision
Input rangeWhat voltage span can be measured safelyFeeding a signal beyond the valid input range
Reference voltageWhat voltage defines the full-scale levelIgnoring reference noise and tolerance
InterfaceHow the digital code leaves the ADCChoosing a device the controller cannot read easily

Resolution and sampling rate are the two numbers most people check first, and they are correct as a starting point. But a 24-bit ADC in a noisy circuit with an unstable reference can deliver worse effective results than a 12-bit ADC with a clean reference and careful layout. Input range must match the conditioned signal; reference quality determines absolute accuracy; interface must match the host.

For the full step-by-step process of turning these five specs into a part choice, see how to select an ADC.

Common Mistakes When Reading ADC Specs

Mistake 1: Treating Bits as Accuracy

An ADC's bit count is a ceiling, not a guarantee. Noise, reference error, gain and offset error, input source impedance, and layout all reduce the effective resolution. Compare ENOB and noise specs, not just the headline bits.

Mistake 2: Ignoring the Input Range

The ADC input must stay inside its valid range — typically 0 V to the reference for single-ended inputs, or the specified differential and common-mode ranges. Over-range input clips readings; under-range input wastes resolution. Signal conditioning exists for this reason.

Mistake 3: Skipping the Anti-Aliasing Filter

If high-frequency noise enters the ADC input and the sampling rate is below twice that noise frequency, aliasing folds the noise down into the band of interest and corrupts readings. A simple RC low-pass filter before the ADC prevents most of this problem.

Mistake 4: Choosing an Interface the Host Cannot Read

A high-resolution ADC on an I2C bus is fine for slow sensors, but the same part cannot stream fast data. Parallel or high-speed serial ADCs need more pins and careful timing. Match the interface to the controller and data rate before finalizing the BOM.

FAQ

How does an analog-to-digital converter work in simple terms?

The ADC measures an analog voltage at a moment in time, rounds it to the nearest available digital level, and outputs a binary code. Doing this repeatedly produces a stream of digital samples that represents the analog signal.

What is an analog-to-digital converter called?

It is called an ADC, an A/D converter, an A-to-D converter, or simply an analog-to-digital converter. All names describe the same device that converts analog input to digital output.

How do you convert an analog signal to a digital signal?

Connect the signal to an ADC (usually through conditioning) and let the converter sample, quantize, and encode it. The digital code is then read by the host through the ADC's digital interface.

What is the difference between sampling and quantization?

Sampling captures the signal's value at specific moments in time. Quantization rounds each captured value to the nearest of the ADC's 2^N digital levels. Sampling is a time decision; quantization is a level decision.

What is a SAR ADC?

A SAR ADC (successive approximation register ADC) converts a sample by binary search: it guesses the middle code, compares the result with the input, and narrows the range until it finds the closest code. SAR ADCs are a common middle ground between speed, resolution, and cost for embedded measurement.

How many bits do I need for an ADC?

It depends on the smallest change the system must see and the noise budget. A 12-bit ADC gives 4,096 codes and is a common starting point for general embedded measurement; 16 to 24 bits are used where finer resolution or wide dynamic range is required, provided the noise and reference are good enough to support them.

What is ADC resolution vs sampling rate?

Resolution is the number of output code levels (bits). Sampling rate is how often the ADC takes a sample per second. They are independent specs: a slow 24-bit ADC and a fast 12-bit ADC can both be correct choices for different signals.

Request Quote / Upload BOM

This article explains how an ADC works; the next practical step is matching a converter to the signal and the board. If the ADC part numbers are already known, upload the project list for a sourcing review of package, lifecycle, quantity, and alternatives. If the design is still choosing between parts, send the input range, required resolution, sampling rate, interface, package, and target quantity.

Use Request Quote for specific parts and quantities. Use Upload BOM when the project has multiple converters, alternatives, or lifecycle checks. For ADC converter chips and converter ICs, the ADC category page covers product and sourcing intent. Stock, price, lead time, date code, compliance, and traceability must be confirmed during quotation because they change over time.

External Sources

2222 720x540

Alice lee

Business Manager

Focused on the electronic components sector, the author shares industry knowledge, product insights, and sourcing perspectives related to modern electronics manufacturing. With close attention to market trends, component applications, and supply chain developments, the content is designed to support engineers, buyers, and businesses in making more informed decisions.