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

    FiPy +PyTrack 2.0 deepsleep power consumption

    Scheduled Pinned Locked Moved FiPy
    6 Posts 3 Posters 75 Views 3 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.
    • N Offline
      Naroa Echarte
      last edited by

      Hi all,

      I'm working on a tracking device with the FiPy (1.20.2.r4) with LTE modem firmware LR5.2.1.0-48829 (Cat-M1) and the PyTrack 2 (v16). Specifically, I am having problems with the deepsleep energy consumption. The boards are being powered via microUSB with 5V.

      I've seen that there is a recent topic about the consumption in the Fipy, but I haven't found a solution following those advices: when using the scripts suggested by @Gijs, I get values around 4.5mA, instead of something around 30uA. As I'm workig with a Pytrack2, I also tried to use the go_to_sleep method as suggested here, but the results are even worse (5.5mA).

      I would appreciate any help to try to solve this issue.
      Naroa

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

        @Naroa-Echarte deep sleep is designed for running on battery, not powered via USB. There are a few things which are optimised for the battery scenario and not at all for the USB scenario (quite the opposite in fact).

        Start by running from battery to see if that helps.

        1 Reply Last reply Reply Quote 2
        • N Offline
          Naroa Echarte
          last edited by

          Hi @jcaron,
          Thanks for your help, I didn't know that the power supply could cause such a difference in the consumption. I'll run some test in the next few days following your suggestion, and I will let you know the results.

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by

            There's also different power modes on the GPS that you could look at (maybe causing the 1mA increase between 4.5 and 5.5). I describe them here: https://forum.pycom.io/topic/6515/pytrack-2-0-gps-v_bkup/7?_=1620635196288

            N 1 Reply Last reply Reply Quote 1
            • N Offline
              Naroa Echarte @Gijs
              last edited by

              Sorry for my late reply, I had some issues with the current measurement system.

              As suggested by @jcaron , running the tests on battery solved the problem. I got 12uA @3.75V using the ultra low power mode. After that, I tried the low power mode of the script, the one that keeps the accelerometer on. I measured 480uA, when I'm supposed to get ~165uA @3.75V. Looking at the link provided by @Gijs , it seems that the value corresponds to the py.gps_standby(True) mode. I've tried to hardcode py.sensor_power(False) and py.gps_standby(False), but I can't get any value lower than 480uA.

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

                @Naroa-Echarte Since you're using a FiPy, it may be due to the LTE modem staying on (though I believe in this case you would get a much higher power draw). You may want to try:

                • disabling LTE on boot:

                  pycom.lte_modem_en_on_boot(False)
                  
                • properly resetting the LTE modem before deep sleep:

                  lte.deinit(reset=True)
                  

                See https://forum.pycom.io/topic/6839/fipy-deepsleep-methods/20?page=1 for more information.

                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