Best power saving mode - Much Deeper Deep Sleep ESP8266

  Переглядів 94,056

DIY TECH BROS

DIY TECH BROS

День тому

In this video we will show you the difference of the power mode Deep Sleep and Deeper Deep Slep (Power Down Mode). We will demonstrate this with and ESP-12F and an ESP-01.
We all know that the ESP8266 can Deep Sleep at only 20 microampere. Did you know that you can put it in power down mode at only 2-3 microampere?!
See this forum post for the original idea: www.esp8266.com/viewtopic.php...
When you are running the ESP8266 on batteries it is a very good idea to make the device sleep as much as possible to save power. Deep sleep saves the most power of all the sleep modes. In Deep sleep mode the ESP8266 only consumes about 20uA.
But we are going to make the device hibernate at only about 2-3 uA. That’s only 10% of power consumption of the deep sleep mode. I’m going to show you how to achieve this and also tell you why many makers fail to do it.
This works for ESP-01, ESP-12E, ESP-12F and ESP-12N.
Do not work for ESP-12S and ESP07S. But, you can make it work for the ESP-01S.
The secret pull up resistor is the key!

КОМЕНТАРІ: 116
@mtayseer82
@mtayseer82 4 роки тому
Another way is to use an external transistor to cut down the power to the module. It should work for all versions of ESP.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Absolutely! Or maybe use a MOSFET. But the power down mode is so simple - too bad it’s not more known!
@sairfan06
@sairfan06 3 роки тому
@@DIYTECHBROS which SMD MOSFET can be used?
@mindpixel3142
@mindpixel3142 2 роки тому
@@DIYTECHBROS Thanks for this great tutorial, Can you recommend MOSFET name that good for that ?
@langrock74
@langrock74 2 роки тому
@@mindpixel3142 NDP6020P
@farukacar9970
@farukacar9970 4 місяці тому
Hi, how do we do that? My app is basic and it uses only ESP01-S module. If I try to use your method such as BC557, I assume I need a timer chip such as LM555 etc. Is there any other way to do that? My app is basic; DHT11 should send sensor data in every 2 mins.
@jeffbornes3986
@jeffbornes3986 4 роки тому
Great INFO, I am playing around with it now. Thanks
@Bianchi77
@Bianchi77 2 роки тому
Nice video, keep it up , thank you :)
@olafschermann1592
@olafschermann1592 Рік тому
Thanks,for,sharing
@mehdim6822
@mehdim6822 3 роки тому
Great video and trick to enable/disable ESP. Need to scratch off the pull up resistors on my ESP01-S. In hibernate mode the ability of timer wakeup is lost, which I like to do so every few hours to send some health signals. One thing that bugs me is why they didn't connect pin 16 to the reset button for deep sleep wakeup! I always have to do it manually which is a pain!
@darkfire2703
@darkfire2703 3 роки тому
This is a pretty handy trick and a nice video. But the power down state is not a sleep mode. The chip is just completely turned off, which means that it differs from deep sleep in not having retained memory in RTC. That means there is no way of keeping persistent data in RAM between power down events. The chip is just shut down and restarted every time from scratch. That being said, this is still a very useful trick to keep in mind if conditions allow for this to be used.
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Don’t forget about EEPROM :-)
@revolvermann4341
@revolvermann4341 2 роки тому
Nice tutorial thank you. I will try it out with my esp 12e. I have one question. Dont you need to add 10k resistor after the diode for CH_PD pin? I thought it must be added, when you want to start the esp
@fredcassirer1588
@fredcassirer1588 3 роки тому
Thanks much for the video. This helped me quite a bit. I have done a bunch of programming with NodeMCUs but not ESP-01's. I have this more or less working, however, I wanted to be able to detect when the door closed vs just timing out. I assumed from the diagram that I could just read GPIO2 to see when the contact changed state, however, it doesn't seem to work. Doing a pinMode(GPIO_2,INPUT); during setup() and then a digitalRead(GPIO_2) in my main loop shows it always HIGH (Closed as I am using a NC door switch.) Readings directly off the pins with the multi-meter show it changes voltage as I open/close the sensor but the ESP-01 digitalRead() shows it HIGH ... Any thoughts?
@jeffbornes3986
@jeffbornes3986 4 роки тому
I have been playing around with ultra low power mode, and I am able to get an ESP-12 to rest at 1.0 microamp. Thanks again Jeff
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
That’s just beautiful!! The battery may actually expire before you drain it 🤣
@kingdavid4463
@kingdavid4463 3 роки тому
@@DIYTECHBROS :)
@Ed19601
@Ed19601 3 роки тому
next thing is to make it active as briefly as possible
@rahatpreo3209
@rahatpreo3209 2 роки тому
@@DIYTECHBROS 😄😄
@GameBully2K
@GameBully2K 3 місяці тому
@@Ed19601 that's how we gonna get to MARS
@MrTalhakamran2006
@MrTalhakamran2006 3 роки тому
Falling in love with ESP 01 S
@Magicman8508
@Magicman8508 3 роки тому
Is it possible to show some external circuitry how to make use of the power down pin? Would a resonant circuit make sense in a way that the chip is powered off for lets say 5 min and enabled for 30sec to transmit some data?
@lucasbrenna2
@lucasbrenna2 4 роки тому
Hi, me again! 1. What type of diode is better to use? 2. If I keep the pool up resistor on the Esp-01s, and I don't use the external 10K resistor, the circuit is still working?
@UNgineering
@UNgineering 2 роки тому
i think i'm missing something here, if you need to push a button or otherwise manually "activate" the ESP, then why not power it down completely during the "down" time? Or can the board wake up from this configuration on its own (e.g. using the deep sleep timer)?
@zachreyhelmberger894
@zachreyhelmberger894 3 роки тому
Modules that do NOT have internal pullups: ESP-01 ESP-12E ESP-12F ESP-12N Modules that have internal pullups: ESP-01S ESP-07S ESP-12S
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Thanks for the list!
@sairfan06
@sairfan06 3 роки тому
Is there any module with external antenna option that do not have internal pull up? thank
@Ed19601
@Ed19601 2 роки тому
Turning the ESP 01S pullup resistor in a pulloff resistor
@yuvarajvelumani7760
@yuvarajvelumani7760 3 роки тому
Does the deep sleep mode triggers any gpio like on the esp32 which I could connect to rst pin to wake up from deep sleep
@Autotrope
@Autotrope 3 роки тому
Why do you think they added that pull-up on the esp-01s? It makes the ch_pd pin so much less useful
@MrBobWareham
@MrBobWareham 3 роки тому
That is very interesting I want to make a door sensor with long battery life but your diagram is very hard to see for the esp8266-01 do you have a better schematic please thanks Bob in the UK
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Hi (again) Bob :-) Love it when makers asks good questions! If you see in the video at 8:29. Replace the button on the right (with the label 12) with a magnetic reed sensor / switch. And that would be your complete setup. Just remember to add pice in the code that tells the ESP to go back to sleep if it has troubles finding your WiFi after a few minutes. In case you WiFi is down, connectivity problems and so on :-)
@bruno_ricci
@bruno_ricci 4 роки тому
Hi! Great video. So if this pull up resistor is removed, which mode is the chip toggled to? I would like to achieve this range of consumption (less than 5uA), but is RTC working in this mode? Because I need to wake the core every hour to take measurements and daily turning-on the wifi. Actually when operating at normal power down mode (19uA) and connect+TX daily, I get 6,25uAh over the day in average, which is quite good; with a small 250mAh battery I can reach almost a year running (while my minimum is just 1 month), but anyway if I could have a lower consumption it would be way better. Thank you in advance.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Hi! No, the chip is “disabled” when you do not pull the EN pin high. To any internal timers are none functional as well. But, instead of using watch dog timers, you can use a Real Time Clock (RTC) as you are mentioning. It will run for years and can awake your ESP!
@crackrule
@crackrule 4 роки тому
You can use external RTC module or save the data as file in memory.
@mikeharmon8733
@mikeharmon8733 4 роки тому
I'm curios what the pinmode is for GPIO-2. Is it left to it's default value? Should we implicitly define as output or is it input?
@Ed19601
@Ed19601 3 роки тому
depends what you want to do with gpio2. Make it an input or output
@warrenstanley1774
@warrenstanley1774 4 роки тому
Great tutorial! I have been trying it out using an ESP-01. I removed the red power LED to stop that being a power drain, but have still found the current drawn when the chip is disabled to be about 40 microamps. This is about the same as when it is in deep sleep mode. I'm wondering, is there something I am doing wrong? I can't even get it down to the stated 20 microamps, let alone the 2-3 I was hoping for. Is there something else on the ESP-01 PCB that might be drawing current?
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Hi Warren! One possibility is the your ESP has to little/unreliable power - so that it is in a brown out mode. Try having the ESP blink an LED to make sure it is running as expected before going into sleep.
@warrenstanley1774
@warrenstanley1774 4 роки тому
Thanks for the quick reply. Yes I have another ESP-01 I've used for this test. It is running a simple program blinking the LED, then going into deep sleep mode. This one seems to use about 100 microamps, even when removing the tie-up resistor or using it to tie CH_EN to ground.
@encontrandomeyt
@encontrandomeyt 5 місяців тому
@@warrenstanley1774 Hi! Did you fix this?
@brianbouterse
@brianbouterse Рік тому
How do you program an 8266 with this type of wiring? For programming you need to pull GPIO0 and then enable the chip with EN high, but here those two pins are joined by a 1k resistor. How could you pull GPIO0 low while keeping EN high with this design?
@crackrule
@crackrule 4 роки тому
Hello, thank you for your nice guidance, I tried the same circuit diagram. With my ESP-01, but not working. I am not sure where I am making mistake but I am making exact copy as you are. Just not sure which diode you use in this. I am using 1N4007 diode. Can I use that one? Or you want me to use another diode? Thats the only possible thing I guess where I can make a mistake. Please suggest. Thank you such amazing tutorial you laid out. Its really helpful with your step by step guidance.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Hi! Are you using an ESP01 or ESP01s?
@crackrule
@crackrule 4 роки тому
I am using ESP-01s. (black color module with only blue LED)
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Rule Breaker I see. The ESP01s has a built in resistor for en enable pin! So either use an ESP01 or remove the pull up resistor on the board that is located near the LED!
@crackrule
@crackrule 4 роки тому
@@DIYTECHBROS Yes i removed it. But my circuit is not turning ON at all. I tried a lot of ways but not working i have a schematic and circuit diagram as well on easyEDA. If you want i can share the link.
@crackrule
@crackrule 4 роки тому
@@DIYTECHBROS easyeda.com/nehul.splendit/ESP-door-sen-mo here is the link of schematics diagram. And also you can view the PCB design as well. Let me know you are facing the same issue.
@lucasbrenna2
@lucasbrenna2 4 роки тому
Hi, very good job! I wold like to use a magnetic reed switch for my mail-box with wemos d1 v3.0 How do I have to modify the circuit?
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
The circuit is fairly done, it's more important what you do on the Wemos. Make sure no power goes to the programmer or any voltage regulators.
@lucasbrenna2
@lucasbrenna2 4 роки тому
@@DIYTECHBROS thanks for your prompt answer. I tried the circuit with 1 wemos d1 R2 and smoke came out.... So I burn it! I don't know in this circuit, after the diode you go to ch_en pin in the esp-01s where I have to connect this cable in the wemos d1? I also tried with the esp-01s without desoldering the resistor. I use a deep sleep(0) with the magnetic reed switch. The sketch start and go online, send the notification to a mqtt and go to sleep. When I trigger the reed switch, the blue led of the esp-01s go on and stay on but the esp don't go online. I am at the beginning with all this staff! I Just like to have a battey power wemos d1 mini connected to a magnetic reed swith connected to the mail box. When the reed switch trigger, turn on the wemos, pubblish the mqtt topic, go to deep sleep(0). I can Ido it?
@englishrupe01
@englishrupe01 4 роки тому
@@lucasbrenna2 You mean smoke isnt supposed to come out of these? I thought it was just normal, like starting up an engine....! Lol!....
@AnimilesYT
@AnimilesYT Рік тому
I have a temperature sensor connected with I2C. So my GPIO-0 and GPIO-2 are already in use. Does that mean I can't do this?
@chrisblunt7627
@chrisblunt7627 3 роки тому
This is great for long life projects, I am totally new to this and I am trying to help my son use this in his school project but we're struggling to understand what GPIO2 does as the code doesn't set it, is it high by default at power up? I understand GPIO 0 being high to keep the circuit powered even if the switch is opened until the code finishes. TIA.
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Hi! Well, the initial state of the GPIO pins can be a bit unreliable so you need to set it high in the setup!
@chrisblunt7627
@chrisblunt7627 3 роки тому
@@DIYTECHBROS Thanks for the reply, much appreciated.
@songshu576
@songshu576 Рік тому
I'm confused, why is there still a current of 3ma after EN is pulled down?
@meierthomas
@meierthomas 2 роки тому
All these scenarios require a hardware trigger. I'm looking at a battery operated timer based sensor solution (ESP01), ideally utilising ESP-NOW - wakes up 4 times a day to read a sensor and pushes it to an ESP-Now receiver for processing. In power down mode to use the term used in the video - the ESP is no longer operational so can't use a timer or anything else for that matter, right? This means using the ESP-01 I would have to make it work with 20A, right?
@langrock74
@langrock74 2 роки тому
Could you use an external RTC module? Those usually run on a coin cell and have an output that can go high at certain times.
@TheBestClips221
@TheBestClips221 3 роки тому
This is cool, my only problem is that this is only for sending one "notification" and after the board goes to deep sleep, I want to make a window sensor that will send a notification when the window is open and also closed. As I understand this method works only on opening a window let's say. Is there a way to achieve this to send a notification on any state change ?
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Well, you can buy reed switches (magnet sensors) that are both normal open and normal closed at the same time. When the window is open it stays on, but goes into deep sleep. But when closed it goes into deeper deep sleep. You need to read the switch as well as connect it to the EN pin.
@joaosousa3640
@joaosousa3640 3 роки тому
@@DIYTECHBROS Hi, I’m also interested on this that @Alexander221 asked. Can you please detail a bit more since I need to send a message to a mqtt server with the status if opened or closed. For my understanding using the 01 version It will work as design and with the 01S version there is the need to remove the resistor just to reduce the power comsuptiom .
@neteot
@neteot 3 роки тому
Hello, I've made a project a year ago powering an ESP12 with 4 AA in parallel (to not exceed the 3.3V) with that, and with the deep sleep, I manage to run it for almost 5-6 months. My question here is: I see that you need a pull-up resistor again to actually wake up the ESP, but in my scenario, the deep sleep function sleeps for 60 minutes, and then it automatically wakes up, grabs some data, and sends it). Without any external interference, would I able to manage to enable deeper deep sleep? Thank you!
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Hi! Your observations are correct, an external input is needed. This mode shuts down the watchtimer, and it can't wake up by it self. But you can use an RTC :-)
@neteot
@neteot 3 роки тому
@@DIYTECHBROS thank you for answering me. I could add an external RTC... but I don’t know if the difference between having the RTC watch on the ESP or having separately would make much a difference since the RTC will be powered through the same AA batteries. What do you think? What it could be a good idea if to set the deeper deep sleep when you want the ESP to “sleep” more than 72 minutes thou. Imagine you want to sleep for 6 hours, then this could be a good idea. Thank you
@HardcoreMusik
@HardcoreMusik 4 роки тому
I test it with an ESP-07. If i used the GPIO to hold the CH_EN enabled and then set the GPIO to LOW, the ESP not really switched off ! The LED will light a little bit and current is like deepsleep. If i cut the wire from 3,3v to CH_EN by myself, the ESP switched off and current is 0,002mA as you show. Is there a different between ESp-07 and ESP-12 ? It will be the same if u pulldown the CH_EN with a resistor like 47K to GND. Only there is no connection to GND the ESP fully switched off
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Interesting! Try using a different GPIO PIN. It is a guess, but maybe the default state of the PIN can interfere?
@JohnUllrey
@JohnUllrey 2 роки тому
I ran into a problem where I'm using a motion sensor (PIR AM312) on GPIO 0 on an ESP-01 (Black) and it works fine, but doesn't work on an ESP-01S. I think I need to remove the 12K pull-up resistor that is on GPIO 0 on the ESP01-S to make it work. I have been measuring resistance between pins and comparing to each surface mount resistor to identify the right one to remove. As relates to this video, I noticed that I'm measuring 12K Ohms between VCC and the Enable pin, but on the surface mount resistor you indicated I'm only measuring about 1K Ohms. I would have expected them to match, but perhaps there's some other stuff in play that I'm not aware of.
@ClickHappyGames
@ClickHappyGames 2 роки тому
Yes, 01s has internal pullup
@JohnUllrey
@JohnUllrey 2 роки тому
@@ClickHappyGames All I had to do is de-solder the surface mount resister and I was able to use GPIO 0. So I basically turned an ESP-01S into a ESP-01 (black).
@michelfrance75
@michelfrance75 Рік тому
I don't understand. With an ESP8266-01(S), shouldn't a link between GPIO16 and RST be added to the module (use of the timer which continues to operate in standby mode)
@iot_enthusiast
@iot_enthusiast 3 роки тому
Any suggestions/best practices on how to remove the shield ? I tried to insert/desolder at pcb n shield boundaries without much success. Thanks in advance!
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Seems like the metal shield is glued on. I have only removed it once, but a big pair of pliers pinching from the long sides did it for me! Be careful!
@iot_enthusiast
@iot_enthusiast 3 роки тому
@@DIYTECHBROS thanks so much...will give it a try
@lucasbrenna2
@lucasbrenna2 3 роки тому
I am having problem with your example with the esp01s. The resistor that you show in the video is 2k2 and It Is for the led. I think that the 12k resistor between vcc and Chpd Is in the left side. Can you check again?
@pierre-yvesmuller2763
@pierre-yvesmuller2763 6 місяців тому
You are right !! the real position of the pull up resistance that have to be pulled out is located directly byside the pin 7 of the esp266 chip !
@TheRainHarvester
@TheRainHarvester 3 роки тому
Does this require removing the boot loader? (I wire GPIO 0 to ground to run the bootloader upon power on).
@TheRainHarvester
@TheRainHarvester 3 роки тому
Oh I see GPIO 0 is wired to GPIO 2 so GPIO 2 holds GPIO high. So no boot loader will run. (Just keep the switch pressed long enough so the digitalWrite() will execute. ha ha genius. I guess I can't use the pins for much else.
@tinchooyola
@tinchooyola 7 місяців тому
I removed the resistor from my ESP-01s and after removing it I still can measure 12k resistance between CH_PD and VCC :(
@pierre-yvesmuller2763
@pierre-yvesmuller2763 6 місяців тому
You are right !! the real position of the pull up resistance that ave to be pulled out is located directly byside the pin 7 of the esp266 chip !
@StefanoZamprogno
@StefanoZamprogno 3 роки тому
i have removed the resistor you have show for the ESP-01S but i have still the 20uA consumption, i think the resistor near the blue led is for the blue led, since after i have removed it, the led do not work anymore...so where is the pullup resistor for the esp-01S ? thanks !
@lucasbrenna2
@lucasbrenna2 3 роки тому
Hi Stefano, I have the same problem... I think that the resistor is in the left side of the board, I tested with a multimeter and when I touch the resistor the value change.
@pierre-yvesmuller2763
@pierre-yvesmuller2763 6 місяців тому
You are right !! the real position of the pull up resistance that ave to be pulled out is located directly byside the pin 7 of the esp266 chip !@@lucasbrenna2
@boopeshkumarprabhakaran
@boopeshkumarprabhakaran Рік тому
Hi I'm trying to make a door sensor based on esp12f/e and reed switch with battery. how do I use the same concept with reed switch? I'm really excited to know
@jeffbornes3986
@jeffbornes3986 Рік тому
The reed switch will work in place of the switch in this video, on or off. Please note that if you need a NO/NC reed switch you can buy them online. They will three wires instead of 2 wire.
@best3140
@best3140 4 роки тому
I have random stuck after deep sleep. Can you share how to make it stable ?
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
This can be a common problem with the ESP8266 when starting, both ordinary start and waking up from deep sleep (and this deeper deep sleep). It happens if you don't have enough power at the moment of start. When powering up the ESP8266 have power peaks of over 300mA. See this video from Andreas Spiess ukposts.info/have/v-deo/boOVrX-knKqT0Ww.html
@Trivimania
@Trivimania Рік тому
Can you also make the esp8266 go to deep sleep 3microamps for exactly 2 minutes and then let ik, wake up again? Like for a device that needs to send the temperature to a webserver every 2 minutes and in meantime go to deepsleep?
@DIYTECHBROS
@DIYTECHBROS Рік тому
Hi! I would recommend that you store last temp and only update via Wi-Fi if changes are over a X - or every hour if changes are low. And, when you send the data you can then send all read intervals in one go. This will save a lot of power as Wi-Fi uses very much power. But, over to the question, you would need a second device like a TRC or a simple 555 timer, as the ESP would need external interrupt. But this way you will almost never have to worry about power consumption!
@tigransardaryan9298
@tigransardaryan9298 4 роки тому
Hi, would it work with TPL5111 as a timer, which will set high on EN pin ?
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Tigran Sardaryan you can use whatever you like as longe as there is a common ground and a high signal (~1.8-5v).
@Ed19601
@Ed19601 3 роки тому
I understand from Adafruit that the TPL5111 board runs at 20uA. That is quite a lot......but then there are sources that claim it is 35nA........but maybe that is just the bare chip
@tigransardaryan9298
@tigransardaryan9298 3 роки тому
@@Ed19601 TPL5111 itself uses only 35nA, and it's very useful as a timer to wake up main MCU from deep sleep. I have used it with Atmega328p.
@Ed19601
@Ed19601 3 роки тому
@@tigransardaryan9298 ok then maybe adafruit added a lot that consumes current. Might give it a try. Tnx
@HardcoreMusik
@HardcoreMusik 3 роки тому
I try this with an ESP-07. My sketch only switch the LED on. Nothing more. I connected an Attiny85 to CH_EN pin. The Attiny switch CH_EN to low but the ESP will not power off fully. The LED will light a little bit. Why? This will also be if I use an resistor from CH_EN to GND and disconnect Vcc/CH_EN. Only if i pull the wire out, the ESP will fully switched off. And why you use Gpio2 here? Oh I see I wrote here 2 months ago... :-) I made a lot of tests, it will not work like in your video. I try a test with ESP-01 !
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Hi! The ESP01 has a very limited selection of broken out pins. That's why we chose GPIO 2. Is the ATTINY sharing a common GND with the ESP? Else a low signal on the ATTINY will not be an low signal for the ESP.
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Also, make sure you are not using the same pin as the LED is connected to. (Pin10 on some versions).
@kingdavid4463
@kingdavid4463 3 роки тому
Hi there, thank you for sharing this idea, but I still have 2 questions. 1. I understand why you connected RST pin to 3.3V (to avoid floating PIN), but I don't understand why did you use 10k ohm resistor in between, why couldn't you connect RST pin directly to 3.3V and another question is 2. what diode do you recommend to use for this situation, I have never used a diode before so I would appreciate an advice. Thank you in advance!
@DIYTECHBROS
@DIYTECHBROS 3 роки тому
Hi! In general, the idea is to pull the pin high not feet it power. By placing a resistor in between you limit the current. To avoid wasting power and burning the device we always use a pull up. BUT, if 10K is always the best choice is a very different question. Higher current limiting (higher ohm) will save more power. See this link for more input on diodes: startingelectronics.org/beginners/components/diode/
@crushyad2939
@crushyad2939 2 роки тому
no matter what i do, my esp8266 is consuming 80ma while at deep sleep and 145-150ma while its on.
@crackrule
@crackrule 4 роки тому
After doing all the research I am able to get to conclusion that this circuit will be able to work with ESP-01 not ESP-01S. I tried removing the resistor as mentioned in the video from ESP-01S, but seems like the circuit is not working at all. In ESP-01S also after removing that resistor as well there when I was checking through multimeter between EN and VCC the resistor seems to be there . Also with ESP-01 I am able to achieve minimum 10uA not 2-3uA. I tried to remove both the blue and red LED. Red LED reduce the power consumption from 300uA to 20uA after that I remove the resistor for blue LED and I can see current in power down mode as 10uA. I am not sure how you achieve 2-3uA. If you can guide that will be helpful for even general audience.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
Hi Rule Breaker! If you see the video, we are using an ESP-01S. Are you using an adapter to connect it to a bread board? Make sure there are no extra resistors or similar on any adapters.
@crackrule
@crackrule 4 роки тому
​@@DIYTECHBROS Brother I checked many times, same circuit is working on ESP-01 but not ESP-01s. I have also shared a link of schematic diagram @t if you want you can check here as well. If I am wrong somewhere then please suggest.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
@@crackrule That's so strange. Do you have any alternative devices to test it on? Like a different ESP-01 or an ESP 12?
@crackrule
@crackrule 4 роки тому
@@DIYTECHBROS Yes i have ESP-12E and EPS-01 both. I have tested with ESP-01 working at 10uA minimum, tried a lot but not going less then this. So thinking to use any P-Channel MOSFET instead.
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
@@crackrule A quick question, if you are prototyping this on a bread board try to eliminate the breadboard. Also, make sure there are no static interference, like power adaptors ect.
@sergeyzhilin9529
@sergeyzhilin9529 4 роки тому
How to make esp8266 to sleep 24h ? cus its said, it can only sleep for 72minutes. Need to update data once a day
@DIYTECHBROS
@DIYTECHBROS 4 роки тому
+Sergey Zhilin In this deeper deep sleep the chip is in power down mode. It needs external pull up to wake up again.
@gaocongnghechatviet
@gaocongnghechatviet 4 роки тому
you can count and EEPROM this value. When it wake up (72min) check = 23 ? -> +1 or reset count = 0 (72x23time = 1day) . good luck
@exxteban1
@exxteban1 4 роки тому
Esp32? 😁
@jonathanstaples852
@jonathanstaples852 3 роки тому
what i do is unplug the battery and im getting like 0uA !!!
@102diy
@102diy 4 роки тому
Not very suitable... It can be used with triggers-like applications only, not with internal timers (WDT)... and if you want to make temperature sensor for example with periodic data sending- the using of this mode will be impossible... But... Maybe using of external wdt can solve this task...
@TheBodgybrothers
@TheBodgybrothers 2 роки тому
just tried this on an ESP-12F and current is 26uA with enable disconnected. Tried with a few and they all behave the same. Not sure how you got it to 3uA. Also for clarity, their is no internal resistor to VCC on the enable pin on these boards.
@encontrandomeyt
@encontrandomeyt 5 місяців тому
Hi! Did you fix that? Same problem here.
#58 ESP8266 Sensor runs 17 days on a coin cell/transmits data (deep-sleep)
14:11
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Переглядів 8 тис.
Військовослужбовці ЗСУ проводять оповіщення в Полтаві
00:32
My Door Sensor (Revised Design) Breakdown and Upgrades
4:33
MrDIY
Переглядів 22 тис.
#47 Power Saving with ESP8266 (Sleep Mode) Tutorial with some Tricks
12:28
#118 ESP8266 Deep Sleep 💥 and Bare Bones ESP (easy)
34:18
Ralph S Bacon
Переглядів 28 тис.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Переглядів 174 тис.
Китайские тестеры компонентов - какой выбрать?
11:14
Заметки Ардуинщика
Переглядів 279 тис.
Everything you need to know when buying/using an Oscilloscope! EB#49
12:40
inventor aw - This Device is very helpful ,, you can make at home
6:47
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 465 тис.
Changing Replace And Edit Backgrounds New Tech || Photo Eedit NEW3X
0:50
Зачем вы показываете ноутбук в аэропорту?✈️
0:29