Embedded
Embedded
ECA1431
Submitted by:
S Bhaskar S(192210523)
P Jagadeesh kumar(192210348)
To
Course Faculty
Sathiya M J
Aim: The aim of the project "Object Detection System Using Ultrasonic
Sensors" is to design and develop a system that utilizes an ultrasonic
sensor in conjunction with a servo motor to detect, measure, and display
distances to nearby objects. This system has wide-ranging applications,
including obstacle detection, robotics, and automated monitoring systems.
2. Ultrasonic Sensors:
4. Microcontroller Integration:
Methodology:
2. Circuit Design:
- Rotate the servo motor to specified angles (e.g., 0°, 45°, 90°).
- Measure distances at each angle.
4. System Implementation:
1. Ultrasonic Sensor:
2. Arduino Microcontroller:
3. Servo Motor:
4. Breadboard:
Software Components:
Arduino Code:
```cpp
#include <Servo.h>
#include <NewPing.h>
void setup() {
Serial.begin(9600);
servo.attach(ServoPin);
}
void loop() {
int cm = sonar.ping_cm();
Serial.println(cm);
delay(50);
}
```
- The servo motor’s response was fast and precise, ensuring smooth
operation for real-time scanning.
3. System Reliability: