Reset ESP8266 NodeMCU in DeepSleep from HM10 BLE signal

Hi everyone,

I'm building a simple project in which I put the ESP8266 NodeMCU board in DeepSleep mode, so I can save some battery since it's powered with 4 AA batteries.

What's the problem? I don't want my ESP to wakeup in every x seconds, I want it to only wake up when the HM10 receives a signal.

I had a HC-05 bluetooth module before, in which I connected the TX to the RST pin of the ESP8266 to force it to restart and that was working fine, but once again due to power saving I decided to switch from de HC-05 to the HM10.

So the wires between the HM10/HC-05 and the ESP8266 NodeMCU are the following:

HM10/HC-05 ESP8266 NodeMCU VCC 3.3V GND GND TX RST/EN

I did some tests and I got the following results when the ESP8266 is in DeepSleep: HC-05 TX connected to RST pin: OK (esp8266 restarted) HC-05 TX connected to EN pin: Nothing happens HM10 TX connected to RST pin: Nothing happens HM10 TX connected to EN pin: Nothing happens

And when the ESP8266 is just running without DeepSleep: HC-05 TX connected to RST pin: OK (esp8266 restarted) HC-05 TX connected to EN pin: OK (esp8266 restarted) HM10 TX connected to RST pin: Nothing happens HM10 TX connected to EN pin: OK (esp8266 restarted)

So I find this behavior a little bit weird. Is there any simple explanation for this?

Conclusion: I just need my HM10 BLE to be able to restart the ESP8266 when it is in DeepSleep mode.

Thanks in advance, Gonçalo Ribeiro