Pushbutton ON-OFF and Deep-sleep

zavovi
Posts: 10
Joined: Thu Aug 10, 2017 10:21 am

Pushbutton ON-OFF and Deep-sleep

Postby zavovi » Wed May 29, 2019 6:43 am

Hi all,
I know, that this is not only about ESP32, but I am developing on ESP32 and now, I want ON/OFF my device from the one button. I inspired from here: https://macrofab.com/blog/power-control ... electrons/ but I make some modifications. My schematic is here:
PWR-esp32.png
PWR-esp32.png (50.48 KiB) Viewed 2692 times
And now, I have some questions. It is working, when I tried on develop board without TC1263. On the output (M2) was only LED and voltmeter. I saw, when I push button, LED is lightning and when I put the PWR_LATCH to high, then it still lightning until I put the PWR_LATCH to low. I saw on voltmeter 3.7V or zero.

When I put the TC1263 into M2, then it cannot be OFF. I still see 2V on OUT of the TC1263 and on M2 too. Then the ESP32 still restarting.

Please, could you help me?
Have you got any tested schematic for ON-OFF?

The best way it will be a simple modification, because I have it on the PCB now. I have second question, is it possible use my schematic with ESP32 and deep-sleep? I can put the ESP32 into deep-sleep, but I cannot wake up from the button.

Thank you very much!

Who is online

Users browsing this forum: No registered users and 153 guests