sonar & PIR working