arduino / uno-r4-wifi-usb-bridge

27 stars 9 forks source link

Setting ESP32 S3 to deep sleep mode #61

Open leo-tom opened 1 week ago

leo-tom commented 1 week ago

Hi.

I want to use the deep sleep mode of the ESP32 S3. I sent the command "AT+GSLP=420" in my sketch, but It just returned "ERROR". My understanding is that the GSLP command for deep sleeping is not supported in this firmware yet. My question is : 1) Is my understanding correct? Is GSLP command not implemented in this firmware or am I just doing some things wrong. 2) If the GSLP command is not supported now, do I have any ways to set Arduino UNO R4 WiFi's ESP32 to deep sleep mode? And wil it be supported in the future?

I am too noob to modify the firmware by myself (;_;) I want to use deep sleep mode for an educational purpose. I think many will have the same issue.

pennam commented 1 week ago

Hi @leo-tom

Is my understanding correct? Is GSLP command not implemented in this firmware or am I just doing some things wrong.

yes you are rigth there is no GSLP command implementation in this firmware

If the GSLP command is not supported now, do I have any ways to set Arduino UNO R4 WiFi's ESP32 to deep sleep mode? And wil it be supported in the future?

I think the only option possible is to add the AT command and also the implementation in the firmware.

How would you use the deep sleep mode? Putting the esp32 s3 in deep sleep mode will stop serial communication...