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.
51 Comments
23 days ago
Please send me the code my email is limasaulogabriel@gmail.com
23 days ago
Hi, I need the code, can you send it to me please? jinxbalder@gmail.com
23 days ago
I need limasaulogabriel@gmail.com
3 months ago
Hello, could you please send me the code?
This is my email torresraul731@gmail.com
1 year ago
QUERO O CODIGO TAMBEM
1 year ago
Send me please! Email: leonardosmarques@rede.ulbra.br
3 years ago
the code please
4 years ago
I need the code . Thanks
Question 5 years ago on Step 3
What's the use of ultrasonic sensor and the Bluetooth?
Answer 4 years ago
sorry for the late reply. The US sensor allows the Arduino to produce an idea of its surroundings. You can almost compare them to the "eyes" of the sentry. With Bluetooth, i assume it allows you to control it wirelessly.
5 years ago on Step 3
Please send me the code to nrlsknh1997@gmail.com
6 years ago
sanjeeb97@gmail.com
6 years ago
please send me the code for the afore mentioned sentry gun
email: eva04032575@gmail.com
Thanks!
6 years ago
please send me the code for the afore mentioned sentry gun
email: scratchndentplayzmc@gmail.com
7 years ago
sir i want code so plz send me the code
Reply 6 years ago
dude u need to put your email
7 years ago
please send code, thank you for your hard work!
mrcoryrussell@gmail.com
7 years ago
Want the code as soon as possible!!please!!
Blackjack250198@gmail.com
7 years ago
Dear Sir,
Please send the sentry gun code for arduino to the below mentioned emil-id
murali.srirannaidu@gmail.com
Thanks & regards
MURALI
+919141937225
7 years ago
Hello:
Can you please send me the code. Thanks
leona6799@gmail.com