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

    New order of LoPy - deep sleep issues?

    Scheduled Pinned Locked Moved LoPy
    lopydeep sleep
    31 Posts 12 Posters 10.5k Views 13 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.
    • D Offline
      dbrgn
      last edited by

      I think I wouldn't even need to disable wifi on boot, since it should be off in deep sleep anyways.

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        beyonlo @dbrgn
        last edited by

        @dbrgn All right, so that's two lines are unnecessary:

        pycom.heartbeat(False)
        pycom.wifi_on_boot(False)

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Robin @beyonlo
          last edited by

          @beyonlo have you also found that the LED flickers on after resetting from deep sleep?

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            beyonlo @Robin
            last edited by

            @robin I have not tested that.

            1 Reply Last reply Reply Quote 0
            • P Offline
              peekay123
              last edited by

              I'll give it a test tonight as well.

              1 Reply Last reply Reply Quote 0
              • P Offline
                peekay123
                last edited by

                So, with the simple code below, the heartbeat LED pulses very briefly when my LoPy wakes from deep sleep.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dbrgn
                  last edited by dbrgn

                  Since last time I tried the test script again, with the latest firmware (from 3 days ago). Now I get down to 16.5 uA. Not sure if the firmware is related.

                  Interesting is that when testing the same board on our custom hardware, I can get down to ~13uA. Maybe because some pins aren't floating anymore?

                  Anyways, it seems to be possible now to get below 20uA in deep sleep.

                  Edit: And I also sometimes experience the issue that the LED quickly lights up when waking up from sleep or when powering on the device for the first time.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sioo @dbrgn
                    last edited by

                    @dbrgn How did you get it down to 16.5uA? I'm currently reading around 30uA in deep sleep.

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

                      @sioo can you clarify your setup? LoPy or LoPy 4? Deep Sleep shield, expansion board, Pysense, PyTrack? Power source? Any active sensors?...

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sioo
                        last edited by

                        I'm using an Lopy4 powered by a Lifepo4 battery. For testing purposes I'm reading a sensor (bme280), sending the data using lora and then going to sleep for about 10 minutes.

                        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
                        • 2
                        • 1 / 2
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom