How to use this tool
- Enter resolution bits, reference voltage, input voltage.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Resolution bits | Numeric value. Unit: bits. Minimum: 1. Maximum: 32. | 12 |
| Reference voltage | Numeric value. Unit: V. Must be greater than zero. | 3.3 |
| Input voltage | Numeric value. Unit: V. Zero or positive. | 1.65 |
Result for these sample inputs
0.000805664062 V
- Output code
- 2048
- Number of codes
- 4096
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
LSB = Vref/2^N. Code = floor(Vin/LSB), clamped to the largest N-bit code at full scale.
Using resolution bits = 12 bits, reference voltage = 3.3 V, input voltage = 1.65 V, the result is 0.000805664062 V. Change these example inputs to match your task; use the method above to check each step.
Understanding your result
Ideal unipolar converter; excludes noise, offset, gain error and differential nonlinearity. Actual ADC endpoint conventions may vary.
What to keep in mind
Ideal unipolar converter; excludes noise, offset, gain error and differential nonlinearity. Actual ADC endpoint conventions may vary. Ideal-component calculation for study and estimation. It does not select safe wiring, protective devices or component ratings for an installation.
Methodology maintained by ClarityKit. How these tools are built and checked.