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:


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.

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:


Please subscribe. :)

If there are any questions, you can leave it in the comments.

<p>please send me the code for the afore mentioned sentry gun</p><p>email: eva04032575@gmail.com</p><p>Thanks!</p>
<p>please send me the code for the afore mentioned sentry gun </p><p>email: scratchndentplayzmc@gmail.com</p>
<p>sir i want code so plz send me the code</p>
<p>dude u need to put your email</p>
<p>please send code, thank you for your hard work!</p><p>mrcoryrussell@gmail.com</p>
Want the code as soon as possible!!please!!<br><br>Blackjack250198@gmail.com
<p>Dear Sir,</p><p>Please send the sentry gun code for arduino to the below mentioned emil-id</p><p>murali.srirannaidu@gmail.com</p><p>Thanks &amp; regards</p><p>MURALI</p><p>+919141937225</p>
<p>Hello:</p><p>Can you please send me the code. Thanks</p><p>leona6799@gmail.com</p>
<p>Need the code asap </p><p>tcbfighter@gmail.com</p><p>Thanks in advance(I hope)</p>
<p>wasuntra34@gmail.com<br>Thank you</p>
luigimangione320@gmail.com<br><br>this is my mail, can you send me the code, please?
Dont know if I still have it, Im going to look tomorrow for it
<p>Did you find it? I really need it </p>
<p>xcpex.shin@gmail.com</p><p>Hi Sir, can you please send me the code. Thank you in advance.</p>
<p>Do you have the code? Can you send it to me? luigimangione320@gmail.com</p>
Sir plzzzzz send me code of this project... ( easy arduino sentry gun)<br>Email- viveknigam420@gmail.com<br>Its urgent sir
<p>Do you have the code? Can you send it to me? luigimangione320@gmail.com</p>
<p>Hi, </p><p>can you please send me the code. tnx</p>
<p>how long would it take to get the code? </p><p>Email: mghoraishi@yahoo.com</p>
<p>hello can you please send me the code.</p>
<p>liamglenister11@gmail.com</p><p>can you please send me the code. Have you posted any more Arduino projects since this?</p>
<p>zohdizainir@gmail.com</p><p>ASAP for coding please</p>
<p>okantel34@gmail.com</p><p>Wery well project bro.Anymore i will fallow you :)</p>
<p><a href="https://www.google.com/settings/u/0/personalinfo" rel="nofollow">alda.edva@gmail.com</a> PLEASEEE CODEEE PLEASEEE</p><p>please can you give me code to this project</p><p></p>
<p>plz send code ASAP</p><p>this is for a school project</p><p>would be greatly appreciated</p><p>thanks in advance</p><p>email: <a href="mailto:xlau101@gmail.com" rel="nofollow">xlau101@gmail.com</a> </p><p>or <a href="mailto:dominusprime2423@hotmail.com" rel="nofollow">dominusprime2423@hotmail.com</a> </p>
<p>need code plz ASAP</p><p>email <a href="mailto:deeznutz42069ohyah@hotmail.com" rel="nofollow">deeznutz42069ohyah@hotmail.com</a> </p><p>thx a lot </p>
<p>email ^^ is incorrect </p><p><a href="mailto:deeznutz42069ohyah@gmail.com" rel="nofollow">deeznutz42069ohyah@gmail.com</a></p><p>need asap plz thx </p><p>sorry about the email, its only used for this project lol </p><p>its legit first thing that came to mind</p>
<p>send cod please</p><p>mason.fitzpatrick@gmail.com</p>
<p>did he send u the code??</p>
Send me code ankitjust35@gmail.com
Amazing project plz send me code
hi, <br>can you give me your mail so i can send the code?<br>
Amazing project
<p>Can I get the code I'm currently new to Arduino</p><p>haoze07@gmail.com</p>
<p>great project,can you send your code to technocolorsky@gmail.com, i want mount pan and tilt servos to this project</p>
<p>i want code </p><p>ahmad28x@gmail.com</p>
I like the idea; but it would help with some more detail. <br>Just copy and paste your code directly to the 'step' Page. <br>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. <br>Then we can all properly appreciate and learn from your hard work. Thanks!

About This Instructable




More by Jelmer8:Easy arduino sentry gun Easy bluetooth Sumobot 
Add instructable to: