add the PIR trigger interrupt by back and front