Light Sleep
-
How high is the Lopy4s' power consumption in light sleep mode? I could not find it in the documentation. Could i use this machine.pin_sleep_wakeup(pins, mode, enable_pull), (taken from here https://docs.pycom.io/firmwareapi/pycom/machine/#machine-deepsleep-time_ms) so that it wakes up whenever the sensor gives a low logic level?
-
@Anders-H according to https://forum.pycom.io/topic/3351/new-development-firmware-release-v1-19-0-b1/18 it should be around 3.5 mA.
So one order of magnitude lower than staying on, but two orders of magnitude higher than deep sleep.
There are few applications which have a use case for light sleep, but there are probably some (mostly if you need faster wake up than deep sleep but don’t have battery life requirements measured in months or years).