Closed Tirititelu closed 4 years ago
Hi @Tirititelu ,
the MKRWAN library communicates with the internal firmware that automatically handles low power modes (on the Murata chip). If you use arduino-LoRa, the internal firmware goes into a sort of "dumb mode" that forwards the SPI bus to the Semtech chip, without being aware of the ongoing communication.
The only way to achieve a lower power consumption is to shutdown the Lora module completely and restore the context at resume (digitalWrite(LORA_RESET, LOW);
after LoRa.sleep();
should be enough, but you'll need to call LoRa.begin()
again at resume)
Hello, I am doing tests with the new mkr1310 and I am getting very bad consumption results (approx 9mA) when I use this library. On the other hand, when I use the MKRWAN I get a much lower consumption (0.5mA). After several tests I think the problem is that the sleep function does not work properly. Do you know what may be happening?.
One of the test codes (9mA):
Other code (0,5mA):