May 14, 2026
Description
Powered by a Raspberry Pi Zero 2 W, a Raspberry Pi Camera module v2, and an Ultralytics YOLO-based backend, this system actively scans its environment to detect and deter unwanted visitors.
Â
Â
The system continuously monitors the live video stream on the Raspberry Pi. If it detects motion, it immediately sends an image to the external target detection backend. If the backend confirms the presence of a bird, the turret calculates the real-world 3D angles from the 2D pixel coordinates, aims the water gun, and fires a short burst of water.
Â
With a good Wi-Fi connection to your backend server, it can reach response times of about 500ms.
Â
Auto-Recording: Automatically saves video clips whenever motion is detected.
Â
I highly recommend printing these parts in ASA if the turret is exposed to direct sunlight. I initially tried PLA and PETG but experienced warping over time. ASA provides the necessary UV and heat resistance.
Â
I designed the turret to be powered by a 5V powerbank and the watergun's internal baterry. Depending on the capacity, they both need to be recharged every 2-3 days. If you have an outlet nearby, I would recommend powering all components with a suitable power supply.Â
Disclaimer: These models were originally designed for my older printer, which wasn't perfectly calibrated. I haven't printed this exact version on my Bambu Lab printer yet, so I cannot guarantee that the provided models and print profiles will have good tolerances out of the box for you. You might need to do some minor sanding or scale adjustments depending on your machine. Improved print profiles are welcome.
Â
Update 2026-06-08: I uploaded the .f3d files so you can easily make adjustments. Please note I am a CAD beginner, so the files might not be perfectly structured.
Â
You will need to set up both the turret control software on the Raspberry Pi and the AI detection backend on a separate computer/server on your network.
License:
BY-NC-SA