How PIR Sensor Works and How to use PIR motion sensor with Arduino