This PIR sketch detects movement in a room and prints a message to the Serial Monitor as well as sounding a buzzer. The Arduino pin used to drive the buzzer could just as easily drive a LED or a re…