![]() ![]() Maybe this experiences are helpful for anyone having a similar use-case to solve. Go down even more.however with 150uA I can accomodate with my target application. Removing them I had issues that the ESP32 was sometimes not booting.so I changed the 4k7 to 22kĪnd the 1k to 10k and now my sleep current is around 150uA. The still soldered CP2102 and also the 4k7 pull-up at the RES-Pin of the CP2102 still flew several hundret uA's. Through the decoupling resistor of 1k between However the CP2102 still consumed several mA - so I cut the Vsup and Vreg to disable the chipĪnd suddenly the current consumption was <1mA. The power consumption during deep sleep with the AMS1117 was in my case indeed around 9 mA. I first wanted to use a bare ESP32 module, however wiring it to a standard 2.54mm pinhole board Here's the code that I use to detect if the OLED_ON-Button was pressed and evaluate later the DummyVarĪnd depending if it was pressed or the ESP32 came out of deepsleep due to another reason I startĭifferent subroutines (one is called "LongOn", the other is called "ShortOn". With more than one button, several RC's will be needed,įor each button the same RC network - and then also the GPIO's to read in the state of the pushbutton. Later on to evaluate which button was pressed. Now when pressing the pushbutton, it reset's the ESP32 and wakes it up manually from deepsleep.Īfter a short moment, the capacitor is fully charged, thus the ESP32 is booting and runningĪt the same time, I readout the GPIO (OLED_ON#state) and store the value in a dummyvar (1 or 0) and use this ![]() The junction point of the pushbutton and the RC is connected also to a GPIO configured as input. The other end of this RC parallel combination is connected to a pushbutton that is connected to GND I connected a 2u2 capacitor (in parallel a 330k resistor) to the EN pin. Well, I found another solution that seems to work on my breadboard for my above use-case: Thank you TD'er and the others for all your hints! Thanks a lot in advance for any suggestions and advice! Or is there another way to solve my described application? In the meantime in ESPEasy to solve my above use-case? different pushbuttons are pressedĪnd shall now be visualized which one was pressed) does not workĪnd does not wake-up the ESP32 from sleeping.ĭoes anybody know if several external wake-up sources like pushbuttons are supported However the external trigger of an event (e.g. The latter use-case I will be able to cover with the timer Sleep awake time/sleep time in the configuration tab of ESPEasy, To Thingspeak and also sent an eMail if the battery is getting low. ![]() Of the external trigger sources (=the pushbutton) are pressed - as mostĪdditionally, periodically I also want to measure the voltage of the batteryĪnd -if I am in coverage range of the configured WiFi APs- send the measurement Thus I'd like to use deepsleep of the ESP32 and wake it up only if one That shall be run on battery power inside our car. I want to use an ESP32 (because I need many GPIO's for several input signalsĪnd some signaling LEDs depending which input signal triggered the event) My application and why I need external wake-up from deepsleep: In one thread (of two years ago) it was mentioned "not yet" - is that still the case? If external wake-up sources are also supported with ESPEasy and an ESP32 I have been spending many hours searching through the forum to findout
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |