ESP8266 - ADC Input Frontend driver example

Опубликовано: 21 Май 2026
на канале: MCU Projects World
1,049
3

Driver example for the ESP8266 AN-1 ADC Input Frontend.
Related Article: http://www.esp8266-projects.com/2016/...

Selection of the input voltage divider is done using an analog switch mux driven by PCF8574 PORT P0 and P1 bits:

0 - ratio = 1:20 range = 0 - 40V
1 - ratio = 1:10 range = 0 - 20V
2 - ratio = 1:5 range = 0 - 10V
3 - ratio = 1:1 range = 0 - 2V