Search found 6 matches

by sergei.nz
Sun Oct 17, 2021 12:09 am
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

Re: ESP32: get which EXT1 pin caused wake

@sergei.nz I can provide to you a firmware image with the little addition I've posted. Just tell me, which board you have, ESP32 GENERIC or GENERIC_SPIRAM. Thanks for the offer! Really appreciate it, although at this stage my hardware work around is in place (I just need to tweak my logic a bit). I...
by sergei.nz
Sat Oct 16, 2021 6:08 am
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

Re: ESP32: get which EXT1 pin caused wake

I have finished the 74HC14 high/leading edge de-bouncer/delay board with great results. Thanks for the suggestion! The idle current is around 40uA (due to pull up resistors), which is acceptable for this particular application. Here it is: High side Schmidt delay debouncer board sm.jpg High side Sch...
by sergei.nz
Fri Oct 15, 2021 7:37 pm
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

Re: ESP32: get which EXT1 pin caused wake

As the Espressif API provides a call to find out the wakeup sources, there is no reason I can imagine (besides the ultra-slow process to get ESP32 related changes into the micropython main line) why micropython can't have support for finding out the wakeup sources. See https://docs.espressif.com/pr...
by sergei.nz
Fri Oct 15, 2021 8:06 am
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

Re: ESP32: get which EXT1 pin caused wake

The other thing that occurred to me but perhaps a bit clunky ... could you save which pin caused the wakeup as per the link and on boot have a look at what is in the file? That method does not work as the signal goes away before I could get value of the pin (boot takes few seconds). I have tried to...
by sergei.nz
Fri Oct 15, 2021 6:06 am
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

Re: ESP32: get which EXT1 pin caused wake

It looks like there is no such mechanism in micropython: https://github.com/micropython/micropython/issues/6981 I am trying various ways with hardware to do such thing. Three options: 1) use transistors in a simple delay circuit. This works great except the output slowly drops as it follows RC circu...
by sergei.nz
Fri Oct 15, 2021 4:15 am
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71312

ESP32: get which EXT1 pin caused wake

Is it possible to detect which pin caused the ESP32 to wake from deepsleep when using EXT1 trigger? My issue is that by the time the board boots the pin goes low thus no way to figure out which pin triggered. I guess I could use the EXT0 with EXT1 to split between two pins (I assume it is possible?)...