Hump And Pothole Detection on Roads

Now we are going to demonstrate the Hump And Pothole Detection on Roads using 8051.

Hump And Pothole Detection on Roads using 8051


Many on-going projects in the field of vehicular networks are working in the direction of providing driver with relevant information about roads and traffic movements. One of the major problems in developing countries is maintenance of roads. Well maintained roads contribute a major portion to the country’s economy. And also many people are killed by unwanted potholes and humps on road. So Identification of pavement distress such as potholes and humps not only helps drivers to avoid accidents or vehicle damages but also helps authorities to maintain roads. The implementation of this service will provide users with valuable information about the conditions of roadways that will limit potential damage to the user’s vehicle or Maintenance Authority. This project proposes a cost effective solution to identify potholes and humps on roads and provide timely alerts to drivers to avoid accidents or vehicle damages, and also send a message to authorities. Ultrasonic sensor is used to identify potholes and humps and also to measure their depth and height respectively. The sensed-data includes pothole depth, height of hump.


As one type of pavement distresses, a pothole is defined as a bowl-shaped depression in the pavement surface and minimum plan dimension is 150 mm. Potholes can generate damages such as flat tire and wheel damage, impact and damage on the lower part of a vehicle, sudden braking and steering wheel operation, and vehicle collision and major accidents. During the course of this observation, we found that 17 out of 48 drivers choose to avoid the depression rather than go through it. These results tell us a significant number of users care about the safety of their vehicle. With this information it becomes apparent that there are drivers that value knowing where there are potential road hazards.

The hazard that we observed was a relatively minor depression around a steel plate. If hazard where deeper, it is likely that more drivers would have tried to avoid it. Also, potholes are important clues indicating structural defects of the asphalt road, and accurately detecting these potholes is one of important tasks for determining proper strategies of asphalt-surfaced pavement maintenance and rehabilitation. However, pothole detection mostly done by Maintenance departments need to regularly assess the quality of the roads in order to properly maintain them. Currently, this is done by yearly inspections or in response to reports from the general public. The inspection is sometimes done by workers walking along the streets and recording the conditions on paper which later is put into a database. All this is performed manually, by a labor intensive and time-consuming.

Thus, this system has been made for developing a technology which can automatically detect and recognize potholes, which may contribute to improvement of survey efficiency and pavement quality through prior investigation and immediate action. Thus, the purpose of this study is to develop a system and method for effectively detecting potholes based on video data. In this study, we developed a system that collects video data through a newly designed optical device mounted on a vehicle and a method that detect potholes.

Many reasons like rains, oil spills, road accidents or wear and tear; make the road difficult to drive upon. Also while driving in the night just the headlights might not be a sufficient assistance for driver. Unexpected hurdles on road may cause more accidents. Also because of bad road conditions, fuel consumption of the vehicle increases; causing wastage of precious fuel. All these reasons urge that it is important to get information of such bad road conditions, collect this information and distribute it to vehicles, which in turn can warn the driver.

In this Project the Ultrasonic Sensor is used to find the Pothole and Humps in the roads. This Ultrasonic sensor emits the pulses at regular interval of time; the receiver listens to the echo, and round-off time into the function of height. The Receiver detects the abrupt changes in the terrain, by comparing the round-off time. As default the nature of the terrain has to be determined before. Thus when the Pothole is detected by the system it correspondingly send the intimation to the Road maintenance Authority, thus this may decrease the valuable time for them in finding the Pothole’s in the roads.

Components Required

  • 8051 Development board
  • LCD Module
  • GSM Module
  • Ultrasonic Sensor

Software Required

  • Keil IDE


Before see the code, first you can see the basic interfacing tutorials of these components.

Block Diagram

Hump And Pothole Detection on Roads using 8051Explanation

  • Ultrasonic sensor is used to sense the distance, this is interfaced to micro controller

  • The system uses an LCD Display to display the sensor outputs and status

  • The Microcontroller block functions as the main control unit which will monitor the data from Ultrasonic sensor and control the LCD and GSM modem

  • GSM is used to send the message when Ultrasonic sensor find pothole and hump.

Circuit Diagram


  • RS – P0.0
  • RW – P0.1
  • EN – P0.2
  • Data lines – P2

Ultrasonic Sensor:

  • Trigger – P3.5
  • Echo – P3.2


  • GSM RX – P3.1
  • GSM TX – P3.0

Switch: P0.7




Here i have added only the main source code. If you want to download full project, please visit below link.

Please visit Here.


  • Ultrasonic sensor always detects the pothole and humps on road and it sends the data to 8051.
  • 8051 send the details of pothole and hump to LCD module. LCD Module displays that data.
  • When switch is ON, If ultrasonic sensor finds any pothole or hump it sends the message to the road authority by using GSM Module.
  • Driver should ON the switch when he starts the vehicle. If we are not provide switch, it will always send the message unnecessarily even car is in OFF. That’s why we kept switch there.

Anybody needs Full Report of this project Please contact us. In subject please mention the project name. Contact Us.

0 0 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newest Most Voted
Inline Feedbacks
View all comments
ravi sankar
October 16, 2018 8:13 AM


I am student of some colleage.I want to know about this project.
The pothole and hump detection will be detected by camera before vehicle reaches pot hole and hump ??

EmbeTronicx India
EmbeTronicx India
Reply to  ravi sankar
October 16, 2018 10:19 AM

Hi Ravi Shankar,
No, there isn’t camera. We are using ultrasonic sensor here to detect pothole and hump.

March 6, 2019 8:56 AM

what is that component on which respack is written

EmbeTronicx India
EmbeTronicx India
Reply to  prasanna
March 6, 2019 2:34 PM

That is pullup resistor.

Would love your thoughts, please comment.x
%d bloggers like this: