3.1.2 Filtering and Detection Algorithm Parameters

  • PIR_WARMUP_TIME
    • This parameter sets the PIR warm-up time. This parameter should be adjusted to match the warm-up time needed for the selected PIR sensor in the application.
  • PIR_DETECTION_THRESHOLD
    • This parameter sets the detection threshold of the application. Decreasing this parameter can increase the effective range that the system can detect movement on, but at the same time increase the chance of false detections due to sudden changes in ambient temperatures or other disturbances. Increasing this parameter decreases the range, but the likelihood of false detections will be lower. Setting this parameter too high can result in no detections.
  • PIR_LONG_TERM_FILTER_RANGE
    • This parameter sets the length of the long term filter. Changes to this parameter need to be done carefully while also considering the PIR_SHORT_TERM_FILTER_RANGE and PIR_DETECTION_THRESHOLD parameters. Changes can affect the effective range of the system and increase power consumption.
  • PIR_SHORT_TERM_FILTER_RANGE
    • This parameter sets the length of the short term filter. Changes to this parameter need to be done carefully while also considering the PIR_LONG_TERM_FILTER_RANGE and PIR_DETECTION_THRESHOLD parameters. Changes can affect the effective range of the system and increase power consumption.