I was wondering if I could use a IR sensor with my Arduino to detect if someone is present in front of it.
Like, the emitter should emit continuously and if the receiver drop connection it should do something.
Will this work fine? or the emitter wide angle and a human body in front of it wont drop the signal?