I followed chapter 7 of Get Started with MicroPython on Raspberry Pi Pico 2nd Edition to create a burglar alarm.
Pico 2W
Passive Infrared Sensor (1)
LED (1) row 36 on breadboard.
Active buzzer (1) row 48 on breadboard.