Sleep and RTC

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
yomasa
Posts: 2
Joined: Wed Dec 06, 2017 2:21 pm

Sleep and RTC

Post by yomasa » Wed Dec 06, 2017 2:23 pm

Does anyone have any idea when the sleep functions will be implemented?

chrisb2
Posts: 19
Joined: Sat Apr 01, 2017 4:19 am

Re: Sleep and RTC

Post by chrisb2 » Sun Dec 24, 2017 10:54 pm

I have been trying out deepsleep from the pull request https://github.com/micropython/micropyt ... -342372570 by checking out the branch https://github.com/MrSurly/micropython- ... -deepsleep and building the firmware myself. Both deepsleep for a time period and wake from deepsleep on interrupt work as expected.

Chris

jim53
Posts: 1
Joined: Sun Jan 07, 2018 10:54 pm

Re: Sleep and RTC

Post by jim53 » Sun Jan 07, 2018 11:24 pm

Hello,

I new on this forum I have just ordered an ESP32 board and before I receive it, I look for how I can program it.
After reading on the web, I am going to use a Raspberry Pi 3 to flash the firmware on it.
However, I don't know how I can put the ESP32 in deep sleep mode with the RTC in MicroPython. So as this topic speak about that, please could somenone post an code example in MicroPython to understand how to do that.

Thank you for advance.

Post Reply