The IRQ logic output is active low. However, when it's not active, will it output 5V? I'm confused about this. Please review three designs to determine which is correct for using an IRQ with an optocoupler and the ESP32 to read the IRQ signal.
Schematic 1 (Design1) seems correct to me according to the data sheet, but please review it once.



