Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High power consumption using PowerManager + SHT21 #453

Open
nikolac opened this issue Dec 16, 2018 · 1 comment
Open

High power consumption using PowerManager + SHT21 #453

nikolac opened this issue Dec 16, 2018 · 1 comment
Labels

Comments

@nikolac
Copy link

nikolac commented Dec 16, 2018

Arduino IDE 1.8.6, MySensors 2.2, NodeManager 1.8, StampNode (Atmega328p), NRF24 SMD

When hooking up the SHT21 directly to my node's power and ground, I measured the sleeping current to be around 5.7uA. Experimenting with the powerManager feature, I connected SHT21 to D5=GND, D6=VCC. The power consumption jumped to ~152uA while sleeping.

I then tried connecting SHT21 GND directly to Node GND and D6=VCC, still 152uA while sleeping.

I guess I could try different pins for GND, VCC, but I'm wondering if powering the pin down might leak a bit...

NM:INIT:INO=SolarEnv v1.0
0 NM:INIT:LIB VER=2.2.0 CP=RNONA---
0 NM:INIT:RBT p=255
16 NM:BFR:INIT
12779 NM:PWR:ON p=6
12845 NM:STP:ID=21 M=0
12861 NM:PWR:OFF p=5
12976 NM:STP:HW V=3169 F=1 M=912
13025 NM:PWR:ON p=6
13680 NM:LOOP:BATTERY(201):SET t=38 v=3.16
14876 NM:LOOP:SHT21(1):SET t=0 v=75.04
15056 NM:LOOP:SHT21(2):SET t=1 v=40.21
16121 NM:PWR:OFF p=5
16138 NM:SLP:SLEEP s=1200

@user2684 user2684 added the bug label Dec 17, 2018
@user2684
Copy link
Contributor

Hi, thanks for reporting it. Basically what you are saying is that even if you have the OFF before the sleep as I can see from the logs, still looks like there is current flowing through the pin. I'll try to reproduce it (the poweroff function just writes low to the vcc pin even if the debug output saying something about the ground pin which is wrong) and meanwhile marking it as a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants