I had 2 issues in implementing this:
- 1. It looks like there should be an external pull up resistor on GPIO16, not a pull down. Could be my setup or my chips, but it would not work without a pull up.
2. I had to change the line:
#define SLEEP_TIME 60*60*1000000
to
const uint32_t SLEEP_TIME = 60*60*1000000;
I was getting an overflow and the ESP would wake up constantly, not going into deep sleep.
I solved this with a 74HC132 and some passive components:
Thanks for the great post. I plan on building this in to a mouse trap placed in a spot that is hard to get to. Do you have a current link to the 74HC132 circuit you built? The original one seems to be inaccessible. Or maybe there is some trick I have to do. I googled for the s14 link, but to success.
Craig54321 wrote:Do you have a current link to the 74HC132 circuit you built? The original one seems to be inaccessible.
I answer my own question: I found the schematic by opening the provided zip *.sch file in Eagle. But I first had to re-learn how to use Eagle, again...
What a great project! Thanks.