ricaun / LoRaNow

LoRaNow Library is a simple LoRa Node <> Gateway communication protocol.
http://loranow.com/
MIT License
64 stars 20 forks source link

ESP.DeepSleep() issue on ESP8266 #14

Open tonybaz opened 4 years ago

tonybaz commented 4 years ago

Hi team,

Have anyone tested this library with ESP.deepSleep(20e6, WAKE_RF_DISABLED) on the node? It is for whatever reason stopping the node to send the message to the gateway. I appreciate if anyone has same problem and how to resolve it.

Thanks, T

ricaun commented 4 years ago

Hello,

The last time I tested works normal, I do not test with the ESP.deepSleep or some sleep code.

I believe the ESP.deepSleep code makes the board reset and the pin DIO0 / GPIO16 needs to be connected on the RST pin to works, if not connected the board never wake-up (could be the problem).

See Yaa