The use of the ESP8266 in the world of IoT

User avatar
By Chris Ryan
#46243 I was wondering if anyone knows of a way to wake an esp8266 from deep sleep and also determine the state of a reed switch using only a single reed switch. I am able to achieve this using two, one acting as the reset for the esp8266 and another for reading the state.
User avatar
By danbicks
#46248
Chris Ryan wrote:I was wondering if anyone knows of a way to wake an esp8266 from deep sleep and also determine the state of a reed switch using only a single reed switch. I am able to achieve this using two, one acting as the reset for the esp8266 and another for reading the state.


Look at the PIR wake up solution on the forum, just change the PIR to your reed switch, Job done.

Good luck

Dans
User avatar
By chaeplin
#46254
Chris Ryan wrote:I was wondering if anyone knows of a way to wake an esp8266 from deep sleep and also determine the state of a reed switch using only a single reed switch. I am able to achieve this using two, one acting as the reset for the esp8266 and another for reading the state.



For fast wifi connection, check this
https://github.com/chaeplin/esp8266_and ... -deepsleep

or adding attiny85 : http://imgur.com/MooQJV9
User avatar
By danbicks
#46271
chaeplin wrote:
Chris Ryan wrote:I was wondering if anyone knows of a way to wake an esp8266 from deep sleep and also determine the state of a reed switch using only a single reed switch. I am able to achieve this using two, one acting as the reset for the esp8266 and another for reading the state.



For fast wifi connection, check this
https://github.com/chaeplin/esp8266_and ... -deepsleep

or adding attiny85 : http://imgur.com/MooQJV9


@chaeplin what software and hardware are you using to monitor current consumption, excellent graphs produced ?

Dans