Esp Now sleep mode.

jrubic
Posts: 6
Joined: Mon Mar 09, 2020 10:09 am

Esp Now sleep mode.

Postby jrubic » Tue Jun 30, 2020 2:45 pm

I'm developing a system based on Esp_Now and Lora with which I send orders to carry out remote processes, that is, I need to keep them on alert but in a sleep state because else, the battery runs out in a short time. The problem is that I don't know how to wake them up when an external message arrives. The system works fine without sleep mode. Can somebody help me?
I'm grateful in advance.

Jorge.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp Now sleep mode.

Postby ESP_Sprite » Wed Jul 01, 2020 12:43 pm

With ESP-Now? I don't think there is a way to keep the radio online while using deep sleep; if any, that would use a fair amount of power even if possible. The 'canonical' way to solve that is by telling the other side 'I'm going to sleep for a minute, please buffer any messages you'd want to send to me', and the other side batch sending all buffered messages after that. (Similar to DTIM in WiFi)

Who is online

Users browsing this forum: No registered users and 29 guests