Embedded Systems & Firmware
A 12-bit A/D converter with a 3.3 V reference reads a value of 2048. What is the closest input voltage?
- AAbout 2.05 V
- BAbout 3.3 V
- CAbout 1.65 V
Show answer and explanation
Answer: C. About 1.65 V
A 12-bit A/D converter represents 0 to 3.3 V in 4096 steps. A reading of 2048 is exactly half, so the voltage is 2048 ÷ 4096 × 3.3 V = 1.65 V, with each step about 0.8 mV. Firmware converts readings with "value × reference ÷ 4096", but any error in the reference voltage carries straight into the result, so the reference accuracy matters when precision is needed.
- A. That reads the value as millivolts.
- B. 3.3 V would read about 4095.
- C. Correct. Exactly half of the 4096 steps.