Project Sentry Gun teaches you to build a gun that “autonomously tracks, aims, and shoots at targets.” All you need is
- An airsoft or paintball gun
- A webcam to find targets
- A computer to process the video feed and aim the gun
- Servo motors to physically aim the gun and squeeze the trigger
- A sturdy tripod base
- A microcontroller to interface between the computer and the servo motors
- Fully open-source code
- Lots of camo paint
See instructions here.