DeepSleep Shield & LoPy



  • Hi!
    I have connected DeepSleep Shield and Lopy without! the expansion board and I get 0.500mA in deep sleep.
    Is that OK? How can I get uA?

    import pycom
    import time
    from deepsleep import DeepSleep
    from network import WLAN
    
    wlan = WLAN()
    wlan.deinit()
    
    ds = DeepSleep()
    
    pycom.heartbeat(False)
    for cycles in range(1): # stop after 10 cycles
        pycom.rgbled(0x007f00) # green
        time.sleep(5)
        pycom.rgbled(0x7f7f00) # yellow
        time.sleep(1.5)
        pycom.rgbled(0x7f0000) # red
        time.sleep(4)
    
    ds.go_to_sleep(20)  # go to sleep for 20 seconds
    

    Thank you.



  • Noone can answer if the deep-sleep board is using 500uA during sleep? or 10 uA (as described) ?


Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.