Deepsleep current

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
gedue
Posts: 3
Joined: Thu Oct 22, 2015 11:01 am

Deepsleep current

Post by gedue » Thu Oct 22, 2015 11:14 am

I want to use the Wipy for a data logger which is most of the time in Deepsleep-Mode. In the Spec's of the Wipy you find that the Hiberante current is only 5µA, but actualy I measure 450µA which is way higher. Regarding the schematics and the data sheet of the voltage regulator, I see, that the ground current of the used TPS79601 is already 265 - 365µA. The voltage divider at the output of the voltage regulator (R15/16) which is a resitor of 51k+30k=81k, consumes 41µA more. I don't see any possibility to avois this consumption in the current design. Are there any plans to use another voltage regulator for the future?

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Deepsleep current

Post by danicampora » Thu Oct 22, 2015 12:10 pm

Do you have any floating pins?

We do have plans to upgrade the regulator design, but in the meantime you can always use your own 3V3 regulator a connect it's output to both VIN and 3V3.

Cheers,
Daniel

gedue
Posts: 3
Joined: Thu Oct 22, 2015 11:01 am

Re: Deepsleep current

Post by gedue » Thu Oct 22, 2015 12:53 pm

What do you mean with floating pins? I have an external AD-Converter and a SD-Card connected but the other pins are unconnected.
I tried your suggestion with the external voltage regulator already, but it did't change much. The problems remains. The internal voltage regulator stays connected to ground and the R15/16, too. Unfortunately these components are under the cover which makes it almost impossible to simply remove them. When do you think, the modified Wipy will be available?

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Deepsleep current

Post by danicampora » Thu Oct 22, 2015 1:35 pm

OK I understand. We'll investigate...

Next revision will take some months...

User avatar
kfricke
Posts: 342
Joined: Mon May 05, 2014 9:13 am
Location: Germany

Re: Deepsleep current

Post by kfricke » Thu Oct 22, 2015 1:38 pm

There was a discussion regarding SD-card power requirements... http://forum.micropython.org/viewtopic. ... card#p5501

gedue
Posts: 3
Joined: Thu Oct 22, 2015 11:01 am

Re: Deepsleep current

Post by gedue » Thu Oct 22, 2015 2:24 pm

Thanks for the hint regarding the SD Card consumption. I checked, but the measured values are without SD-Card. The one I am using, just consumes 100µA. And here I have the possibility to add a transistor to supply it only when the Wipy wakes up.
To the internal current consumption I have no influence with the given design.

Damien
Site Admin
Posts: 647
Joined: Mon Dec 09, 2013 5:02 pm

Re: Deepsleep current

Post by Damien » Thu Oct 22, 2015 7:18 pm

Any unused IO pins should be configured as inputs with pull ups (or pull downs) to get the least possible leakage of current through them when sleeping. On some MCUs this has more of an effect than others so you'll need to test it out.

TinheadNed
Posts: 2
Joined: Sun Jan 31, 2016 4:02 pm

Re: Deepsleep current

Post by TinheadNed » Mon Feb 08, 2016 8:13 pm

I get 480uA sleep current (without the SD card, mine is another 150uA). As this isn't going to be fixable, could you please update the documentation to be accurate? I don't mind hitting this problem, but I'm annoyed to hit in in Feb 2016 and it's known in Oct 2015 but only mentioned here.

And that the SD card isn't disconnected either.

FWIW, I have also set all pins to inputs, pulled low with the following code:

Code: Select all

def lo_power():
    from machine import Pin, deepsleep
    for pin in dir(Pin.board):
        p = Pin(pin)
        p.init(Pin.IN, pull=Pin.PULL_DOWN, alt=-1)
    deepsleep()
This has made no measurable difference. I haven't tried off the expansion board yet.

TinheadNed
Posts: 2
Joined: Sun Jan 31, 2016 4:02 pm

Re: Deepsleep current

Post by TinheadNed » Mon Feb 08, 2016 9:29 pm

WiPy on its own gets me about 350uA FYI, so still out by a factor of 70.

mbevilacqua
Posts: 6
Joined: Sat May 07, 2016 10:30 pm

Re: Deepsleep current

Post by mbevilacqua » Sun Oct 09, 2016 12:40 pm

Well... that's quite disappointing to say the least. :(

Post Reply