Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pir sensor wiring for nodemcu esp32
#3
Thank you, a follow up question

I opened the sensor and i see there is a COM and then one NO and one NC connector.

If i connect the COM and NO it works as expected, but if i connect the COM and the NC to the esphome device it behaves exactly the same .... the binary sensor is OFF until motion is detected and then it switches to ON

I would expect the 2 type of connection to be inverse of each other and so if i connect "COM" to ground and "NC" to the GPIO input pin the binary sensor should be ON until motion is detected and then switch to OFF

what am i doing wrong ?
Reply


Messages In This Thread
Pir sensor wiring for nodemcu esp32 - by primeroz - 04-23-2023, 11:42 AM
RE: Pir sensor wiring for nodemcu esp32 - by primeroz - 04-28-2023, 02:10 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)