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

    Lopy/Pysense program going to sleep works perfectly on USB, not on Battery

    Scheduled Pinned Locked Moved Discussion
    3 Posts 2 Posters 226 Views 2 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.
    • P Offline
      PeterB
      last edited by

      We made a program on a Lopy with PySense and using the SD card, which goes to sleep at a cerain moment and is waken up by e.g. the acceloremeter.

      It works prefectly when power supplied by USB (and battery),
      but when working on battery alone it hangs after waking up.
      The battery is fully charged (4.1 V, 4.2 V when charging).

      Any ideas? Known solutions?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @PeterB
        last edited by

        @peterb Do you have the same issue if you don't use the SD card?

        Are you using machine.deepsleep or the Pysense library deep sleep?

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          PeterB @jcaron
          last edited by

          @jcaron We are using the pysense library for it.
          It could have been the suggestion we read somewhere else on the forum for connecting P8 with a resistor to 3V3. If we remove the resistor it seems to work. More testing being done at the moment.

          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