Interrupt Pins on WIFI LoRa 32 (V2.1)(433MHz)


I need to find two Pins on the WIFI LoRa 32 (V2.1) Board, that can be attached to an (or two) ISRs. I have already read a few articles, saying any Pin of the ESP32 can be dedicated as an interrupt Pin, but on the one hand we have some Pins already connected to LoRa, OLED and battery-reading, on the other i have also read, that “The interrupt is handled per port, so groups of pins share a single interrupt handler”.
So maybe it’s not useful to use i.e. 34 and 35, as they are on the same Port(3?), and also may affect readings from Pin37 (battery reading).
I tried it with 22 and 35 for the beginning, then tried 36, 38 and also Pin2, always with ext. PullDownResistor. Most of them, seem to work okay, as long i dont send via LoRa. If i add beginPacket and endPacket to my sketch. The interrupt begins to act weird.
That is why i’d first like to know, which pins you would prefer, for using interrupts with buttons.

Update2020-12-21: Filtering out the docs, i think GPIO0,2,17,22,23 and GPI36,38,39 come into consideration (21&37 i’ll leave out for battery reading). Just wondering what the capacitors between 36&37 and 38&39 are for…


I suggest you use the 17 and 22.

"Just wondering what the capacitors between 36&37 and 38&39 are for…"

1 Like

Thank you a lot jason! 17 and 22 seem to work fine :slight_smile: