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.
    • M Offline
      mahe
      last edited by

      I never received any replies here. I needed some extra LoPy's for testing, so I ordered some even though I didn't expect to receive anything different from last time. If low power consumption is needed the LoPy is not the way to go. Maybe the LoPy4 is better, but I haven't seen any examples..

      I must admit, that I feel Pycom is using false advertisement in regards to the LoPy. It still says:

      Ultra-low power usage: a fraction compared to other connected micro controllers

      on the product page. I don't see anywhere mentioned that this is not true - even with the low power shield (which as far as I can see is not mentioned anywhere either - even though it radically changes the form factor of the LoPy).. The first time I ordered I had no idea that the product I would receive was completely useless for my application..

      1 Reply Last reply Reply Quote 1
      • J Offline
        jmarcelino @Robin
        last edited by

        Hi @robin,

        The LoPy4 is not finished yet and we don't have final production hardware. We'll have full power consumption results when it's released.

        That'll will happen closer to end of this month.

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

          I am able to achieve 16uA deep-sleep current using LM3281 voltage regulator and L01 OEM module. LoPy4 will carry different Semtech chip if I remember correctly.

          You may try to use L01 + OEM baseboard from Pycom.

          J 1 Reply Last reply Reply Quote 1
          • J Offline
            jmarcelino @danielm
            last edited by jmarcelino

            Thanks @danielm

            Yes the L01 + baseboard combination will give you very low power deepsleep right now.

            The LoPy4 does have a different Semtech chip SX1276 but the power specifications difference from that isn't major.The other difference is a TCXO (temperature compensated crystal). But in terms of deepsleep that shouldn't matter.

            We'll have detailed official numbers (deepsleep, sleep, transmit, receive) later in the month. I'm expecting to present it at The Things Conference.

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

              @jmarcelino should probably update the web shop then, it still says

              Purchasing the LoPy4 means you are pre-ordering ready for shipment 27th December 2017

              (Twice)

              While we’re on that topic, what’s the status on the new cases?

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

                Welcome to the twilight zone...

                The LoPy4 is not finished yet and we don't have final production hardware. We'll have full power consumption results when it's released.

                That'll will happen closer to end of this month.

                But then you post on Twitter:

                Yay! The NEW LoPy4.0 is shipping :) Come and try out our new #LoRa #Sigfox #WiFi #BLE @ESP32net @LoRaAlliance @sigfox #IoT developer board #GOINVENT

                (and I notice the shipment date warning has been removed from the web shop).

                Oh, it seems the new cases have been pushed back to... April!

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

                  @jcaron

                  Yes, the LoPy4 hardware has arrived earlier and is actually shipping today (I was surprised myself to learn this).

                  However the software side is still being worked on so I can't offer power consumption figures yet, they'll definitely be done by end of month but hopefully sooner.

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

                    @jmarcelino and @mahe and @livius
                    I ordered LoPy4's today on the webshop. They were picked up by DHL this afternoon so i should have them next week. Will let you know how i get on with the following:

                    • Power consumption
                    • RTC being reset every sleep cycle
                    • Unpredictable sleep intervals
                    1 Reply Last reply Reply Quote 1
                    • bmarkusB Offline
                      bmarkus @jmarcelino
                      last edited by

                      @jmarcelino said in New order of LoPy - deep sleep issues?:

                      Thanks @danielm

                      Yes the L01 + baseboard combination will give you very low power deepsleep right now.

                      Any estimation what very low means?

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

                        @mahe
                        I have a LoPy4 in front of me and am considering how to test power consumption. Previously i had someone who helped with an oscilloscope, but that is a quite impractical for me at the moment. Is there another way to measure low power current drain from the battery? Presumably a multimeter is too imprecise?

                        J S 2 Replies Last reply Reply Quote 0
                        • D Offline
                          danielm
                          last edited by

                          I use this tool:
                          http://www.eevblog.com/product/ucurrentgold/

                          Unfortunately, it seems to be out of stock.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jmarcelino @Robin
                            last edited by

                            @robin
                            I use this tool now, not the cheapest thing but very convenient.
                            https://www.qoitech.com

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

                              @jmarcelino
                              I was not aware of such device, are you satisfied with it? What are the most notable issues/drawbacks from you experience?
                              I am considering to buy it.

                              1 Reply Last reply Reply Quote 0
                              • bmarkusB Offline
                                bmarkus
                                last edited by bmarkus

                                This tool can be also interesting

                                http://store.digilentinc.com/openscope-mz-open-source-all-in-one-instrumentation/

                                or a bit more expensive but more complex

                                http://store.digilentinc.com/analog-discovery-100msps-usb-oscilloscope-logic-analyzer-limited-time/

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  ssmith @Robin
                                  last edited by

                                  @robin I use this device. http://www.cmicrotek.com

                                  You can also use a resistor in series with the 5V input and measure the voltage drop. You just have to size it correctly so you still get enough voltage to run the device. You also have to short it out till the device is asleep.

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

                                    With nothing but the LoPy4 connected to the Otii (at 3.75V with auto range mode) I measure ~32uA in deep sleep.

                                    0_1515762260180_photo5965393512251894727 (1).jpg

                                    Is this the best we can expect, or should it go lower?

                                    This is the code (boot.py):

                                    import machine
                                    import pycom
                                    pycom.heartbeat(False)
                                    pycom.wifi_on_boot(False)
                                    machine.deepsleep(15000)
                                    

                                    As soon as I connect it to the expansion board (with all jumpers removed, power supply via JST connector) current goes to ~170uA.

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

                                      @dbrgn Don't need to disable the Bluetooth/BLE too, like as you did with WiFi (pycom.wifi_on_boot(False)) ?

                                      1 Reply Last reply Reply Quote 0
                                      • 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

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

                                            Pycom on Twitter

                                            Pycom