SlideShare a Scribd company logo
ON
AVOIDING ACCIDENTS ON GHAT ROAD AND U-TURNS
BY USING IOT
UNDER THE GUIDENCE OF
Mr.CH.SRIRAM
Asst.Professor DONE BY
EEE Department P.RAGHAVENDER (15831A0245)
Y.RAJESH (15831A0260)
M.PRASHANTH (15831A0235)
OVER VIEW:
INTRODUCTION
IOT APPLICATIONS
BLOCK DIAGRAM OF ARDINO
UNO
PIN DIAGRAM OF AURDINO
ULTRASONIC SENSOR
PIN DIAGRAM OF US
WORKING OF US
US APPLICATIONS
CONNECTIONS
LEDS
PROGRAM
CONCLUSION
avoiding accidents on ghat roads and u turns by using IOT
avoiding accidents on ghat roads and u turns by using IOT
IOT
• What Is the Internet of Things (IoT)?
Internet of Things:
• Internet of Things or IoT is a global
network of physical devices connected to
the Internet. These devices are equipped
with sensors and other information transfer
mechanisms. The devices are usually
combined by means of connection to a
control and/or processing units. Internet
of Things theory states that inanimate
equipment will be able to speak.
Applications
Smart home. Smart Home clearly stands
out, ranking as highest Internet of Things
application on all measured channels.
...Wearables. ...Smart City. ...Smart grids.
...Industrial internet. ...Connected car.
...Connected Health (Digital
health/Telehealth/Telemedicine) ...Smart
retail.
Block diagram of arduino uno
power Vin
3.3v
5v
GND
Vin:input voltage.
5v:regulated power
supply.
3.3v:3.3v supply
generator
GND:ground
Reset Reset Resets the micro
controller
Analog pins A0-A5 Analog input in the
range of 0-5v
Input/Output pins Digital pins o-13 Input or output pins
Serial 0(Rx),1(Tx) Receive and transmit
TTL serial data
External interrupts 2,3 To trigger an interupt
PWM 3,5,6,9,11 Provide 8-bit PWM
output
SPI 10 (SS), 11
(MOSI), 12
(MISO) and 13
(SCK)
Used for
SPIcommunication
Applications:
• Prototyping of Electronics Products and
Systems
• Multiple DIY Projects.
• Easy to use for beginner level DIYers and
makers.
• Projects requiring Multiple I/O interfaces
and communications.
Ultra sonic sensor
• The name indicates, ultrasonic sensors
measure distance by using ultrasonic
waves.
The sensor head emits an ultrasonic wave
and receives the wave reflected back from
the target. Ultrasonic Sensors measure
the distance to the target by measuring the
time between the emission and reception.
Distance calculation
• The distance can be calculated with the
following formula:
• Distance L = 1/2 × T × C
• where L is the distance, T is the time
between the emission and reception, and
C is the sonic speed. (The value is
multiplied by 1/2 because T is the time for
go-and-return distance.)
avoiding accidents on ghat roads and u turns by using IOT
Working:
• HC-SR04 Ultrasonic (US) sensor is a 4
pin module, whose pin names are Vcc,
Trigger, Echo and Ground respectively.
This sensor is a very popular sensor used
in many applications where measuring
distance or sensing objects are required.
The module has two eyes like projects in
the front which forms the Ultrasonic
transmitter and Receiver. The sensor
works with the simple high school formula
that
The Ultrasonic transmitter transmits an ultrasonic wave, this wave travels in air and
when it gets objected by any material it gets reflected back toward the sensor this
reflected wave is observed by the Ultrasonic receiver module as shown in the
picture.
Applications:
• Used to measure the distance within a
wide range of 2cm to 400cm.
• Can be used to map the objects
surrounding the sensor by rotating it.
• Depth of certain places like wells, pits etc
can be measured since the waves can
penetrate through water.
Connections of arduino and Ultra sonic
sensors:
1.9 to 2.1 V for red,
orange, yellow,
and traditional
green.
3.0 to 3.4 V for
pure green and
blue.
2.9 to 4.2 V for
violet, pink, purple
and white.
avoiding accidents on ghat roads and u turns by using IOT
PROGRAM:
#define echopin1 7
#define trigpin1 8
#define echopin2 9
#define trigpin2 10
#define alarm1 11
#define alarm2 12
long duration1,distance1, duration2, distance2;
void setup()
{
Serial.begin(9600);
pinMode(trigpin1,OUTPUT);
pinMode(echopin1,INPUT);
pinMode(trigpin2,OUTPUT);
pinMode(echopin2,INPUT);
pinMode(alarm1,OUTPUT);
pinMode(alarm2,OUTPUT);
}
void loop()
{
digitalWrite(trigpin1,LOW);
delayMicroseconds(2);
digitalWrite(trigpin1,HIGH);
delayMicroseconds(10);
digitalWrite(trigpin1,LOW);
duration1=pulseIn(echopin1,HIGH);
distance1=(duration1/58.138)*.39;
if(distance1<=5)
{
digitalWrite(alarm2,HIGH);
delay(2000);
}
else
{
digitalWrite(alarm2,LOW);
}
Serial.println("1 is arriving. 2 on alarm");
Serial.println(distance1);
Serial.println("cm");
digitalWrite(trigpin2,LOW);
delayMicroseconds(2);
digitalWrite(trigpin2,HIGH);
delayMicroseconds(10);
digitalWrite(trigpin2,LOW);
duration2=pulseIn(echopin2,HIGH);
distance2=(duration2/58.138)*.39;
if(distance2<=5)
{
digitalWrite(alarm1,HIGH);
delay(2000);
}
else
{
digitalWrite(alarm1,LOW);
}
Serial.println("2 is arriving. 1 on alarm");
Serial.println(distance2);
Serial.println("cm");
}
Conclusion:
Reduce the number of accidents
It is also used for security alerts where
24 hours surveillence
avoiding accidents on ghat roads and u turns by using IOT
avoiding accidents on ghat roads and u turns by using IOT

More Related Content

PPTX
Heart beat monitor system PPT
PPT
Virtual retinal display ppt
PPT
Silent Sound
PDF
Smart Gloves for Blind
PPTX
digital scent technology
PDF
IRJET- Child Safety Wearable Device using Wireless Technology
PPT
Digital scent technology
PPTX
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
Heart beat monitor system PPT
Virtual retinal display ppt
Silent Sound
Smart Gloves for Blind
digital scent technology
IRJET- Child Safety Wearable Device using Wireless Technology
Digital scent technology
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS

What's hot (20)

PDF
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
PPTX
Vehicle tracking by gps gsm
PDF
Exploring the Brain Computer Interface
PPTX
DOCX
seminar report on Li-Fi Technology
PPTX
What is Satelite Internet
PDF
Z wave
PDF
A Survey Analysis on CMOS Integrated Circuits with Clock-Gated Logic Structure
PPTX
Arduino radar system
PPTX
Smartquill
PPTX
Fingerprint scanner
PPTX
Esp8266 NodeMCU
PPTX
Digital Scent Technology
PDF
IRJET- Heart Attack Detection by Heartbeat Sensing using Internet of thin...
PPTX
Hardware Software Codesign
PPT
GSM Technology
PPTX
Digital Scent Technology
PPTX
GPS based tracking system
PPTX
4G 5G technology
PPTX
Digital smell technology
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
Vehicle tracking by gps gsm
Exploring the Brain Computer Interface
seminar report on Li-Fi Technology
What is Satelite Internet
Z wave
A Survey Analysis on CMOS Integrated Circuits with Clock-Gated Logic Structure
Arduino radar system
Smartquill
Fingerprint scanner
Esp8266 NodeMCU
Digital Scent Technology
IRJET- Heart Attack Detection by Heartbeat Sensing using Internet of thin...
Hardware Software Codesign
GSM Technology
Digital Scent Technology
GPS based tracking system
4G 5G technology
Digital smell technology
Ad

Similar to avoiding accidents on ghat roads and u turns by using IOT (20)

PPTX
Final year Engineering project
PDF
IRJET- Obstacle Detection using Ultrasonic Sensor in MAV (Micro Air Vehicle)
PDF
2014_04_msw_a4_format (2)
PPTX
Radar using ultrasonic sensor and arduino.pptx
PDF
ULTRASONIC SENSOR.pdf
PDF
Short Range Radar System using Arduino Uno
PDF
Distance Measurement Using Ultrasonic Sensor and Nodemcu
PPTX
Computer networks unit III CHAPTER of frameworks
PPTX
Copy-of-Building-a-Basic-Radar-System-with-Arduino-and-Ultrasonic-Sensor.pptx
PPTX
Ultrasonic sensor
PPTX
Ultrasonic Sensor
PPTX
IOT_PPT_PRESENTATION_2025.pptx and radar using sensor
PPTX
1.4 Distance Measurement_UltrasonicSensor.pptx
PPTX
Distance measuring unit with zigbee protocol, Ultra sonic sensor
PPT
SENSORS AND BLUETOOTH COMMUNICATION
DOCX
4th-Yr-PROJECT-REPORT
PPTX
Arduino Ultrasonic Sensor
PPT
Arduino Meetup with Sonar and 433Mhz Radios
PDF
Sensor Based Blind Stick
PPTX
robotics and embedded system ppt
Final year Engineering project
IRJET- Obstacle Detection using Ultrasonic Sensor in MAV (Micro Air Vehicle)
2014_04_msw_a4_format (2)
Radar using ultrasonic sensor and arduino.pptx
ULTRASONIC SENSOR.pdf
Short Range Radar System using Arduino Uno
Distance Measurement Using Ultrasonic Sensor and Nodemcu
Computer networks unit III CHAPTER of frameworks
Copy-of-Building-a-Basic-Radar-System-with-Arduino-and-Ultrasonic-Sensor.pptx
Ultrasonic sensor
Ultrasonic Sensor
IOT_PPT_PRESENTATION_2025.pptx and radar using sensor
1.4 Distance Measurement_UltrasonicSensor.pptx
Distance measuring unit with zigbee protocol, Ultra sonic sensor
SENSORS AND BLUETOOTH COMMUNICATION
4th-Yr-PROJECT-REPORT
Arduino Ultrasonic Sensor
Arduino Meetup with Sonar and 433Mhz Radios
Sensor Based Blind Stick
robotics and embedded system ppt
Ad

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
A Presentation on Artificial Intelligence
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Mushroom cultivation and it's methods.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
A Presentation on Touch Screen Technology
PPTX
1. Introduction to Computer Programming.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
TLE Review Electricity (Electricity).pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Hybrid model detection and classification of lung cancer
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Programs and apps: productivity, graphics, security and other tools
A Presentation on Artificial Intelligence
Heart disease approach using modified random forest and particle swarm optimi...
A comparative analysis of optical character recognition models for extracting...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
DP Operators-handbook-extract for the Mautical Institute
Mushroom cultivation and it's methods.pdf
Unlocking AI with Model Context Protocol (MCP)
Hindi spoken digit analysis for native and non-native speakers
A Presentation on Touch Screen Technology
1. Introduction to Computer Programming.pptx
A novel scalable deep ensemble learning framework for big data classification...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
WOOl fibre morphology and structure.pdf for textiles
TLE Review Electricity (Electricity).pptx
A comparative study of natural language inference in Swahili using monolingua...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Hybrid model detection and classification of lung cancer

avoiding accidents on ghat roads and u turns by using IOT

  • 1. ON AVOIDING ACCIDENTS ON GHAT ROAD AND U-TURNS BY USING IOT UNDER THE GUIDENCE OF Mr.CH.SRIRAM Asst.Professor DONE BY EEE Department P.RAGHAVENDER (15831A0245) Y.RAJESH (15831A0260) M.PRASHANTH (15831A0235)
  • 2. OVER VIEW: INTRODUCTION IOT APPLICATIONS BLOCK DIAGRAM OF ARDINO UNO PIN DIAGRAM OF AURDINO ULTRASONIC SENSOR PIN DIAGRAM OF US WORKING OF US US APPLICATIONS CONNECTIONS LEDS PROGRAM CONCLUSION
  • 5. IOT • What Is the Internet of Things (IoT)? Internet of Things: • Internet of Things or IoT is a global network of physical devices connected to the Internet. These devices are equipped with sensors and other information transfer mechanisms. The devices are usually combined by means of connection to a control and/or processing units. Internet of Things theory states that inanimate equipment will be able to speak.
  • 6. Applications Smart home. Smart Home clearly stands out, ranking as highest Internet of Things application on all measured channels. ...Wearables. ...Smart City. ...Smart grids. ...Industrial internet. ...Connected car. ...Connected Health (Digital health/Telehealth/Telemedicine) ...Smart retail.
  • 7. Block diagram of arduino uno
  • 8. power Vin 3.3v 5v GND Vin:input voltage. 5v:regulated power supply. 3.3v:3.3v supply generator GND:ground Reset Reset Resets the micro controller Analog pins A0-A5 Analog input in the range of 0-5v Input/Output pins Digital pins o-13 Input or output pins Serial 0(Rx),1(Tx) Receive and transmit TTL serial data External interrupts 2,3 To trigger an interupt PWM 3,5,6,9,11 Provide 8-bit PWM output SPI 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK) Used for SPIcommunication
  • 9. Applications: • Prototyping of Electronics Products and Systems • Multiple DIY Projects. • Easy to use for beginner level DIYers and makers. • Projects requiring Multiple I/O interfaces and communications.
  • 10. Ultra sonic sensor • The name indicates, ultrasonic sensors measure distance by using ultrasonic waves. The sensor head emits an ultrasonic wave and receives the wave reflected back from the target. Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception.
  • 11. Distance calculation • The distance can be calculated with the following formula: • Distance L = 1/2 × T × C • where L is the distance, T is the time between the emission and reception, and C is the sonic speed. (The value is multiplied by 1/2 because T is the time for go-and-return distance.)
  • 13. Working: • HC-SR04 Ultrasonic (US) sensor is a 4 pin module, whose pin names are Vcc, Trigger, Echo and Ground respectively. This sensor is a very popular sensor used in many applications where measuring distance or sensing objects are required. The module has two eyes like projects in the front which forms the Ultrasonic transmitter and Receiver. The sensor works with the simple high school formula that
  • 14. The Ultrasonic transmitter transmits an ultrasonic wave, this wave travels in air and when it gets objected by any material it gets reflected back toward the sensor this reflected wave is observed by the Ultrasonic receiver module as shown in the picture.
  • 15. Applications: • Used to measure the distance within a wide range of 2cm to 400cm. • Can be used to map the objects surrounding the sensor by rotating it. • Depth of certain places like wells, pits etc can be measured since the waves can penetrate through water.
  • 16. Connections of arduino and Ultra sonic sensors:
  • 17. 1.9 to 2.1 V for red, orange, yellow, and traditional green. 3.0 to 3.4 V for pure green and blue. 2.9 to 4.2 V for violet, pink, purple and white.
  • 19. PROGRAM: #define echopin1 7 #define trigpin1 8 #define echopin2 9 #define trigpin2 10 #define alarm1 11 #define alarm2 12 long duration1,distance1, duration2, distance2; void setup() { Serial.begin(9600); pinMode(trigpin1,OUTPUT); pinMode(echopin1,INPUT); pinMode(trigpin2,OUTPUT); pinMode(echopin2,INPUT); pinMode(alarm1,OUTPUT); pinMode(alarm2,OUTPUT); }
  • 21. digitalWrite(alarm2,LOW); } Serial.println("1 is arriving. 2 on alarm"); Serial.println(distance1); Serial.println("cm"); digitalWrite(trigpin2,LOW); delayMicroseconds(2); digitalWrite(trigpin2,HIGH); delayMicroseconds(10); digitalWrite(trigpin2,LOW); duration2=pulseIn(echopin2,HIGH); distance2=(duration2/58.138)*.39; if(distance2<=5) { digitalWrite(alarm1,HIGH); delay(2000); } else {
  • 22. digitalWrite(alarm1,LOW); } Serial.println("2 is arriving. 1 on alarm"); Serial.println(distance2); Serial.println("cm"); }
  • 23. Conclusion: Reduce the number of accidents It is also used for security alerts where 24 hours surveillence