Open hernae opened 10 months ago
Hi, @vThibo will pick up this issue, sorry for the delay. Could you please let us know what version of Walter you are using?
Hi, @hernae would you be able to send us the hardware revision of Walter that you are using?
Are there any news on how to reach minimum power consumption during deepsleep?
Hello,
for some reason I can't manage to reach deepsleep with low energy consumption. I already tried to write a shutdown method to Power Down the modem before going to sleep. Any hints to accomplish that? `
import uasyncio import esp32 import walter import _walter import machine import esp32_ulp
import micropython
import time from esp32 import ULP from machine import mem32
from machine import Pin from micropython import const
_sleep_in_s = const(20)
variables
modem = None
async def sleepwalter():
print("sleepwalter")
(wake_reason, gpio_list) = machine.wake_reason()
async def shutdownModem(): print("Modem shutdown") await uasyncio.sleep_ms(1) await modem.shutdown() print("shutdown called")
async def main(): await shutdownModem() await sleepwalter()
modem = walter.Modem() modem.begin(main) ` Output: