Post your best Lua script examples here

User avatar
By trackerj
#12161 It's anybody here that have a decent technical documentation about ESP8266 Internal ADC?

I am running some tests for battery voltage monitoring purposes. Does not look bad at all but lack of technical documentation makes any performance tests quite hard to quantify.

ADC - 0-1 - voltage divider - 0_1.jpg


ESP8266 - Internal ADC - Battery voltage reading test1.jpg


ESP8266 - Internal ADC - Web Monitor - Battery voltage reading test2.jpg


More about ESP8266 Internal ADC reading functions:
http://www.esp8266-projects.com/2015/03/internal-adc-esp8266.html


User avatar
By trackerj
#67986 This is the new valid link for the Original Article:http://www.esp8266-projects.com/2015/03/internal-adc-esp8266/

Added also a new example for a 0-5V input range with Voltage divider and LSB calculation, “the easy way”: ESP8266 internal ADC 2 – the easy way example

For a ADC Input Frontend with Auto-range capabilities in the 0-40V Input range take a look also at the new ADC Input related article