PIR (Passive Infrared Ray) sensor is used for detecting the motion of a living object. It has three pins VCC,Vout and GND. From this video you can learn how to use PIR sensor with Arduino(with full code & details).
For more details about it go to Github page
Link https://github.com/PabitraKumarGhorai...
//Coding Details//
Link https://github.com/PabitraKumarGhorai...