Final Review - Batch 3
Final Review - Batch 3
Jumper
wires
Software
Requirements
Arduino IDE
Processing
Org
7.System
Design
System
Architetcture
Data Flow
Diagram
UML DIAGRAMS
USE CASE
DIAGRAM
CLASS DIAGRAM
SEQUENCE DIAGRAM
ACTIVITY
DIAGRAM
DEPLOYMENT 10.CONCLUSIO
DIAGRAM
8.Implementati N
11.Future
on
Installation Enhancement
12.Bibliogra
Arduino phy
Code
Processing
Main Code
Function
Explanation
Doppler effect
Time of Flight
(ToF)
9.Testin
g 1.Hardware
TestingAccuracy
2.Sensor
Testing
3. Software
Testing
4.Functionality
Testing
5.Alpha
Testing
6.Beta
Testing
Final Output
Testing
Abstrac
t
Basic Introduction of
Arudino based radar
1. Anuj Dutt radar and components
system
requirements.
Study of
Implementation of radar Srijan
implementation and
3. using ultra sonics sensor Dubey,Supri
collecting outputs of
and arudino ya tiwari
radar using arduino.
PROBLEM
STATEMENT
Disadvantages:
❌ Limited Range
❌ Affected by Ambient Light
❌ Struggles with Transparent & Reflective Objects
❌ Limited Field of View
Circuit
Explanation:
IR Sensor to Arduino:
• VCC (IR sensor) → 5V (Arduino) (Red wire)
• GND (IR sensor) → GND (Arduino) (Black
wire)
• OUT (IR sensor) → Digital Pin 8 (Arduino)
(Yellow wire)
LED Connection:
• LED Anode (Long leg) → Digital Pin 7
(Arduino) (Blue wire)
• LED Cathode (Short leg) → Resistor → GND
(Breadboard to Arduino GND)
Proposed Systems
-RADAR BASED OBJECT DETECTION SYSTEM -USING ULTRASONIC
SENSOR AND ARUDINO UNO BOARD
2. Servo Motor:
• VCC (Red wire) → 5V on Arduino
• GND (Brown/Black) → GND on Arduino
• Signal (Orange/Yellow) → Digital Pin 10
01 02 03 04 05
Terminal Strips:
• These are the main working area where electronic components like resistors,
ICs, and wires are inserted.
• The holes in each vertical column (A–E and F–J) are
electrically connected.
DIP Support:
• The gap in the middle allows for inserting Dual Inline Package (DIP)
components like ICs, keeping their pins separated.
Power Rails:
• The long rows marked with red (+) and blue (–) lines on the sides are used to
supply power to the circuit.
• The red rail is usually for positive voltage (VCC), and the blue for ground
(GND).
Bus Strips:
• These connect the power rails horizontally.
• Useful for distributing power evenly across the board.
Servo
Motor 1.GND (Brown or Black Wire):
• This is the ground connection.
• It should be connected to the GND pin of the
Arduino or power supply.
1.VCC (Red Wire):
• This wire provides power to the servo motor.
• Connect it to the 5V pin on the Arduino or an
external power supply (4.8V to 6V range).
1.Control (Orange or Yellow Wire):
• This is the signal wire used to control the angle
of the servo motor.
• Connect this wire to any PWM pin (like pin 9 or
10) on the Arduino.
1.Arm:
• The plastic white part attached on top is called
the arm or horn.
• It rotates based on the signal received and is
used to move or position objects.
Ultrasonic Sensor Main Components:
1. Transmitter (Left Round Component)
(HC-SR04) • Emits an ultrasonic wave (4 KHz in this case).
• Acts like a speaker sending out a sound pulse.
1. Receiver (Right Round Component)
• Listens for the reflected sound wave.
• Acts like a microphone.
1. Oscillator
• Generates the ultrasonic pulse signal for the
transmitter.
• Provides a stable frequency of 4 KHz.
01 02
User
Use Case
interactions with Show how a user can measure distance or speed
Diagram
system
Structure of
system classes
Class Diagram Define Arduino, Sensor, and Motor interactions
and their
methods
Time-sequenced
Sequence interaction
How Arduino sends and receives sensor data
Diagram between
components
Workflow or
Activity Diagram sequence of Visualize how distance is measured and processed
actions
Physical
Deployment deployment of
Show Arduino connected to sensors and computer
USE CASE
DIAGRAM
✳️Key Elements:
• Classes: Represent software components (e.g.,
Arduino, Sensor, ServoMotor)
• Attributes: Properties (e.g., distance, speed)
• Methods: Operations (e.g., measureDistance(),
rotateServo())
• Relationships: Associations between classes
(e.g., Arduino "uses" Sensor)
Example:
• Class Arduino with attributes and methods to
control sensor and servo
• Class Sensor with method getDistance()
• Class ServoMotor with method rotate()
SEQUENCE
DIAGRAM
A Sequence Diagram models how objects interact in a
particular scenario of a use case, showing the sequence
of messages exchanged.
✳️Key Elements:
• Objects/Actors: Entities involved (e.g., User, Arduino,
Sensor)
• Lifelines: Vertical dashed lines showing their lifetime
• Messages: Arrows representing communication (e.g.,
sendPulse(), getEcho())
Example:
• User triggers start
• Arduino sends a pulse to the sensor
• Sensor sends back echo
• Arduino processes distance and rotates motor
• Arduino sends display command to LCD
ACTIVITY
DIAGRAM
✳️Key Elements:
• Activities: Actions performed (e.g., Start Sensor, Wait for
Echo)
• Decision Nodes: Yes/No decisions (e.g., Is Echo
Received?)
• Start/End Points
• Arrows: Show sequence and flow
Example:
• Start → Initialize variables → Send pulse → Wait for echo
→ Echo back? → Measure distance → Rotate motor/display
result → End
DEPLOYMENT
DIAGRAM
✳️Key Elements:
• Nodes: Hardware devices (e.g., Computer, Arduino,
Ultrasonic Sensor)
• Artifacts: Software components deployed on those nodes
• Communication Paths: Connections between devices
Example:
• Computer runs Arduino IDE
• Arduino board controls sensor and motor
• Display module shows data
• Connections between them shown via communication links
Implementatio
n
Installation:
Formul
a:
Testing
1.Hardware
Testing
Objective: Hardware testing ensures that all physical components of the radar-based
object detection system, including power supply, ultrasonic sensor, servo motor, and
wiring, are properly connected and functioning correctly
Testing Approach:
· Power Supply Testing: Verified that all components
receive stable voltage using a multimeter.
· Ultrasonic Sensor Testing: Measured distance readings
at various angles and object placements.
· Servo Motor Testing: Tested smooth and accurate
rotation between predefined angles (0°, 45°, 90°, 135°,
180°).
· Wiring and Connection Testing: Checked the integrity
of all circuit connections for loose or faulty wires.
· Serial Communication Testing: Ensured correct data
transmission between the Arduino and the Serial
Monitor.
· System Stability Testing: Ran the system for an
extended duration to check for overheating or
performance degradation.
2.Sensor Accuracy
Testing
Objective: Ensure that the ultrasonic sensor provides precise and consistent distance
measurements under different conditions, minimizing errors and false readings.
Testing Approach:
· Distance Calibration Test: Place objects at known
distances (e.g., 10 cm, 20 cm, 50 cm, 100 cm) and
compare measured values with actual distances.
· Material Sensitivity Test: Test the sensor’s
accuracy against different materials (metal,
plastic, wood, fabric) to check if readings vary.
· Angle Variation Test: Measure distances at
different angles (0°, 30°, 45°, 60°, 90°) to evaluate
how sensor positioning affects accuracy.
· Environmental Condition Test: Test the sensor in
different lighting conditions, temperatures, and
humidity levels to ensure stable readings.
· Repetitive Measurement Test: Take multiple
distance readings at the same position to check
for consistency and noise in the data.
3. Software
Testing
Objective: Ensure that the radar-based object detection system's software functions
correctly, processes sensor data accurately, and performs actions based on detection logic
without errors.
Testing Approach:
· Code Compilation & Debugging: Verify that the
Arduino code compiles successfully without syntax
errors or warnings.
· Ultrasonic Sensor Data Processing: Ensure the
sensor correctly reads and processes distance
data.
· Servo Motor Control Logic: Test if the servo motor
moves according to programmed angles.
· Object Detection Algorithm Test: Validate that the
system correctly identifies objects and triggers
appropriate actions.
· Serial Communication Test: Check if the system
sends real-time data correctly to the Serial
Monitor.
4.Functionality
Objective Testing
Ensure that the radar-based object detection system performs all intended
functions correctly, including object detection, distance measurement, servo motor
movement, and data communication.
Testing Approach:
· Object Detection Test: Verify that the
system correctly detects objects within a
predefined range.
· Distance Measurement Test: Compare
measured distances with actual object
distances to ensure accuracy.
· Servo Motor Rotation Test: Check if the
servo motor scans the area correctly by
rotating to defined angles.
· Alert System Test: Ensure that an alert
(buzzer or LED) is triggered when an
object is detected within a critical range.
5.Alpha
Testing
Objective: Alpha testing ensures that the radar-based object detection system functions as
expected in a controlled environment before deployment. It focuses on detecting major issues,
verifying system reliability, and refining performance.
Testing Approach:
· Component Functionality Test: Verify that
each hardware and software component
operates correctly.
· System Integration Test: Ensure smooth
interaction between the ultrasonic sensor,
servo motor, alert system, and Arduino.
· Performance Evaluation: Check the
system's responsiveness, accuracy, and
speed in detecting objects.
· Error Handling Test: Introduce minor
faults (e.g., disconnect sensor, introduce
obstacles) to observe system behavior.
6.Beta
Testing
Objective: Beta testing evaluates the radar-based object detection system in a real-world
environment with actual users to identify bugs, usability issues, and performance gaps before
final deployment.
Testing Approach:
· Field Testing: Deploy the system in
different environments (indoors,
outdoors) to observe real-world
performance.
· User Feedback Collection: Gather
input from testers on system usability,
accuracy, and responsiveness.
· Performance Under Variable
Conditions: Test in different lighting,
temperature, and humidity levels to
ensure stability.
· System Reliability Test: Run the
system continuously for extended
periods to check for crashes or failures.
Final Output
Testing:
The Radar-Based Object Detection System using Arduino Uno and an Ultrasonic
Sensor successfully demonstrates real-time object detection and distance
measurement. The system efficiently scans the surroundings using a servo motor,
detects obstacles using the ultrasonic sensor, and provides visual feedback on an
LCD/OLED display or PC interface. Additionally, an alert mechanism
(buzzer/LED) ensures timely notifications when an object is within a critical range.
Through rigorous testing and optimization, the system has proven to be accurate,
responsive, and reliable for applications in robotics, security systems, automation,
and obstacle detection. The project showcases the potential of low-cost embedded
systems for real-world applications and can be further enhanced with IoT
integration, AI-based detection, or wireless communication for advanced
implementations.
Future Enhancement