How To Use Multiple Proximity Senors At The Same Time?

Good point, I didn't read the code that was posted yet, it seemed premature.

But PIR sensors don't detect proximity. They detect warm objects moving in their field of view. They cannot tell you how far away the object is. A large warm object moving far away would be detected the same as a small warm object moving nearby. (I'm explaining this for @countessaflufforossa's benefit, of course.)

1 Like