adding a time interval to a PIR sensor

Well, we can't see your code or any details of your project, so suggestions would be "post it".