Known Issues - leesm5/Wireless-Bluetooth-Security-System GitHub Wiki

PIR Motion Detector

The PIR takes less than a minute to turn on and be ready for use. You just wait until it is ready to detect motion. This should be noted when using in real world applications.

Timer Adjustment

The PIR has a knob that determines how long it will output high after motion has stopped being detected. It ranges from 3 seconds to 5 minutes. For this project it is set to as low as possible. The 3 seconds of additional high output effects the timer. It does not do anything in this project, but if precision is needed this should be noted.

This could be done by editing one line.

Original:

  t = millis() - previousmillis; 

New:

  t = millis() - previousmillis - 3000; //3000 corresponds to the 3 second of high output after motion stops