Dear Forum,
I’m trying to build a battery driven sensor node that will have multiple (4) switches connected (normally closed). It should send a ping every 10minutes and instantly react if any of the switches changes state. Communication will be P2P.
I was thinking of using RUI3 (Arduino) and already found the nice example code at GitHub - beegee-tokyo/RUI3-LowPower-Example: Example how to achieve lowest power consumption with a custom firmware created with RUI3 which looks promising, however I still got a few questions:
-
I will design a custom board with the RAK3172 module. I had a look at the breakout schematic, but can’t stop wondering if a 10k pull-up and 100nF are both absolutely mandatory on the reset pin. A 10k pull-up doesn’t seem fit to ultra low power…
-
Is there a way to define multiple wake pins in software? For instance is it possible to wake from a pin change interrupt? Are all pins capable of these “waking” pin change interrupts?
-
If that’s not the case, is it possible to wake just the cpu from a timer? I was thinking of timer waking every 500ms, check all the necessary inputs and only wake up the LoRa module if a change (or “ping”) has to be transmitted…
Thank you for your feedback…