BeginnerRule-checked
Raspberry Pi Pico PIR Motion Alarm
Detect movement with an HC-SR501 PIR sensor and flash an LED and sound a buzzer on a Raspberry Pi Pico.
Raspberry Pi Pico · 30 min
Quick answer
| Feature | Raspberry Pi Pico | Raspberry Pi Pico W |
|---|---|---|
| Logic voltage | 3.3 V | 3.3 V |
| 5 V tolerant inputs | No | No |
| Wi-Fi | No | Yes |
| Bluetooth | No | Yes |
| GPIO pins (on this module) | 26 | 26 |
| Analog (ADC) pins | 3 | 3 |
| PWM-capable pins | 26 | 26 |
| I2C pins | Several fixed pin pairs | Several fixed pin pairs |
| Typical price in India | ~₹400 | ~₹650 |
Pin counts are for the exact module in our library (Raspberry Pi Pico; Raspberry Pi Pico W). Prices are typical online prices for clone boards and vary.
Detect movement with an HC-SR501 PIR sensor and flash an LED and sound a buzzer on a Raspberry Pi Pico.
Raspberry Pi Pico · 30 min
Choose the Raspberry Pi Pico W if your project needs Wi-Fi (dashboards, notifications, MQTT, web servers).
Raspberry Pi Pico pins are 3.3 V and not 5 V tolerant. Power the sensor at 3.3 V if it allows, or use a voltage divider or level shifter on signal lines going into the board.