https://embetronicx.com/tutorials/microcontrollers/lpc2148/pir-sensor-interfacing-lpc2148/
PIR Sensor Interfacing with LPC2148