Arduino Nano 33 IoT Sleep Mode from Sensor Input

Hey all,

I need to use sleep modes with Arduino Nano 33 IoT, but instead of waking up every x millisecond, I need it to wake up only when it detects, through a water flow sensor, that water is running through it. Is this possible? How would I read sensor values if the Arduino is sleeping? Thanks in advance.

Hi!

You have to set the "wake up" based on an interrupt event.

Take a look at the code in post #7 of this topic: https://forum.arduino.cc/t/iot-33-low-power/1082503/6.

In this case, pin 2 was used to wake up the 33 IoT from a button. It can be adapted to receive the change in the water flow sensor.

1 Like

Thank you, this was incredibly helpful!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.