As the title says... Chat on...

User avatar
By TrialAndError
#62827 Hello,

I'm new to the field IOT with the ESP8266. A real newbie, so please be patient.

I develop a battery driven application where my ESP-01 board is in dsleep() for electricity saving and must be booted through 2 distinct events from the low sleep.

A variant would be Reset and PowerOn. However, I have no distinction with node.bootreason() between Reset and PowerOn. Both provide 2,6 as result. According to the documentation, PowerOn should be 1,0. I'm using Nodemcu 2.0.0.

Next idea would be by using a PCF8574A with 2 separate resets to switch the reset pin of the ESP-01 and each a separate pin of the PCF8574A. If timing fits, this could be a solution. However, I have no idea how this would be wired.

Last idea. I use two ESP-01s. This works, but halvs battery life. Therefore, I would like to prefer one of the other two versions.

Can somebody help me with it.

Thank you in advance

TrialAndError