arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

Waking up arduino on receiving data

Open ShadowKing782k opened this issue 2 years ago • 4 comments

I want to put my arduino in sleep mode, it should wake up on receiving data from receiver LoRa. Is it possible to do that??..If it's possible can u please tell me the procedure to do that...Thanks in Advance : )

ShadowKing782k avatar Nov 29 '21 09:11 ShadowKing782k

  1. Use onReceive() ISR
  2. Leave your LoRa in Receive mode.
  3. When there is some LoRa message, DIO0 will go HIGH.
  4. You have to set DIO0 to wake up the Arduino.

BTW, LoRa in Receive mode still consume battery. So be aware of that.

IoTThinks avatar Dec 06 '21 05:12 IoTThinks

  1. Use onReceive() ISR
  2. Leave your LoRa in Receive mode.
  3. When there is some LoRa message, DIO0 will go HIGH.
  4. You have to set DIO0 to wake up the Arduino.

BTW, LoRa in Receive mode still consume battery. So be aware of that.

I tested that a lot but I've found that when we put Arduino to sleep mode, LoRa module can't receive or sent anymore. so from my point of view, LoRa and its DIO pins can't do that for us. did you tested that?

hoseinaghajari avatar Feb 26 '22 22:02 hoseinaghajari

I had to call LoRa.receive() after waking up

wlwatkins avatar Jun 08 '22 14:06 wlwatkins

I am having the same issue. I am using ESP32 and when i put it in light sleep mode, LoRa module sx1278 then stops receiving any data. When it is normally operating the DIO0 goes high till i read it and goes low after reading data. But in sleep mode it goes to low. I want to wake up my ESP32 when there is something received on LoRa module. If anyone has tried and got the results please let me know.

wedevelper avatar Oct 11 '23 05:10 wedevelper