This tutorial explains how to use analog to digital conversion of ESP8266 using LUA. ESP8266 has got single channel ADC that means it can read one ADC. That ADC is by default connected to 0.
2. Circuit / Connections:
make following connections -
Open ESPlorer and run following command.
This command will print ADC value.
ADC_value = adc.read(0);
This command will store ADC value in variable ADC-value, later on you may use it.
Out put will look like -
If you have any query please write us at firstname.lastname@example.org
Thanks and Regards
Content Development Team