Convert continuous signal of HC-SR501 PIR sensor to a single pulse
You can use a 555 Timer in the mono-stable mode which can give you 1 second pulse from your input of 4-8 seconds.

You can refer this datasheet for helping you construct the mono-stable multi-vibrator :

http://www.ti.com/lit/ds/symlink/lm555.pdf