Comments on: MicroPython: ESP8266 Deep Sleep and Wake Up Sources https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 18 Jun 2025 16:07:35 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Vangeles https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-1058770 Wed, 18 Jun 2025 16:07:35 +0000 https://randomnerdtutorials.com/?p=85348#comment-1058770 Thanks for this guide.
Just a comment.
On several tutorials, it’s written that it’s necessary to connect GPIO16 to Reset pin. But take care, there are several kind of ESP8266 and on mine (12F), it’ necessary to connect RST with GPIO16 (SCLK), not with WAKE pin. And, on board, the numbers written are not those with GPIO numbers.

]]>
By: Niels https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-845043 Tue, 04 Jul 2023 08:48:13 +0000 https://randomnerdtutorials.com/?p=85348#comment-845043 Hi. I had problems waking the D1 Mini after deepsleep. It sent the usual gibberish on serial and then stopped. Solution:
station.active(False)
sleep(5)
deep_sleep(10000)

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-806728 Fri, 30 Dec 2022 15:11:02 +0000 https://randomnerdtutorials.com/?p=85348#comment-806728 In reply to Deepak.

Hi.
To wake up your boards from deep sleep using the PIR motion sensor, take a look at deep sleep with external wake up.
Regards,
Sara

]]>
By: Deepak https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-806708 Fri, 30 Dec 2022 14:05:35 +0000 https://randomnerdtutorials.com/?p=85348#comment-806708 Hi Sara,
I am working on ESP8266 for home automation I am trying to connect ESP 8266 with PIR sensor.Already have written the code for the same including Wifi Manager.

Planning to intorduce Deep sleep of Node mCu and wake only when theres an input from PIR sensor. Is there any code for the same.

Thanks in Advance

]]>
By: OSi https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-771436 Wed, 27 Jul 2022 22:39:55 +0000 https://randomnerdtutorials.com/?p=85348#comment-771436 In reply to Timothy Malche.

As far as I know, this sensor uses heating of active measuring surface. This heating is probably dependent on current consumed from power supply. Your GPIO pin propbably does not give you sufficient current. Better solution can be to use some MOSFET controlled by GPIO to attach your directly to 5V power supply. Anyway, this type os sensor probably will not be the best chice for battery powered device due to its relatively large consumption.

]]>
By: Steve Tannenbaum https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-694466 Fri, 05 Nov 2021 19:06:15 +0000 https://randomnerdtutorials.com/?p=85348#comment-694466 In reply to Sara Santos.

Thanks for the prompt response.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-694458 Fri, 05 Nov 2021 18:43:28 +0000 https://randomnerdtutorials.com/?p=85348#comment-694458 In reply to Steve Tannenbaum.

Hi.
Here’s the answer: https://thingpulse.com/max-deep-sleep-for-esp8266/
Regards,
Sara

]]>
By: Steve Tannenbaum https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-694373 Fri, 05 Nov 2021 14:31:04 +0000 https://randomnerdtutorials.com/?p=85348#comment-694373 What is the maximum time in milliseconds that the ESP 8266 can sleep?

Thanks,
Steve

]]>
By: John Franklyn https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-630203 Thu, 17 Jun 2021 19:25:40 +0000 https://randomnerdtutorials.com/?p=85348#comment-630203 the deep sleep mode is working for my esp8266 board now. All I had to do is read all the instructions. Thanks for pointing this out to me

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp8266-deep-sleep-wake-up-sources/#comment-627833 Mon, 14 Jun 2021 09:15:45 +0000 https://randomnerdtutorials.com/?p=85348#comment-627833 In reply to John Franklyn.

Hi.
Don’t forget that to use deep sleep with the ESP8266, after uploading the code, you need to connect GPIO16 (D0) to the RST pin so that the ESP8266 can wake itself up.
Regards,
Sara

]]>