0% found this document useful (0 votes)
11 views13 pages

Final Vehicle Speed Detector

The document presents a proposal for a low-cost vehicle speed detection system using Arduino, aimed at enhancing road safety through real-time speed monitoring and over-speed detection. The system combines hardware and software components, including IR sensors, to provide accurate speed measurements and data logging capabilities. While it offers advantages such as cost-effectiveness and ease of use, it also has limitations like short detection range and environmental sensitivity, with recommendations for improvements outlined.

Uploaded by

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

Final Vehicle Speed Detector

The document presents a proposal for a low-cost vehicle speed detection system using Arduino, aimed at enhancing road safety through real-time speed monitoring and over-speed detection. The system combines hardware and software components, including IR sensors, to provide accurate speed measurements and data logging capabilities. While it offers advantages such as cost-effectiveness and ease of use, it also has limitations like short detection range and environmental sensitivity, with recommendations for improvements outlined.

Uploaded by

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

North Eastern Mindanao Bachelor of Science in Mechanical

State University Engineering

VEHICLE
SPEED
DAELT E
FIN DC TE
EF ONRS E
By:
Sobel, Jennery Brian
Solmia, Reynald
Tino, CristyMae
Toroba, Marie
Ulvida, Gerom
Vito, Florenz
1 Introduction
2

3 Road safety is a critical concern in today's world. To address the increasing risk of accidents
due to speeding, we propose a low-cost, efficient, and reliable vehicle speed detection system
4
using the Arduino platform. This system, built with readily available components, aims to
5
accurately measure vehicle speeds, provide real-time data for traffic monitoring, and potentially
6 assist in speed enforcement. By combining hardware and software elements, including IR sensors
and Arduino programming, we strive to create a practical and educational solution to enhance
7
road safety.
8 Previous research has demonstrated the versatility of Arduino for traffic monitoring
9 applications, including vehicle counting, traffic flow analysis, and basic speed detection. Ni Hlaing
et.al. designed a system that successfully detected vehicle speeds on roads and highways,
10
triggering a camera to capture images of overspeeding vehicles. These studies highlight Arduino's
11
potential as a reliable and cost-effective platform for building efficient speed detection systems.
12
Objectives
1

The objectives of a vehicle speed detector using


2 Arduino Uno include:

3 • Measuring Vehicle Speed- To accurately measure the speed


4 of moving vehicles using sensors like IR sensors.
• Real-Time Monitoring- To provide real-time data about vehicle
5
speeds for immediate analysis or display.
6 • Over-Speed Detection- To detect vehicles exceeding the
speed limit and trigger alarms or notifications as a warning.
7
• Data Logging- To record speed data for further analysis,
8 traffic studies, or law enforcement purposes.
• Cost-Effective Solution- To design a low-cost, efficient
9
alternative to conventional speed detection systems.
10 • Education and Learning- To serve as a practical project for
11
learning about Arduino programming, electronics, and sensor
integration.
12
1 Diagrams and
Codes
2

10

11

12
1
Diagrams and
Codes
2 #include <LiquidCrystal_I2C.h>

3 LiquidCrystal_I2C lcd(0x27,16, 2); // set the LCD address to 0x27 for a 16 chars and 2 line display
int timer1;
int timer2;
4
fl o a t T i m e ;
i n t fl a g 1 = 0 ;
5 i n t fl a g 2 = 0 ;
fl o a t d i s t a n c e = 5 . 0 ;
6 fl o a t s p e e d ;

7 int ir_s1 = A0;


int ir_s2 = A1;

8 int buzzer = 13;


void setup(){
9 pinMode(ir_s1, INPUT);
pinMode(ir_s2, INPUT);
pinMode(buzzer, OUTPUT);
10
lcd.init(); // initialize the lcd
11 lcd.init();
// Print a message to the LCD.
lcd.backlight();
12
1
Diagrams and Codes
2 lcd.clear();
lcd.setCursor(0,0);
3 lcd.print(" WELCOME To My ");
lcd.setCursor(0,1);
lcd.print("YouTube Channel");
4 delay(2000);
lcd.clear();
}
5 void loop() {
if(digitalRead (ir_s1) == LOW && flag1==0){timer1 = millis(); flag1=1;}
6 if(digitalRead (ir_s2) == LOW && flag2==0){timer2 = millis(); flag2=1;}

7 if (flag1==1 && flag2==1){


if(timer1 > timer2){Time = timer1 - timer2;}
8 else if(timer2 > timer1){Time = timer2 - timer1;}
Time=Time/1000;//convert millisecond to second
speed=(distance/Time);//v=d/t
9
speed=speed*3600;//multiply by seconds per hr
speed=speed/1000;//division by meters per Km
10 }
if(speed==0){
11 lcd.setCursor(0, 1);
if(flag1==0 && flag2==0){lcd.print("No car detected");}
12 else{lcd.print("Searching... ");}
1
Diagrams and Codes
}
2
else{
3 lcd.clear();
lcd.setCursor(0, 0);
4 lcd.print("Speed:");
lcd.print(speed,1);
5
lcd.print("Km/Hr ");
lcd.setCursor(0, 1);
6 if(speed > 50){lcd.print(" Over
Speeding "); digitalWrite(buzzer,
7 HIGH);}
else{lcd.print(" Normal Speed "); }
8 delay(3000);
digitalWrite(buzzer, LOW);
9
speed = 0;
10 flag1 = 0;
flag2 = 0;
11 }
1 }
2
1
Advantages
The advantages of using an Arduino Uno-based vehicle speed
2 detector include:
3
• Cost-Eff ectiveness- Arduino Uno is inexpensive compared to commercial
4 speed detection systems, making it an aff ordable solution.
• Customizability- The system can be tailored to specifi c requirements,
5 such as setting diff erent speed thresholds or adding additional features
like data logging or alerts.
6
• Ease of Development- Arduino Uno has a simple programming
environment, making it accessible even for beginners.
7 • Real-Time Monitoring- Provides immediate speed data, which can be
displayed on an LCD or sent to a monitoring system.
8 • Energy Effi ciency- Consumes low power, making it suitable for continuous
operation.
9
• Learning Opportunity-Ideal for educational purposes, helping students
10 and hobbyists learn about electronics, sensors, and programming.
• Support and Community- A large Arduino user community provides
11 extensive support, tutorials, and resources for troubleshooting and
enhancements.
12
1 Dis Advantages
2
The disadvantages of using an Arduino Uno-based vehicle speed
3 detector are:

4 • Short Range- Sensors often have limited detection range, making it


unsuitable for long-distance monitoring.
5
• Environmental Sensitivity- Weather conditions (rain, fog, etc.) can aff ect
6 sensor performance.
• Limited Features- Advanced functionalities like real-time data
7 transmission or vehicle classifi cation are hard to implement.
• Interference Issues- Sensors can be aff ected by obstacles or refl ective
8 surfaces, leading to errors.
• Mounting Challenges- The setup can become bulky and diffi cult to mount
9 on moving vehicles.
• While an Arduino-based speed detector can be an excellent learning tool
10 or budget-friendly solution for simple applications, its limitations in
accuracy, range, power consumption, and complexity make it less
11
suitable for high-performance or commercial-grade vehicle speed
12 detection tasks.
1
Results
2 This portion shows the results of the study:

3
Accurate Speed Measurement:
4 The vehicle speed detector accurately measures the speed of vehicles within
5
the range of the sensors. Results can be displayed in real-time on an LCD or
sent to a database for analysis.
6

7 Over-Speed Detection:
The system successfully identifies vehicles exceeding the predefined speed
8
limit and triggers alerts with the use of buzzer.

9
Ease of Use:
The system is simple to set up and operate, with real-time feedback
10
displayed on an easy-to-read interface.
11

12
Conclusio
1

4
n
The Arduino Uno-based vehicle speed detector is a
5
practical, cost-effective, and efficient solution for
6 monitoring vehicle speeds. It achieves its objectives of
7 real-time speed measurement, over-speed detection, and
ease of use. The system is ideal for small-scale traffic
8
monitoring applications or educational purposes.
9

10

11

12
1 Recommendatio
2

3
n• Increase Detection Range-Implement long-range sensors to
monitor vehicles at greater distances, improving system
4 coverage.
• Integration with IoT- Add vehicle recognition sensor or GSM
5
modules to enable other object to be detected, remote
6 monitoring, and analysis via cloud platforms.
7
• Integration with Law Enforcement- BPair the system with a
camera to capture images of vehicles exceeding speed limits
8
for use in law enforcement or traffic regulation.
9
• Educational Workshops- Use the project as a teaching tool to
introduce students and enthusiasts to Arduino programming,
10 sensor integration, and real-world applications.
• By addressing these recommendations, the system can be
11 further refined to achieve higher accuracy, better
12
performance, and greater usability in diverse scenarios.
1

THANK YOU FOR


5

8
YOUR TIME AND
9 ATTENTION!
10

11

12

You might also like