PROJECT 20: SENTRY GUN
A SENTRY GUN IS AN UNMANNED WEAPON CAPABLE OF AUTONOMOUSLY SENSING AND FIRING UPON ENEMY TARGETS USING ULTRASONIC DETECTION. IN THIS PROJECT, WE’LL CREATE A MINIATURE VERSION OF THIS GUN.
PARTS REQUIRED
• Arduino board
• Mini breadboard
• Jumper wires
• Male-to-male jumper wires
• Four-pin HC-SR04 ultrasonic sensor
• WLToys RC V959 missile launcher
• Tower Pro SG90 9g servomotor
LIBRARIES REQUIRED
• Servo
• NewPing
HOW IT WORKS
We’ll attach the toy missile launcher and the ultrasonic sensor to a servo arm (see Figure ...
Get Arduino Project Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.