   digitalWrite(SETUP_IN_PIN, HIGH);
   digitalWrite(WRK_MODE_IN_PIN, HIGH);
 
-  pinMode(PIR_IN_PIN, INPUT);
+  pinMode(PIR_IN_PIN, INPUT_PULLUP);
 
   // buzzer
   pinMode(BZ_OU_PIN, OUTPUT);
   digitalWrite(BZ_OU_PIN, HIGH);
 
-  delay(3000);
+  delay(2000);
 
   // PIR
   attachInterrupt(0, PIRCHECKING, CHANGE);


  // Timer start
  temp_Mills = millis();

  // ir
  irrecv.enableIRIn();

        default:
          return;
          break;

      }
    }
  } else {
