Chat freely about anything...

User avatar
By sonusearch
#48719 Hi,
I am little confused about reading digital and analog values on ESP8266-01 chip. I tried reading values from DHT11 sensor and did it successfully. To my understanding, the values are analog.
Then I tried reading values from soil moisture sensor. This sensor has both AO and DO output. I tried ESP8266-01 GPIO0 with both AO and DO of soil sensor and all I was getting was 0 and 1 values.
My query is if ESP8266-01 can read values from DHT11 sensor, why it is just reading 0 and 1 from soil moisture sensor and not the actual analog value. Is there a way that I can read values using ESP-01.
Thanks in advance.