Food Living Outside Play Technology Workshop
Easy arduino sentry gun
by Jelmer8 on January 25, 2015
Table of Contents
Easy arduino sentry gun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Intro: Easy arduino sentry gun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 1: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 2: Wiring / Building your project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 3: Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 4: Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
http://www.instructables.com/id/Easy-arduino-sentry-gun/
Intro: Easy arduino sentry gun
This instructable will show you how to make an easy low-cost sentry gun.
Step 1: Parts
For this project you need:
- a breadboard
- 7 jumper cables (male to male)
- Arduino Uno
- HC-SR04 ultrasonic sensor
- sg90 Servo
- Elastic pistol
Step 2: Wiring / Building your project
I do not have any schematic so i will describe the way of wiring:
Servo:
Ground to ground
VCC to 5Volts
Signal to Digital pin 9
Ultrasonic sensor:
Ground to ground
VCC to 5 Volts
Echo to Digital pin 13
Trigger to Digital pin 12.
http://www.instructables.com/id/Easy-arduino-sentry-gun/
Step 3: Code
If you want the code for this project, you can leave your email in the comments and i will send you it.
Step 4: Video
A video of me making the sentry gun:
https://www.youtube.com/watch?v=z9CosAJdVw0&feature=youtu.be
Please subscribe. :)
If there are any questions, you can leave it in the comments.
Related Instructables
Angry Birds Intel Edison IoT: Arduino- GoPro Arduino-Using Arduino HC-
Sentry Gun by Automatic lamp Controlled Self- Ultrasonic shift registers SR04 security
farlei (Relay, HC- Targeting Motion Sensor with ultrasonic alarm by
SR04) by Sentry Mount by HC-SR04 sensors by Arduino Tech
mkarvonen AlexFW controled by MrSirLRD
arduino by
animes25
http://www.instructables.com/id/Easy-arduino-sentry-gun/
Advertisements
Comments
1 comments Add Comment
jsawyer13 says: Jan 25, 2015. 10:42 AM REPLY
I like the idea; but it would help with some more detail.
Just copy and paste your code directly to the 'step' Page.
A hand drawn schematic would work, few of us are artists so don't worry about making it pretty as long as we can all see it.
Then we can all properly appreciate and learn from your hard work. Thanks!
http://www.instructables.com/id/Easy-arduino-sentry-gun/