Professional Documents
Culture Documents
R.Pavithra 18091A04D5
T.Sai Charishma 18091A04G2
L.Sridhar Yadav 18091A04K3
S.Akbar Basha 18091A0406
(ESTD -1995)
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
RAJEEV GANDHI MEMORIAL COLLEGE OF ENGINEERING
& TECHNOLOGY
(AUTONOMOUS)
Affiliated to J.N.T.U.A – Anantapuramu, Approved by A.I.C.T.E., New Delhi,
Accredited By N.B.A & NAAC with ‘A+’ Grade – New Delhi
NANDYAL – 518501, Kurnool Dist. A.P.
Year:2021-22
RAJEEV GANDHI MEMORIAL COLLEGE OF
ENGINEERING &TECHNOLOGY
(AUTONOMOUS)
Affiliated to J.N.T.U.A – Anantapuramu, Approved by A.I.C.T.E.,
New Delhi, Accredited By N.B.A & NAAC with ‘A+’ Grade – New
Delhi NANDYAL – 518501, Kurnool Dist. A.P.
(E STD–1995)
CERTIFICATE
This is to certify that the dissertation entitled “ IOT FRAMEWORK FOR
MONITERING THE CONDITION OF THE ROADS ” that is being
submitted by R. PAVITHRA (18091A04D5), T. SAI CHARISHMA
(18091A04G2), L. SRIDHAR YADAV (18091A04K3), S. AKBAR BASHA
(18091A0406) is under the guidance of DR. P. V. GOPI KRISHNA RAO,
Professor ECE department, for Mini Project of the award of B. Tech Degree in
ELECTRONICS AND COMMUNICATION ENGINEERING in the RAJEEV
GANDHI MEMORIAL COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous), Nandyal (Affiliated to J.N.T.U.A, Anantapuramu) is a record
of Bonafide work carried out by them under our guidance and supervision
We hereby declare that the work done in this project titled “ IoT Framework
for Monitoring the Condition of the Roads ” submitted towards completion
of mini project in IV Year I Semester of B. Tech (ECE) at the Rajeev Gandhi
Memorial College of Engineering & Technology (Autonomous), Nandyal. It is
an authentic record our original work done under the guidance of Dr. P.V.
GOPI KRISHNA RAO Ph.D, MISOI, MIAENG, Professor, Dept. of ECE,
RGMCET, Nandyal. We have not submitted the matter embodied in this
project for the award of any other Degree in any other degree in any other
institutions.
By:
R.Pavithra (18091a04d5)
Place: Nandyal
Date:
ACKNOWLEDGMENT
Finally, we extend our sincere thanks to all the Staff Members of ECE
Department who have co-operated and encouraged us in making our project
successful.
Whatever one does, whatever one achieves, the first credit goes to the Parents
be it not for their love and affection, nothing would have been responsible. We see in
every good happens to us their love and blessings.
SUBMITTED BY
R.Pavithra (18091a04d5)
With this regard, the project is aimed to construct a system that detects
uneven roads and alert the respective government authorities. Here, we can use
IoT model to detect the road surface irregularities, which could change the way
government agencies monitor and plan for road maintenance. A vehicle gets
affected by more vibrations when passing over any irregular road surface rather
than over a smooth one. With this vibration-based approach, road surface
irregularities can be detected and informed to the respective authorities.
By this way we can detect irregularities on road surfaces and can reduce
them by informing to the respective authorities to reduce the fatal accidents and
increase the smooth and safe road infrastructure to road users.
IoT framework for monitoring the condition of the Roads
CONTENTS
TOPICS Page No
CHAPTER -1
1. INTRODUCTION 5-6
1.1 Introduction 5
1.2 Block Diagram 6
CHAPTER -2
2. DESCRIPTION OF HARDWARE COMPONENTS 7-22
2.5 Battery 20
CHAPTER -3
CHAPTER -4
4.4 Advantages 36
4.5 Applications 36
CHAPTER -5
REFERENCES 38
LIST OF FIGURES
2.3.1 GPS 16
2.5.1 Battery 20
LIST OF TABLES
CHAPTER -1
INTRODUCTION
1.1 Introduction
India is a fastest developing country after China. Although India is
doing exceptionally well in certain field, they majorly lack in road ways.
Roads are the dominant means of transportation in India today. However
roads here are narrow and congested with poor quality and is not maintained
properly. This road condition is a boosting factor for traffic congestion and
number of road accidents. To overcome this pathetic condition many
technologies have been implemented and integrated with road safety.
Information gathering is the first step in IoT. Then the information sensed
are transferred to the next level of processing. For this they either require Wi-
Fi or WAN for communication.
and records, indicates or otherwise response to it. In simple words they are
used to detect events or changes in environment and send it to a controller.
GSM module sends the location of the uneven road detected by the sensors
using GPS module to the respective authorities.
Vibrations
Mobile
GPS
CHAPTER-2
DESCRIPTION OF HARDWARE COMPONENTS
"Uno" means one in Italian and was chosen to mark the release
of Arduino Software (IDE) 1.0. The Uno board and version 1.0 of
Arduino Software (IDE) were the reference versions of Arduino, now
evolved to newer releases. The Uno board is the first in a series of USB
Arduino boards, and the reference model for the Arduino platform; for
an extensive list of current, past or outdated boards see the Arduino
index of boards.
below.
Vin: This is the input voltage pin of the Arduino board used to provide
input supply from an external power source.
5V: This pin of the Arduino board is used as a regulated power supply
voltage and it is used to give supply to the board as well as on board
components.
3.3V: This pin of the board is used to provide a supply of 3.3V which is
generated from a voltage regulator on the board.
GND: This pin of the board is used to ground the Arduino board.
Reset: This pin of the board is used to reset the microcontroller. It is
used to Resets the microcontroller.
Digital Pins: The pins 0 to 13 are used as a digital input or output for
the Arduino board.
Serial Pins: These pins are also known as a UART pin. It is used
for communication between the Arduino board and a computer or
other devices. The transmitter pin number 1 and receiver pin
number 0 is used to transmit and receive the data resp.
PWM Pins: This pins of the board is used to convert the digital
signal into an analog by varying the width of the Pulse. The pin
numbers 3,
LED Pin: The board has an inbuilt LED using digital pin-13. The
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide
PWM output)
PWM Pins 6( Pin 3, 5, 6, 9, 10, and 11)
Analog Input Pins 6
Communication protocol UART x 1, SPI x 1, I2C x 1
DC Current per I/O Pin 20 mA
ICSP Header 2
32 KB (ATmega328P) of which
Flash Memory
0.5 KB used by the bootloader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
LED_BUILTIN 13
Power Sources Power Jack, USB port, Vin pin
Length 68.6 mm
Width 53.4 mm
Weight 25 g
DC Current for 3.3V Pin 50 mA
9) Home Automation.
10) Industrial Automation.
11) Medical Instrument.
12) Emergency Light for Railways.
MPU6050 Features
2.3 GPS
Space Force.
Uses Of GPS
Hard RESET pin, pull this pin low for 100ms to perform
RST a hard reset.
2.5 BATTERY
2.5.1 Battery
CHAPTER-3
SOFTWARE DECSRIPTION
New
Creates a new instance of the editor, with the bare minimum structure of a
sketch already in place.
Open
Save
Saves the sketch with the current name. If the file hasn't been
named before, a name will be provided in a "Save as.." window. Save
As...
Allows to save the current sketch with a different name.
Page Setup
Preferences
Quit
Closes all IDE windows. The same sketches open when Quit
was chosen will be automatically reopened the next time you
start the IDE.
Open source and extensible hardware:
The plans of Arduino boards published under a creative common
license, so experienced circuit designers can make their own version
of the module, extending it and improving it.
Open source and extensible software:
The Arduino software is published as open source tool and the
language can be expanded through C++ libraries
To upload the code into Arduino compile the code first, if there is
no errors click the upload button. Wait a few seconds; if the
upload is successful, the message “Done uploading” will appear
in the status bar and the LED on the board will blink for the
second.
CHAPTER -4
PROJECT METHODOLOGY
4.3 Coding
#include<TinyGPS.h>
#include<SoftwareSerial.h>
#include<MPU6050_tockn.>
#include <Wire.h>
MPU6050 mpu6050(Wire);
SoftwareSerial Gsm(7, 8);
Char phone_no[]=”6303776381”;
TinyGPS gps;
void setup()
{
Float c;
Serial.begi(9600);
Gsm.begin(9600);
delay(100);
Wire.begin();
mpu6050.begin();
}
void loop()
{
bool newData=false;
unsigned long chars;
unsigned short sentences, failed;
mpu6050.update();
Serial.print("accAngleX:");
Serial.print(mpu6050.getAccAngleX());
c=mpu6050.getAccAngleX();
for (unsigned long start = millis(); millis()-start<1000;)
{
while(Serial.available())
{
char c=Serial.read();
Serial.print(c);
if(gps.encode(c)){
if(c>15 || c<-6)
{
newData=true;
}
if(newData)
{
float flat, flon;
unsigned long age;
gps.f_get_position(&flat, &flon, &age);
Gsm.print("AT+CMGF=1\r");
delay(400);
Gsm.print("AT+CMGS=\"");
Gsm.print(phone_no);
Gsm.println("\""); delay(300);
Gsm.print("http://maps.google.com/maps?q=loc:");
Gsm.print(flat==TinyGPS::GPS_INVALID_F_ANGLE?0.0:flat,6);
Serial.print(","); Gsm.print(flon==TinyGPS::GPS_INVALID_F_ANGLE?
0.0:flon,6); Gsm.print("longitude is");
Serial.print(flon);
Serial.println(flat);
delay(200);
Gsm.println((char)26);
delay(200);
Gsm.println();
delay(5000);
Serial.println(failed);
4.4 Advantages
1. It is helpful in finding the abnormalities on the road surface.
4. It is portable.
4.5 Applications
CHAPTER -5
5.1 Conclusion
In fast developing countries like India roads are the major source of
Transport. The key to road surface condition monitoring is to
detect road surface irregularities, cracks, and bumps, which
affect driving comfort and on-road safety. In this regard we build
a system which detects any abnormality on the road surface due
to hump or potholes and it immediately sends that information
to the authorized department so that it may take required
measures to solve the probl2m and reduce the risk of accidents.
REFERENCES
[2] “Pothole Detection System for Monitoring Road Using IoT” (ijaerd.com)
[5] How to Interface GPS Module (NEO-7m) with Arduino - Arduino Project
Hub
[6] Video Youtube URL:
1.https://www.youtube.com/watch?v=nUcrrCJd1sY
2.https://www.youtube.com/watch?v=XwCtzGK9bmE