MES Report - Amritansh
MES Report - Amritansh
Arduino UNO
Submi ed by:
1. Amritansh Singh – 23070521013
2. Aman Shrikhande – 23070521010
3. Ved Bisne- 23070521035
Course: MES
Semester: IV
Submi ed to: Mohankumar Sir
Abstract:
This project aims to develop a basic threat detec on
system using an Arduino UNO, ultrasonic sensor,
buzzer, LED, and servo motor. The objec ve is to
simulate a mini defensive setup that detects an object
within a certain distance and responds accordingly. It is
a compact demonstra on of how microcontrollers can
be u lized in security systems.
1. Introduc on:
Threat detec on systems are vital in numerous fields
including defense, home security, robo cs, and
industrial automa on. 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 (Ac ve)
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 con nuously emits ultrasonic
waves and measures the me it takes for the waves to
bounce back a er hi ng an object. This dura on 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.
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);
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
6. Applica ons:
Used in automated defense mechanisms.
Can be modified for home security alarms.
Educa onal use in understanding sensors and
actuators.
Basis for robo cs obstacle avoidance systems.
7. Conclusion:
This project provided a prac cal understanding of
ultrasonic sensors, microcontroller programming, and
electronic components like buzzers, LEDs, and servo
motors. Though basic, this prototype lays the
founda on for more complex autonomous security or
detec on systems.
8. Future Enhancements:
Integra on with wireless modules for remote alert.
Incorpora on of an LCD display for real- me
distance feedback.
Addi on of a camera or facial recogni on module.
Use of a relay for higher voltage actua on.
9. References:
Arduino official documenta on (www.arduino.cc)
Various online Arduino forums and tutorials