I am reading a sensor whose current output is 2.4V. I connected it to a Wroom ESP32 dev board. I set the configuration to show me raw values (0 - 4095). and this is my configuration file:
On the ESP32 the voltage measured with the ADC caps out at ~1.1V
it’s 4095 at 1.1v, the attenuation extends it up to 3.9v. 256 is probably the min step. Now since the adc component has been updated a few months ago, auto is recommended for attenuation. Although the max reading is 3.12v it may be worth trying. Read this for more detail.
Maybe I am getting this wrong but @ 0 - 1.1v you get 12 bit resolution. If it’s stretched now to measure 0 - 3.9v wouldn’t the resolution be less and then the steps larger?
That would be my understanding that you should get the full resolution between 0 and 3.9V. With 256 points per step its equivalent to a 4bit resolution.