Question #265167

If the voltage on pin A3 is 3.954V, what value will analogRead(A3) return from the ADC?


Expert's answer

AnalogRead(A3)- Reads the value from the specified analog pin.

Each analog channel is a 10-bit ADC. Therefore, each ADC can measure 1024 (2^10) voltage levels and the magnitude of each voltage level or step can be determined by this formula:


3.9541024=0.00386510263\frac{3.954}{1024} = 0.00386510263

Therefore, it will return 0.00386510263 v


LATEST TUTORIALS
APPROVED BY CLIENTS