Hi all ! Hope everyone is safe !
One of the main goals of this project is to be able to monitor a remote location - hence the LoRa communication with a great range.
In that remote location, power may not always be available, or available at all. The Arduino MKR 1300 WAN can be powered by 2xAA batteries - they are cheap and can last .
Nonetheless, they will reach a state where they no longer can power the Arduino. If we can save the battery power, the more they can last.
In my project, I don't need to constantly measure the environmental parameters. During those times that I don't need to do nothing, why not put the Arduino to sleep - saving those juices for when they are necessary.
Enter the Lower Power Arduino Library. You can also see the Github pages of the library.
This library can save power by putting the Arduino to sleep (or in low power mode), by using the low power features of the SAMD21 MCU.
Install the library
You can install the library in the usual way.
Just search for it in the library manager.
It also needs the RTCZero library. Just install both.
And, you can see the examples.
For my project I'm going to use the TimedWakeup example.
This will put the Arduino to sleep for a period of time, waking it after. Just see the examples and one will suit your needs .
Now you can save that precious juice !
Have a nice weekend.