Hi,
I would like to add a power switch to my ESP32 (TTGO T-DISPLAY) instead of using deep sleep. I will be powering it via battery and also USB.
Is that possible at all, by shorting some pin (like we do for resetting), or this needs to be done externally for both the battery and the USB power?
Best,
Francis
Cutting power of ESP32 with a power switch
-
- Posts: 2
- Joined: Sun May 09, 2021 6:09 pm
Re: Cutting power of ESP32 with a power switch
I think this may be what you are looking for?
https://randomnerdtutorials.com/latchin ... 6-arduino/
https://randomnerdtutorials.com/latchin ... 6-arduino/
-
- Posts: 2
- Joined: Sun May 09, 2021 6:09 pm
Re: Cutting power of ESP32 with a power switch
Thanks! But that's not really what I am looking for. This circuit stays between the power source and the ESP32, using the 5V pin to power it. I want to power mine via USB and using the battery via JST connector that is present on the TTGO T-Display. This way I can also charge the battery.alanesq wrote: ↑Mon May 10, 2021 6:48 amI think this may be what you are looking for?
https://randomnerdtutorials.com/latchin ... 6-arduino/
I would like to know if there's a gpio combination that would simply turn the power off.
Who is online
Users browsing this forum: No registered users and 47 guests