Here’s how to make a simple Arduino Mega PIR alarm.