YOU’LL NEED
• Pi Pico
• PIR sensor (obstacle sensor)
• Breadboard
• Jumper wires to connect Pico to PIR
• Android device
• Pico-to-Android cable
• Code: tinyurl. com/APC528USB
We’ve all got a spare smartphone lurking in a drawer. Some of these devices will gather dust and then get recycled. But what if we could reuse them?
In this project, we’re reusing an old phone with a Raspberry Pi Pico-powered camera trigger. Using a PIR (passive infrared) sensor, we will detect movement and use that to trigger the camera to take a photo. The Pi Pico is running CircuitPython and is acting as an emulated USB keyboard. Trigger the sensor, and the ‘keyboard’ presses Enter and takes a photo.