If you need to keep out unwanted guests from your office, bedroom or private spaces then you may be interested in this awesome Raspberry Pi motion tracking autonomous sentry gun project publish to the Hackster.io website by the team at MertArduino. The autonomous sentry gun is capable of moving and firing when it detects motion in front of it sensor. The project is classed as requiring an advanced skill set and should take roughly 4 hours to complete.
The project uses a Raspberry Pi 3 Model B+ mini PC together with a Stepper Motor HAT, Relay Module and Raspberry Pi camera together with a laser and a few other components. Check out the video below to learn more about the build process and see the final Raspberry Pi sentry gun in action.
“In this video I show you how to build a DIY motion tracking project with a Raspberry Pi 3. The project is autonomous so it moves and fires the gun when it detects motion. I used laser module for this project, but you can easily change modify this build to use a Nerf instead. This project allows you to detect and track a person with OpenCV and then trigger a device (such as a laser or gun).”
If you are interested in learning more about the Raspberry Pi mini PC and some of the operating systems available to create a wide variety of different applications jump over to our Raspberry Pi iOS rundown to help you choose the right operating system for your next project.
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn more.