Cat flap prey detector
A Pi 5 locks the cat flap when the cat brings prey home.

By fl2o (GitHub repository owner)
- GitHub stars
- 55 (GitHub)
Build sheet
- Board
- Raspberry Pi 5
- Other parts
- Pi Camera 3 (night vision), RFID module + relay
- AI model or service
- YOLO (fine-tuned) object detection
- Difficulty
- Advanced
Overview
Pi 5 + Pi Camera 3 watch a cat flap; a fine-tuned YOLO model spots prey in the cat's mouth and a relay-driven 134.2 kHz RFID jammer keeps the flap locked, then sends an alert.
How it works
Pi Camera 3 watches the flap; a fine-tuned YOLO model spots prey in the cat's mouth and a relay-driven RFID jammer keeps the flap locked, then sends an alert.
Hardware
- Raspberry Pi 5
- Pi Camera 3 (night vision)
- RFID module + relay
Like this build? Get the weekly builds
Get the best new AI hardware builds every Thursday. One email a week, free.
Built something? Submit a build
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/catflap-prey-detector/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/catflap-prey-detector/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 6 in Garden, Pets & Wildlife
Pi 5 Hailo bird cam
YOLOv8 + BioCLIP at about 22 FPS on a Pi.
- Raspberry Pi 5
- Hailo-8 AI HAT+
- camera
Intermediate
Mini AI wildlife monitor
The Raspberry Pi AI Camera, pointed at backyard wildlife.
- Raspberry Pi
- Raspberry Pi AI Camera (IMX500)
Beginner91Real-life BMO
An Adventure Time BMO on a Raspberry Pi 5 that sees and talks.
- Raspberry Pi 5
- camera
- display
- +1 more
Intermediate33