Calculateur de Débit UART
Calculez le débit en bauds pour une communication UART.
Must be 0 to V_ref
Digital Output Code
512
Digital Output Code vs ADC Resolution (bits)
Formule
## ADC Resolution and Digital Conversion An ADC maps a continuous voltage range to discrete digital codes. The resolution determines the smallest detectable voltage change. ### Formulas **Step Size = V_ref / 2^N** **Digital Code = floor(V_input / Step Size)** **Quantization Error = V_input - Code x Step Size** The maximum quantization error is +/- 0.5 LSB.
Exemple Résolu
10-bit ADC with 3.3 V reference, input 1.65 V.
- 01Step size: 3.3 / 1024 = 3.223 mV
- 02Digital code: floor(1.65 / 0.003223) = 512
- 03Reconstructed: 512 x 0.003223 = 1.6504 V
- 04Error: |1.65 - 1.6504| = 0.4 mV
Questions Fréquentes
How do I choose the right ADC resolution?
Match the ADC resolution to your signal dynamic range plus margin. For temperature sensing, 10-12 bits is often sufficient. For audio, 16-24 bits.
Does the reference voltage affect accuracy?
Absolutely. The reference voltage determines the measurement range and step size. Use a stable, low-noise reference for best results.
What is the difference between ADC and DAC?
ADC converts analog to digital (measurement). DAC converts digital to analog (output). They are complementary functions.
Apprendre