I have a requirement to reduce power consumption as we’ll be using solar and small battery to power our electron devices in the field.
Accordingly I plan to use sleep mode.
I also need to be able to handle user input and tamper switch activation.
My plan was to put the device in sleep mode at the appropriate time and only wake up on 2 either of two conditions:
- User presses the wake-up button
- The tamper switch inside the case is activated
But I guess I can only have a single pin to trigger wake from sleep?
Is there a way I can wake the device from 2 (or more?) triggers?