Root causes of high deep sleep current [LoPy1, WiPy2 and SiPy], all the new modules **do not have deepsleep issues**
-
@jalperin
This works to turn off WiFiimport network n = network.WLAN() n.deinit()Turning off Bluetooth would be similar but for network.Bluetooth() instead.
However removing Bluetooth doesn't change anything in power consumption at the moment - but also it won't be on or consuming anything unless you had previously initialised Bluetooth() in your code. So it's actually better to do nothing at all for the Bluetooth side. -
Thanks jmarcelino.
Does the below earlier comment of yours still apply?
By the way I found that if I do:
from network import WLAN
wlan = WLAN(mode=WLAN.STA)
power saving is enabled, but if I use this instead it doesn't:from network import WLAN
wlan = WLAN()
wlan.mode(WLAN.STA) -
If I order another Sipy now will the deep sleep feature be fixed or will I still need a shield?
-
@chrisi you will need to order a shield - the SiPy can also use the Pytrack/Pysense to sleep as well.
-
@bucknall From what I understood, you will automatically receive a Deep Sleep Shield with any new orders. I know I received shields with the boards I ordered week before last.
-
@jcaron That is correct, my wording was slightly confusing! If you order any of our devices (WiPy 2.0, LoPy or SiPy) you will automatically be sent a deep sleep shield.
-
@daniel said in Root causes of high deep sleep current:
@jcaron the reason for the higher current on the Pysense is because the sensors need to be disabled as part of the process of going to deepsleep. We will add that to the official library within the next few days.
Hi @daniel,
- is this actually confirmed to be a purely software issue?
- has there been any progress with the libraries? I've seen a few updates pushed on Monday, but I don't think they're relevant to this issue?
The other thing I really would like to see is the ability to wake on pins (and the related control of the pins connected to the PIC on the Pysense, which from what I understand will be the only pins which can used for wake up?)
Thanks,
Jacques.
-
@bucknall My colleague and I have made total of 3 orders ( 7 LoPy development boards in total), but the deep sleep shield didn't come with our orders. May I know where can I order the deep sleep shield? I've contacted the support team, but haven't got any reply from them.
-
Hi @tlntu,
I'm asking our sales team where the deep sleep shields are - could you please send me an email (alex@pycom.io) with your order number?
Thanks!
Alex
-
@bucknall I've sent an email to you with our order numbers.
-
@bucknall
For the record: my deepsleep shields came in yesterday -
Just arrived today! Thanks
-
@jcaron and everyone. We have fixed the deepsleep current issue of the Pysense. As explained before, it was just a software thing (the pressure sensor needed to be powered down). Just use the new library: https://github.com/pycom/pycom-libraries/blob/master/pysense/lib/pysense.py
And you'll enjoy a current of only 10uA during deepsleep :-)
-
@daniel said in Root causes of high deep sleep current:
@jcaron and everyone. We have fixed the deepsleep current issue of the Pysense. As explained before, it was just a software thing (the pressure sensor needed to be powered down). Just use the new library: https://github.com/pycom/pycom-libraries/blob/master/pysense/lib/pysense.py
Great, thanks! :) Will test it tonight or tomorrow.
-
@daniel Woohoo! Too bad I don't have my LoPys at hand to test right now, but I will do so as soon as I can.
While you have your hands in there, any chance for wake on pin on the Pysense?
Thanks!
-
While you have your hands in there, any chance for wake on pin on the Pysense?
Coming soon (also for Pytrack)
-
@daniel said in Root causes of high deep sleep current:
Coming soon (also for Pytrack)
Great to hear. Do you already have information on which pins we'll be able to use for wakeup? I'm currently designing some hardware, and with that information I'd be able to order prototypes sooner.
-
Thank you for the fix.
So, does one use the lopy deepsleep, the pysense go-to-sleep, or both (somehow)?
Is there an example of using the nvram save and load?
-
The survey monkey link is dead. I have 5 affected boards. How can I obtain 1-3 deep sleep shields?
Thank you,
Christian -
The same for me, I would need a deep-sleep shield but I see the survey is closed...
Thanks
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