Easy Arduino Sentry Gun

3,717

26

42

Introduction: 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.

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.

Share

    Recommendations

    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest
    • Water Contest

      Water Contest

    42 Discussions

    sanjeeb97@gmail.com

    please send me the code for the afore mentioned sentry gun

    email: eva04032575@gmail.com

    Thanks!

    please send me the code for the afore mentioned sentry gun

    email: scratchndentplayzmc@gmail.com

    0
    None
    AnupH

    2 years ago

    sir i want code so plz send me the code

    1 reply

    please send code, thank you for your hard work!

    mrcoryrussell@gmail.com

    Want the code as soon as possible!!please!!

    Blackjack250198@gmail.com

    Dear Sir,

    Please send the sentry gun code for arduino to the below mentioned emil-id

    murali.srirannaidu@gmail.com

    Thanks & regards

    MURALI

    +919141937225

    0
    None
    TzuyuL

    2 years ago

    Hello:

    Can you please send me the code. Thanks

    leona6799@gmail.com

    Need the code asap

    tcbfighter@gmail.com

    Thanks in advance(I hope)

    wasuntra34@gmail.com
    Thank you

    luigimangione320@gmail.com

    this is my mail, can you send me the code, please?

    2 replies

    Dont know if I still have it, Im going to look tomorrow for it

    Did you find it? I really need it

    xcpex.shin@gmail.com

    Hi Sir, can you please send me the code. Thank you in advance.

    1 reply

    Do you have the code? Can you send it to me? luigimangione320@gmail.com

    Sir plzzzzz send me code of this project... ( easy arduino sentry gun)
    Email- viveknigam420@gmail.com
    Its urgent sir

    1 reply

    Do you have the code? Can you send it to me? luigimangione320@gmail.com