PIR sensor

If the sensors appear to be unstable, try the following:

  1. Create a simplified sketch (one sensor) which just switches a led when the sensor is actively detecting something.
  2. Power the sensor using the 3.3 volt Uno pin.

to see if that helps. Also experiment with the jumpers on the sensor.