-
Autor
I recently purchased a shelly 1 to use with my garage door and was pleased that I could power it with 12v DC and use the switch terminal along with the 12v+ to read the state of a magnetic reed relay and see if my garage door was open or shut.
I want to do something similar with a motion PIR sensor that runs on 3.3v, but I've been getting conflicting reports on what pins back there actually connect to. I would imagine that the 3.3v pin is only connected to the 3.3v rail that powers the ESP8266 and I would imagine that the GND likewise is connect to the same GND that the ESP8266 is connected to. I've seen some people claim that the GND is wired to the N or L terminal, but surely not, right? The ESP8266 needs a ground source and that couldn't be connected to L or N without frying it.
My working assumption here is that GPIO-0 is the dangerous pin, but I have zero idea in reality. Can someone confirm exactly which GPIO pins connect directly to the ESP8266 and which ones connect up to O, I, SW, L, or N?