Without your code and knowing that the PIR is correctly connected, we cannot tell what is happening.
Weedpharma