-->
Page 1 of 1

analogRead GPIO pins?

PostPosted: Thu Jul 23, 2015 6:34 am
by AlexPilk
I know it's possible to use PWM for analogWrite, but is it possible to actually read the value? Or do I need ESP-07?

Re: analogRead GPIO pins?

PostPosted: Thu Jul 23, 2015 9:42 am
by kolban
There is a pin called (from memory) TOUT that is a 10 bit analog to digital converter for voltages of 0-1V. This is built into the ESP8266 IC. It may not be exposed on your module (for example an ESP8266-1) but it is definitely present on the ESP8266-12 and works great.

Neil