你的ESP8266要有拉出ADC Pin
然後將感測器Analog out接上去進行讀值,換算成閥值即可
参考如下文章:
http://blog.csdn.net/ling3ye/article/details/51472533