Newbie stuck with pir sensor

OldSteve:
Don't forget to have your program wait for at least 40 seconds on powerup for the PIR detector to calibrate, or you will get false triggers.
(I had said more, but was mistaken so deleted it. :slight_smile: )

YUP thanks!! currently set to 40 seconds to let sensor prepare itself.