0% found this document useful (0 votes)
15 views

Mine Dectection Blaster

This project presents a basic threat detection system using Arduino UNO, ultrasonic sensor, buzzer, LED, and servo motor to simulate a defensive setup that detects objects within a certain distance. The system triggers alerts through sound and light when an object is detected, demonstrating the application of microcontrollers in security. Future enhancements include wireless integration, LCD displays, and advanced detection features.

Uploaded by

amritanshmin117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Mine Dectection Blaster

This project presents a basic threat detection system using Arduino UNO, ultrasonic sensor, buzzer, LED, and servo motor to simulate a defensive setup that detects objects within a certain distance. The system triggers alerts through sound and light when an object is detected, demonstrating the application of microcontrollers in security. Future enhancements include wireless integration, LCD displays, and advanced detection features.

Uploaded by

amritanshmin117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Title: Threat Detection Device Using

Arduino UNO

Submitted by:
1. Amritansh Singh – 23070521013
2. Aman Shrikhande – 23070521010
3. Ved Bisne- 23070521035

Course: MES
Semester: IV
Submitted to: Mohankumar Sir
Abstract:
This project aims to develop a basic threat detection
system using an Arduino UNO, ultrasonic sensor,
buzzer, LED, and servo motor. The objective is to
simulate a mini defensive setup that detects an object
within a certain distance and responds accordingly. It is
a compact demonstration of how microcontrollers can
be utilized in security systems.

1. Introduction:
Threat detection systems are vital in numerous fields
including defense, home security, robotics, and
industrial automation. This project simulates a basic
model of such a system using simple electronic
components and Arduino IDE for programming. It
detects if an object approaches a specific distance and
triggers a buzzer and LED alert.

2. Components Used:
 Arduino UNO R3
 Ultrasonic Sensor (HC-SR04)
 Buzzer (Active)
 LED
 Jumper wires (male-to-male and male-to-female)
 Small Breadboard
 USB cable for Arduino
 Resistors (1.33 x 10^-3 ohms for LED)

3. Working Principle:
The ultrasonic sensor continuously emits ultrasonic
waves and measures the time it takes for the waves to
bounce back after hitting an object. This duration is
used to calculate the distance. If the object is within a
set threshold (e.g., 20 cm), the Arduino triggers the
buzzer, turns on the red LED, and the servo motor may
be set to rotate as a mock 'launcher' or alarm response.

4. Circuit Connections:
 Ultrasonic Sensor:

It emits ultrasonic waves and calculates the time


taken for the echo to return, allowing it to
measure distances accurately. It is commonly used
in obstacle detection and ranging applications. In
this project, it continuously checks if a target is
within firing range.
o VCC -> 5V on Arduino
o GND -> GND
o TRIG -> Digital Pin 9
o ECHO -> Digital Pin 10
 Buzzer

The buzzer acts as an audible alarm. When the


target is detected at a critical range, the buzzer
sounds to simulate a warning siren or alert tone,
enhancing the interactive and alerting feature of
the system.
o Positive -> Digital Pin 6
o Negative -> GND
 LED:
A red LED is used as a visual indicator. It remains
off when the system is idle and turns on to signal a
threat or active firing mode. It helps to easily
identify the current status of the launcher.
o Anode -> Digital Pin 7 (via 1.33 x 10^-3 ohm
resistor)
o Cathode -> GND

5. Arduino Code:

#define trigPin 9
#define echoPin 10
#define buzzer 6
#define led 7

void setup() {
Serial.begin(9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(buzzer, OUTPUT);
pinMode(led, OUTPUT);
}

void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);

long duration = pulseIn(echoPin, HIGH);


int distance = duration * 0.034 / 2;

Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");

if (distance <= 20 && distance > 0) {


digitalWrite(buzzer, HIGH);
digitalWrite(led, HIGH);
delay(1000);
} else {
digitalWrite(buzzer, LOW);
digitalWrite(led, LOW);
}
delay(1000);
}

6. Applications:
 Used in automated defense mechanisms.
 Can be modified for home security alarms.
 Educational use in understanding sensors and
actuators.
 Basis for robotics obstacle avoidance systems.

7. Conclusion:
This project provided a practical understanding of
ultrasonic sensors, microcontroller programming, and
electronic components like buzzers, LEDs, and servo
motors. Though basic, this prototype lays the
foundation for more complex autonomous security or
detection systems.

8. Future Enhancements:
 Integration with wireless modules for remote alert.
 Incorporation of an LCD display for real-time
distance feedback.
 Addition of a camera or facial recognition module.
 Use of a relay for higher voltage actuation.

9. References:
 Arduino official documentation (www.arduino.cc)
 Various online Arduino forums and tutorials

You might also like