I am working with ESP8266 which has a single ADC channel with 10bits and 1V reference.
What is the correct resolution in mV/ADC result? 1000mV/1023 or 1000mV/1024?
Also, I wonder if the reference of the ADC of ESP8266 is really 1V or 1.024V.
I am working with ESP8266 which has a single ADC channel with 10bits and 1V reference.
What is the correct resolution in mV/ADC result? 1000mV/1023 or 1000mV/1024?
Also, I wonder if the reference of the ADC of ESP8266 is really 1V or 1.024V.
1024 (there is too much debate on this, but it is 1024 for every SAR ADC, not 1023)
Datasheet claims 1V, never mentions 1.024V.
As the input voltage increases, the binary code increases from 000 000 000 000 to 111 111 111 111. This requires 1,023 code changes. But 1,024 codes.
Another way to think about an ADC.
Consider this.
One_bit ADC has code of either 0 or 1. One change.
Two_bit ADC has code of either 00,01, 10, or 11. Three changes.
Three_bit ADC has code of either 000,001,010,011, 100,101,110,111. Seven changes.
ETC