PIR modules have a 3-pin connection at the side or bottom. The pinout may vary between modules so triple-check the pinout! It's often silkscreened on right next to the connection (at least, ours is!) One pin will be ground, another will be signal and the final one will be power. Power is usually 3-5VDC input.
When object comes in detecting area it will return 1 from output pin otherwise it return 0.
As we all know that Now Days Python is growing faster in term of most loved programming language for Internet of things, Machine Learning , Data Science, Web application and AI. Learn Python step by step with iotwebplanet.com.
NodeMCU is an open source IoT platform. It is based less than $3 WI-FI MCU ESP8266 integrated and esay to prototyping development kit. NodeMCU provide the best platform for IOT application development at the lowest cost. You can purchase it from IOTWEBPLANET.COM.