Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Sipy + Deep Sleep Shield, max deepsleep time 45 minutes

    Scheduled Pinned Locked Moved SiPy
    sipydeepsleep wakedeep sleep shie
    1 Posts 1 Posters 731 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      josejulianrp
      last edited by josejulianrp

      Hello,

      I have a problem with DeepSleep functionality using Sipy and DeepSleep Shield modules. I am doing a go_to_sleep call, with 60 seconds and the device works fine entering deep sleep during about 60 s and the device wakes up successfully.

      The problem is when I try to do the same for 1 hour or 1 day, independently on the value that I set (high values), the device wakes up after 45 minutes. I disable the other wake up pins:
      ds.disable_wake_on_raise([''P10', 'P17', 'P18'])
      ds.disable_wake_on_fall(['P10', 'P17', 'P18'])

      And it continues waking up after 45 minutes (more or less). I print the wake up statues after wake up and this is the result:
      {'P10': 0, 'wake': 16, 'P18': 0, 'P17': 0}

      And if I add this code:
      if wake_s['wake'] == deepsleep.PIN_WAKE:
      print("Pin wake up")
      elif wake_s['wake'] == deepsleep.TIMER_WAKE:
      print("Timer wake up")
      else: # deepsleep.POWER_ON_WAKE:
      print("Power ON reset")

      The result is "Timer wake up" but the provided time has not beer achieve.

      Do you know about waht issue could be happening here? I need to set up the sleep time to 1 day for covering my battery life requirements, very far now with 45 minutes of deepsleep.

      I am testing with the device conected to an usb charger directly, not with battery. Additioanlly I have checked connected to my laptop (using ATOM+pymark and usb cable) for check the wake up status, and in both cases wakes up after 45 min when I have set 60 min or 24 hours

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom