Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. deepsleep
    Log in to post

    • D

      G01 power consumption
      Discussion • deepsleep g01 • • danielm  

      14
      1
      Votes
      14
      Posts
      1581
      Views

      A

      Dear Robert, @robert-hh said in G01 power consumption: Without LTE init, the current drops to 20µA too. Are you saying that the LTE shutdown magic by invoking lte.deinit() referenced many times in the forum will not be required at all? Our scenario is that we are currently not using the LTE modem of the FiPy and want to get power consumption as low as possible. We are humbly asking for your experience here, especially with the latest firmware releases. Also, I just stumbled over lte.send_at_cmd('AT!="powerOff"'), which also does not sound that bad ;]. Maybe this will shut down the modem in the quickest way possible without going through all procedures of the regular lte.deinit(). Thanks already for taking the time to answer our question on this evergreen topic. With kind regards, Andreas.
    • nespressif

      Experiences with Lopy4
      LoPy • lopy4 deepsleep power supply use experiences • • nespressif  

      1
      0
      Votes
      1
      Posts
      356
      Views

      No one has replied

    • S

      DeepSleep Current Consumption
      SiPy • deepsleep current consump deep sleep shie • • spiderplant0  

      2
      0
      Votes
      2
      Posts
      610
      Views

      P

      @spiderplant0 Hi, I can't speak to the specifics of your case--I'm using a bare GPy sitting on a custom board--but I've also been looking into deep sleep current consumption. I started a thread on the GPy board, where you can see my tests and results, but the short version is that with all the networks/peripherals down and doing a machine.deepsleep() the best I've gotten is also around the 0.5mA mark. This is a total guess, but it looks very similar to doing a deepsleep() rather than actually "pulling the plug" as that shield seems to allow for.
    • T

      LoraWAN frames counter does not work after deepsleep if socket is set to non-blocking
      Issues & Bugs • bugs lopy4 deepsleep lopy nvram lora socket • • Tom  

      2
      1
      Votes
      2
      Posts
      582
      Views

      J

      @tom You should probably instead do the following set socket to blocking send set socket to non-blocking receive save config Otherwise you actually try to receive, save, and deep sleep before the packet has actually been (completely) sent. An alternative is to add a manual sleep, but remember that the time between send and receive is variable (the network can change the RxDelay).
    • A

      Wake machine.deepsleep using pin input from accelerometer [SOLVED]
      WiPy 2&3 • deepsleep pin interrupt accelerometer • • alexpul  

      5
      0
      Votes
      5
      Posts
      1426
      Views

      A

      Ah ha. I was using the wrong interrupt script. This is the correct working code for an accelerometer interrupt (P13) of machine.deepsleep(): import machine machine.pin_deepsleep_wakeup(['P13'], machine.WAKEUP_ANY_HIGH, False) machine.deepsleep(10*1000) So for pin interrupts there is a callback() function to create interrupts of active and sleep modes but the pin_deepsleep_wakeup() is needed to interrupt deep sleep (is that what you meant by "wake-on-pin" @jcaron?). There is no interrupt handler for pin_deepsleep_wakeup() because the working memory is cleared after deep sleep (as mentioned by @jcaron below). @jcaron I had tested my interrupt handler without sleep and it did work. In my main.py I had the following script to test that it woke from deep sleep and ran main.py. import pycom import utime pycom.heartbeat(False) #turn off LED pycom.rgbled(0xFF0000) #red LED utime.sleep(2) pycom.heartbeat(False) #turn off LED
    • A

      Ways to sleep Pytrack
      WiPy 2&3 • pytrack deepsleep sleep wake up • • alexpul  

      2
      3
      Votes
      2
      Posts
      1211
      Views

      J

      @alexpul if you want low power it’s going to be one of the last two. On a WiPy 3 the recommended option is machine.deepsleep, though I haven’t checked whether it can be used with wake-on-accelerometer. You probably won’t be able to capture the acceleration at the actual time it is over 3g, though, it takes a little while for the WiPy to wake up...
    • M

      Trouble with deepsleep example
      FiPy • fipy deepsleep • • matt  

      10
      0
      Votes
      10
      Posts
      1413
      Views

      robert-hh

      @Erick-Falcon Why did you post that here? It is not related to the topic.
    • D

      Deep Sleep Wakeup, recording multiple events
      Discussion • fipy deepsleep wake • • dane  

      1
      0
      Votes
      1
      Posts
      388
      Views

      No one has replied

    • J

      BLE & Low power
      Comments & Feedback • deepsleep ble bluetooth low power consumption • • jczic  

      1
      0
      Votes
      1
      Posts
      482
      Views

      No one has replied

    • T

      Output pin control during deep sleep
      Getting Started • fipy lopy4 deepsleep ulp • • tuftec  

      1
      0
      Votes
      1
      Posts
      419
      Views

      No one has replied

    • M

      Wipy 3 irregularly crashes after deepsleep
      Issues & Bugs • wipy deepsleep crash • • MoeweX  

      3
      1
      Votes
      3
      Posts
      726
      Views

      M

      As of last week, I cannot reproduce the error anymore... . If I encounter the issue again, I will write here again.
    • T

      Wakeup from deepsleep timer
      MicroPython • deepsleep wakeup • • Tschili  

      2
      0
      Votes
      2
      Posts
      604
      Views

      S

      I have the same problem with some of my GPY. You are powering the GPY with 5V? Cumps,
    • T

      UART, Deepsleep, Wakeup
      MicroPython • deepsleep uart wakeup • • Tschili  

      2
      0
      Votes
      2
      Posts
      613
      Views

      J

      @tschili Imho, if you trigger the wake-up just when the transmission starts, you'll have the issue that the GPY needs to little bit of time to wake-up and initialise, and you will most certainly lose and data received during that time. So you would need the SIM800L to wait until the GPY is ready to receive before it start sending the data, and some other way to wake up the GPY.
    • P

      Lopy4 deep sleep problem
      Comments & Feedback • lora lopy4 deepsleep • • pierremarsot  

      23
      0
      Votes
      23
      Posts
      4893
      Views

      robert-hh

      @jcaron Of course!
    • J

      Deep Sleep shield stopped working
      LoPy • deepsleep shield • • jubbs  

      3
      0
      Votes
      3
      Posts
      594
      Views

      X

      @jcaron @jubbs I used my administrative powers to update the above post adding the correct code tags.
    • nespressif

      Pulse control in deep sleep (ULP)
      Discussion • deepsleep ulp pulse control • • nespressif  

      3
      1
      Votes
      3
      Posts
      555
      Views

      G

      The most recent post concernign ULP is here: https://forum.pycom.io/topic/7026/ulp-testing-pycom-firmware-with-ulp-support. From what I know we're still interested in implementing this feature, but again, we're interested in implementing a lot of features, with only limited time :)
    • H

      Deep sleep with Pysense - Different APIs
      Discussion • fipy pysense deepsleep • • Henning  

      3
      0
      Votes
      3
      Posts
      858
      Views

      H

      @jcaron Thanks a lot for the explanation! That solved the question for me.
    • L

      LoPy4 deepsleep function without deepsleep shield ?
      LoPy • lopy lopy4 deepsleep library deepsleep wake • • Luxior  

      3
      0
      Votes
      3
      Posts
      989
      Views

      M

      You have to look at machine.deepsleep link text For example with machine.deepsleep(60000) the LoPy will sleep for 60 seconds (better to say about 60 seconds).
    • A

      Deepsleep Pysense button interrupt triggered always
      FiPy • fipy pysense deepsleep deepsleep wake • • akshayjames  

      2
      0
      Votes
      2
      Posts
      748
      Views

      jmarcelino

      @akshayjames I think the problem is the button on the Pysense goes low when pressed, not high, so you want to wake up on low.
    • A

      Power consumption / wifi-information storage machine.deepsleep()
      GPy • deepsleep current storage wifiinformation • • Andy_N.  

      11
      0
      Votes
      11
      Posts
      2204
      Views

      A

      @Andy_N said in Power consumption / wifi-information storage machine.deepsleep(): OSError: the requested operation failed We just mitigated this through [1] by invoking lte.deinit() with the "reset" operation like lte.deinit(detach=False, reset=True) [1] https://github.com/hiveeyes/hiveeyes-micropython-firmware/commit/ec7c80e1219fb119c2881a0019cecdfad220f29f
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 2 / 6