PIR sensor

Why PIR sensor is giving 0 on output after giving 1? If i move continuously does not stay on 1 it waits a bit and give 0 and then is recording movement again.That 's make the led go on and off and i want the led to stay on when i am moving .


If you want your LED to behave the way you expect, then you have to write the code for that.
Start with adjusting the "time" pot fully anticlockwise (leave the "sens" pot in the middle).
Then the PIR itself turns off the fastest, and you can stretch that 'LED on' time with software.