Examples
Examples
Try the starting example
- ADC reference span (V)
- 3.3
- Resolution bits
- 12
- Input voltage relative to lower reference (V)
- 1.65
- Ideal unsigned ADC code
- 2048
- Code lower boundary (V)
- 1.65
- Code upper boundary (V)
- 1.650806
Try another scenario
- ADC reference span (V)
- 3.63
- Resolution bits
- 12
- Input voltage relative to lower reference (V)
- 1.65
- Ideal unsigned ADC code
- 1861
- Code lower boundary (V)
- 1.649275
- Code upper boundary (V)
- 1.650161
Calculation method
Calculation method
Ideal unsigned ADC code
floor(input/reference ×2^bits), capped at max code at exactly full scale.
Code lower boundary (V)
Code×reference/2^bits.
Code upper boundary (V)
(code+1)×reference/2^bits, full-scale terminal boundary.
Symbols and units
- a
- ADC reference span (V)
- b
- Resolution bits
- c
- Input voltage relative to lower reference (V)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Reference voltage, resolution, input voltage, coding. Returns Ideal code and quantization interval. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. ADC reference span (V): minimum 1e-12, maximum 1000000000000.0. Resolution bits: minimum 1, maximum 32. Input voltage relative to lower reference (V): minimum 0, maximum 1000000000000.0.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.