The problem: Can the ESP8266 read an external source voltage and decide it's value ? i.e. if the PIN outputs 1volt or 0.015volts?
Have had nothing but SUCCESS with the ESP8266 <ESP8266WiFi.h> library. deepsleep's awakes every 5mins, all over many days. Was reading the temp/humidity through GPIO15. yea.
Now I turned to the tilt meter. PIN3 goes to 0.015volts while the LED is lit and 1 volt when it's out.
Running this to the RST pin of the 8266 has the desired effect in only one instance. When the tilt meters goes from LED on to LED off taking RST from 0.015v to 1.0v causing a reboot of the 8266. Very primitive wakup....
I'd love to read TILT voltages like I read TEMP and HUMIDITY on GPIO2 and decide in software if this tilt is HIGH or LOW... But, KY017 doesn't output a data stream reading library like the temp/humidity sensor ...
Ideas?
was posting json data here: Weather - ThingSpeak IoT