IJSRD - International Journal for Scientific Research & Development| Vol.
9, Issue 6, 2021 | ISSN (online): 2321-0613
Accident Prevention Road Safety Model with Light Control
Surya Prakash Singh1 Deependra Godara2 Maheshwar Sambyal3 Ms.Harpreet Kaur Channi4
1,2,3,4
Department of Electrical Engineering
1,2,3,4
Chandigarh University, Mohali, Punjab, India
Abstract— Purpose of this Project is to Develop of an
Accident Prevention Road Safety for hill Station that uses the
Arduino Uno as a main Function of design. The Principle
objective of this Project was to design a Safety Road control
by Arduino Uno and IR Sensors. This project deals to develop
a prototype of Safety Road that function automatically Work
by using Arduino and IR Sensor Besides that, the interfacing
program also had been developed for the integration part. The
operation using Arduino Uno (ATMEGA328) that integrated
with other circuits involved such as power supply or Solar
System , IR sensor, signal light and buzzer and Street light .
All the circuits will be combining to demonstrate the Fig. 1: Arduino uno
operation of Arduino Uno (ATMEGA328).This system will B. IR Sensor
make improvement towards the manually operation before
this. Human supervision will be considered if there are An infrared (IR) sensor is an electronic device that measures
problems occurred while this system was operated. and detects infrared radiation in its surrounding environment
as shown in figure 2. When an object comes close to the
Keywords: Arduino Uno, IR Sensors, Human supervision, sensor, the infrared light from the LED reflects off of the
Solar System object and is detected by the receiver.
I. INTRODUCTION
The Accident Prevention Road Safety Model and Automatic
Street light have been designed to avoid accidents on the hill
Station. Because one way roads and sharp end are found at
hill station. This is most likely to be an accident prone area so
we have designed a Safety model to Avoid Accidents in hilly
region. Where we have used traffic lights for signal which
will guide us to the right and safe directions and we have
designed Automatic Street lights which will automatically
turns light ON after sunset and to make our project
environment friendly we will connect all the circuits with
solar panel.
Description of Equipment Fig. 2: IR Sensor
1) Arduino Uno IR sensors are now widely used in motion detectors,
2) IR Sensors Pair which are used in building services to switch on lamps or in
3) LED alarm systems to detect unwelcome guests. In a defined angle
4) LDR range, the sensor elements detect the heat radiation
5) Buzzer (infrared radiation) that changes over time and space due to
6) 9volt Power Supply the movement of people.Table 1 shows the pin description
A. Arduino UNO Pin Name Description
The Arduino UNO is a microcontroller. It has 14 digital VCC Power Supply Input
input/output pins (of which 6 can be used as PWM outputs), GND Power Supply Ground
6 analog inputs, a 16 MHz crystal oscillator, a USB OUT Active High Output
connection, a power jack, an ICSP header, and a reset button Table 1: Pin Description
as shown in figure 1. It contains everything needed to support C. LED
the microcontroller; simply connect it to a computer with a
An LED is an electronic device that emits light when an
USB cable or power it with a AC-to-DC adapter or battery to
electrical current is passed through it. LEDs are commonly
get started. The Uno differs from all preceding boards in that
used for indicator lights (such as power on/off lights) on
it does not use the FTDI USB-to-serial driver chip. Instead, it
electronic devices as shown in figure 3.
features the Atmega8U2 programmed as a USB-to-serial
converter. "Uno" means one in Italian and is named to mark
the upcoming release of Arduino 1.0. The Uno and version1.0
will be the reference versions of Arduino, moving forward.
The Uno is the latest in a series of USB Arduino boards, and
the reference model for the Arduino platform.
All rights reserved by www.ijsrd.com 209
Accident Prevention Road Safety Model with Light Control
(IJSRD/Vol. 9/Issue 06/2021/047)
II. SOFTWARE
Arduino IDE is used to develop the prototype of the software.
Arduino IDE is available at official website of Arduino as
shown in figure 6. This is open source. So any one can
develop anything according to their choose.
Fig. 3 LED
Made popular by their efficiency, range of color, and
long lifespan, LED lights are ideal for numerous applications
including night lighting, art lighting, and outdoor lighting.
These lights are also commonly used in electronics and
automotive industries, and for signage, along with many other
uses.
D. LDR (Light Dependent Resistance)
Fig. 6: Official website of Arduino
The LDR Sensor Module is used to detect the presence of
light / measuring the intensity of light as shown in figure 4. A. Working Principle of Accident prevention road safety
The output of the module goes high in the presence of light We have to add the two sensors in our project because what
and it becomes low in the absence of light. The sensitivity of happens in hilly areas .there is one way road to the hilly areas
the signal detection can be adjusted using potentiometer. and rounding .where the chances of getting an accident are
very high because nothing is seen on the other side .that’s why
we have installed sensors and lights (Red light, Green light,
Buzzer) here as shown in figure 7.Green light on means that
there is no one in front of these sensors or Corner, then the
vehicle can go comfortably .If a car goes from one corner to
another corner the sensor will be activated and the red light
and buzzer will be turned on at the another corner, so that the
vehicle will go on carefully or stop. If a car goes from another
corner to one corner the sensor will be activated and red light
and buzzer will be turned on at other corner, so that the
vehicle can go on carefully or stop. If the vehicles are coming
from both corners the sensor will be activated and red light
and buzzer will be turned on at the both sided in this case a
corner vehicle will have to go back so that another vehicle
Fig. 4: LDR can pass easily and avoid accidents.
1 VCC +5 v power supply Input Pin
2 GND Ground (-) power supply Input Pin
3 OUTPUT Digital Output Pin, Analog Output Pin
E. Buzzer
A buzzer is an audio signaling device, which may be
mechanical, electromechanical, or piezoelectric as shown in
figure 5. Typical uses of buzzer include alarm device, timer,
and confirmation of user input such as a mouse click or
keystroke.
Fig. 7: Accident prevention road safety
III. CODE
constintIR_Sensor=7;
constint IR_Sensor1=8;
int red =5;
int green =6;
int buzzer=9;
Fig. 5: Buzzer int red1 =4;
int green1 =3;
All rights reserved by www.ijsrd.com 210
Accident Prevention Road Safety Model with Light Control
(IJSRD/Vol. 9/Issue 06/2021/047)
int buzzer1= 10; 6) Vehicle monitoring systems can be implemented easily.
void setup() { 7) Help in preventing animal lives also.
pinMode(IR_Sensor,INPUT);
pinMode(IR_Sensor1,INPUT); V. CONCLUSION
pinMode(red, OUTPUT); The purpose of this project is to decrease the number of
pinMode(green, OUTPUT); accidents in curve roads. This is done by alerting the driver
pinMode(buzzer,OUTPUT); by means of buzzer when vehicle comes from the other side
pinMode ( red1 , OUTPUT ); of the curve. The vehicle is detected by the help of IR sensor
pinMode ( green1 , OUTPUT ); which is interfaced to the microcontroller Arduino UNO. By
pinMode(buzzer1,OUTPUT); this we can save thousands of lives in the curve roads.
Serial.begin(9600);
}
VI. FUTURE WORK
void loop() {
if((digitalRead(IR_Sensor)==LOW)&& 1) Arrangements to protect the sensor from being damaged
(digitalRead(IR_Sensor1)==LOW)) //Check the sensor in critical places.
output 2) Decrease the size of unit so that it occupies small place
{ and easily kept in narrow roads.
digitalWrite(red, LOW); 3) Implementing the system to detect number of vehicles
digitalWrite(green, HIGH); and velocity of vehicle.
digitalWrite ( red1 , LOW);
digitalWrite( green1 , HIGH); REFERENCES
} [1] https://nevonprojects.com/smart-road-safety-and-
else if((digitalRead(IR_Sensor)==HIGH)&& vehicle-accident-prevention-system-for-mountain-
(digitalRead(IR_Sensor1)==LOW)) roads/
{ [2] https://www.arduino.cc/
digitalWrite(red, HIGH); [3] https://en.wikipedia.org/wiki/Arduino
digitalWrite(green, LOW); [4] http://niti.gov.in/sustainable-development-indian-
digitalWrite(buzzer,HIGH); himalayan-region
digitalWrite ( red1 , LOW); [5] https://en.wikipedia.org/wiki/Sensor
digitalWrite( green1 ,HIGH); [6] https://github.com/
digitalWrite(buzzer1,LOW); [7] https://www.merriam-webster.com/dictionary/buzzer
} [8] https://www.fierceelectronics.com/sensors/what-ir-
else if((digitalRead(IR_Sensor)==LOW)&& sensor
(digitalRead(IR_Sensor1)==HIGH)) [9] https://www.electronics-tutorials.ws/io/io_4.html
{ [10] Jessen Joseph Leo., R. Monisha.,et.al. : Vehicle
digitalWrite(red, LOW); movement control and accident avoidance in hilly track,
digitalWrite(green, HIGH); IEEE Int. Conf. on Electronics and Communication
digitalWrite(buzzer,LOW); Systems (ICECS).pp. 1-5(2014)
digitalWrite ( red1 , HIGH); [11] Ashutha K., Shetty Arpitha., et. al "Novel wireless data
digitalWrite( green1 , LOW); communication for fisherman", International journal of
digitalWrite(buzzer1,HIGH); computer science and mobile computing (IJCSMC),Vol.
} 5, Issue 4, pp. 511- 517, April 2016.
else if((digitalRead(IR_Sensor)==HIGH)&&
(digitalRead(IR_Sensor1)==HIGH))
{
digitalWrite(red, HIGH);
digitalWrite(green, LOW);
digitalWrite(buzzer,HIGH);
digitalWrite ( red1 , HIGH);
digitalWrite( green1 , LOW);
digitalWrite(buzzer1,HIGH);
}
IV. ADVANTAGES
1) Avoid accidents in curve roads mountains roads and hill
roads.
2) Saves thousands of lives.
3) Easily implementable to the existing roads.
4) Fully automated (No person is required to operate).
5) Installation cost is very less.
All rights reserved by www.ijsrd.com 211