Full Arduino Mini LoraWAN below 1uA Sleep Mode

Anyone using the minilora boards may be interested in taking a look at my code here: https://github.com/tkerby/minilora-test

I’ve been testing a few features including

  • Low power sleep of arbitrary length in seconds
  • Restoration of millis() counter allowing sleep to be considered within the duty cycle limits for LMIC
  • OTAA with full datarate checking
  • Adaptive timing based on the current spreading factor - a node that ends up on higher SF values will automatically send less often. Ideal with ADR

All these features are very new so I’d love some others to test and provide feedback. It’s really difficult to test in Edinburgh now we have good gateway coverage!

Big thanks to Charles, Matthijs and Arjan for getting me this far!

Note there is a keys.h file needed containing your three keys - see comments in the code

7 Likes