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
Can't activate deep sleep mode, all the time current consumption is 12mA #719
Comments
I think that is the problem, I should think of a method to take that out and measure again. Thank you lot! |
So after some measurements I found this consumption on different deep sleep modes : I couldn't activate deep sleep for a consumption of uA... maybe this board have some regulators that consume 10mA, but I don't know. If anyone can give me a tip. Thanks. |
yes biggest 3 PIN component looks like a regulator, shut make 5V to 3V3. i only use the ESP12 and ESP7 boards directly with my custom boards. never had a problem with it. you can try to unsolder the 3V3 pin of the LDO (regulator) and attache the ampere-meter there. |
Does this board have LEDs? They're a power drain... I agree with what Markus is saying - you won't minimise the power On 24 August 2015 at 20:37, Markus notifications@github.com wrote:
|
Well thanks for the support, after a lot of soldering and re-soldering and desoldering a lot of pins :) I finally get where the problem was. To make it simple, all you need to do for deep sleep is to cut PIN 1, and supply directly the ESP12-E.
So the final consumption is 250-270uA in deep sleep, I will try to cut down the UART chip in order to have a lower consumption, but today it is enough. Again, thank you @Links2004 for interest. |
Hi! The code I'm using is as follows: int pin=2;//wifi LED since you can't use the builtin LED because it's being used for wakeup (it's D0 = 16) void setup() { } // the loop function runs over and over again forever //put into deep sleep for awhile ESP.deepSleep(9000000, WAKE_RF_DISABLED); // Sleep for 9 secs |
The following relates to a NodeMCU ver 1 I unsoldered Pin 1 from the voltage regulator from the circuit board and added two jumpers. One jumper from the pad of the voltage regulator to the ground on a 3.7V battery. The other jumper on Pin 1 of the voltage regulator is hanging loose. I then added a jumper from the ESP8266 module per your photograph to the positive side of the battery. The code runs well and the current is as follows: 80mA on startup (that's the wifi module pulling that). The wifi module blue light illuminates due to the program pulling pin 2 low. It appears to enter deeps sleep and the current is 7.8 mA. 9 seconds later it comes out of deep sleep and pulls 25 mA. There is a flicker in the onboard LED (due to wakeup) and the wifi led glows solid and bright. The unit then goes into sleep and the current is 7.8 mA. The last two steps repeat. I can't seem to locate the source of the 7.8 mA drain. I have tried unsoldering the regulator completely and that does not reduce the current. |
which board are you using? If it is one equipped with a usb2serial chip On Wed, Apr 20, 2016 at 5:02 AM, dmody notifications@github.com wrote:
|
@dmody : well there is the usb-to-serial converter, you must cut it's power too. I will try to do it myself the next week, and put out a clear tutorial. @vlast3k : after bypassing the regulator and cut power of usb-to-serial (CH430G in my case), I get from ADC port around 3.6-3.7V, when battery is fully charged 4.2V. |
@luciancerbu87, in fact do you need to cut the voltage regulator? What i did was to supply the power directly via the 3.3 v input. |
Basically, I think you'd be better to use a different module - what you're I'm running an ESP-12, with the LEDs removed, in deep sleep mode, waking Start with the absolute minimum and add the parts you need - thay way you On 20 April 2016 at 14:02, vlast3k notifications@github.com wrote:
|
Great advice everyone. Thanks so much! @duncan-a You're probably right. My approach was to keep the part count to a minimum to reduce the time debugging due to my lack of knowledge. I could see myself in need of a prototyping board that you can plug the ESP-12 module into easily, do some programming and testing, then pull it out for final testing and use. Does anyone know of such a beast? |
You can't "plug the ESP-12 module" easily (if you're thinking breadboards) You could use one of these (but fit 8-way stackable, long-pin, female http://www.banggood.com/ESP-07-ESP8266-Serial-WIFI-Module-with-IO-Adapter-Plate-p-980652.html I have a couple of these which I prototype with and then design a PCB for a Remember that you'll need a USB-FTDI adaptor too. On 20 April 2016 at 20:35, dmody notifications@github.com wrote:
|
Well, I guess I see a nice business opportunity. :) |
If you mean for breakout boards that are narrower, I've done that but never I suspect the ESP-32 will probably take over quite a lot but, with two On 20 April 2016 at 20:59, dmody notifications@github.com wrote:
|
re: 'fakir' board with pogo pins, there was such a thing featured on hackaday a while back. re: ESp-32, the beta boards are 1mm pitch, that's going to get beyond what regular DIYselfers like me can solder with their sturdy fingers... Ah, also, there have been designs floating around where the ESP is powered through a switchable regulator (or maybe also a FET, if I recall well) controlled by a RTC chip. Typically, the ESP tells the RTC to switch its power off and re-wake up (power-on) later. |
Re the pogo pins ESP board, see this: http://hackaday.com/2016/01/24/truly-versatile-esp8266-wifi-webcam-platform/ |
re: RTC clock controlling ESP's power: http://www.esp8266.com/viewtopic.php?f=13&t=5747 |
That approach would work fine - if you need time-stamping or an interval
|
I'm thinking of setting the Pogo Pins in a block and having a clip-down I agree about 1mm pitch connections on the ESP-32 (bad eyesight and On 21 April 2016 at 00:25, Philippe Gregoire notifications@github.com
|
@dmody Someone has managed to advance ... I still consuming 7,8mA and I can not turn off the CP2102 ... one solution please!!!!!!! |
This is what I did to reduce the current consumption of my v2 NodeMCU in deep sleep to < 50uA: https://tinker.yeoman.com.au/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/ |
[Hi please ignore if this sounds irrelevant/silly but does having Serial statements in the code causes uart chip to draw more current? I am asking this because I was testing with 3V and had same code with Serial logs and deepSleep enabled and wired. And it drained battery quickly. (Li-Ion 3.7 v 2500mAh) in less than 8 hours or so. In addition im also measuring the voltage on A0 with oboard resistors 220K and 100K. The code is simple (need to push to github)
|
Hello,
I have bought this ESP8266 :
with the following piout :
this is the current link : http://www.aliexpress.com/item/2PCS-V3-4M-bytes-32Mbits-FLASH-NodeMcu-Lua-WIFI-Networking-development-board-Based-ESP8266-with-firmware/32368521069.html
So the problem is that I can't set it to deep sleep, the minimum consumption that I can obtain is 12mA on 3.8V. I made a link from DO(GPIO16) to RST and after deep sleep it restarts itself , but I can't get it to uA consumption, how it described in documentation.
Have you got any ideea, why I have this problem?
Thanks is advance.
The text was updated successfully, but these errors were encountered: