SlideShare a Scribd company logo
1 of 25
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
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.)
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.
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
IoT-based accident prevention on ghat roads using ultrasonic sensors
IoT-based accident prevention on ghat roads using ultrasonic sensors

More Related Content

What's hot

B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotB.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotSushant Shankar
 
A Pyroelectric Infrared Sensor
A Pyroelectric Infrared SensorA Pyroelectric Infrared Sensor
A Pyroelectric Infrared Sensorbgbgbg
 
Infrared technology
Infrared technologyInfrared technology
Infrared technologyAnkit Kumar
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using ArduinoGolu Jain
 
HC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with ArduinoHC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with Arduinoyeokm1
 
Inductive Proximity sensing
Inductive Proximity sensingInductive Proximity sensing
Inductive Proximity sensingAhmed Mahmoud
 
Sensing for robotics and control s set13
Sensing for robotics and control s set13Sensing for robotics and control s set13
Sensing for robotics and control s set13misgina Mengesha
 
Proximity Sensor
Proximity SensorProximity Sensor
Proximity SensorRAHMAT EIE
 
Chapter5 sensors of robots automation latest
Chapter5 sensors of robots automation latestChapter5 sensors of robots automation latest
Chapter5 sensors of robots automation latestAdib Ezio
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensorsJanarthanan B
 
Ultrasonic radar mini project
Ultrasonic radar  mini projectUltrasonic radar  mini project
Ultrasonic radar mini projectvishnuchiluka
 
Tactile sensors and their robotic applications
Tactile sensors and their robotic applicationsTactile sensors and their robotic applications
Tactile sensors and their robotic applicationsAasheesh Tandon
 

What's hot (20)

Proximity sensors
Proximity sensorsProximity sensors
Proximity sensors
 
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotB.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
 
A Pyroelectric Infrared Sensor
A Pyroelectric Infrared SensorA Pyroelectric Infrared Sensor
A Pyroelectric Infrared Sensor
 
Infrared technology
Infrared technologyInfrared technology
Infrared technology
 
Sensors
SensorsSensors
Sensors
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using Arduino
 
HC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with ArduinoHC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with Arduino
 
Redtacton ppt
Redtacton pptRedtacton ppt
Redtacton ppt
 
Inductive Proximity sensing
Inductive Proximity sensingInductive Proximity sensing
Inductive Proximity sensing
 
Sensing for robotics and control s set13
Sensing for robotics and control s set13Sensing for robotics and control s set13
Sensing for robotics and control s set13
 
B010320711
B010320711B010320711
B010320711
 
Proximity Sensor
Proximity SensorProximity Sensor
Proximity Sensor
 
Chapter5 sensors of robots automation latest
Chapter5 sensors of robots automation latestChapter5 sensors of robots automation latest
Chapter5 sensors of robots automation latest
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensors
 
Ultrasonic radar mini project
Ultrasonic radar  mini projectUltrasonic radar  mini project
Ultrasonic radar mini project
 
Robotic sensor
Robotic sensorRobotic sensor
Robotic sensor
 
Sensors
SensorsSensors
Sensors
 
Arduino Radar System
Arduino Radar SystemArduino Radar System
Arduino Radar System
 
Sensors
SensorsSensors
Sensors
 
Tactile sensors and their robotic applications
Tactile sensors and their robotic applicationsTactile sensors and their robotic applications
Tactile sensors and their robotic applications
 

Similar to IoT-based accident prevention on ghat roads using ultrasonic sensors

Ultrasonic sensors
Ultrasonic sensorsUltrasonic sensors
Ultrasonic sensorsAnCh24
 
Ultra sonic range finding for distance measuring in coal mining
Ultra sonic range finding for distance measuring in coal miningUltra sonic range finding for distance measuring in coal mining
Ultra sonic range finding for distance measuring in coal miningeSAT Journals
 
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOROBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSORLeTsKnOw1
 
2014_04_msw_a4_format (2)
2014_04_msw_a4_format (2)2014_04_msw_a4_format (2)
2014_04_msw_a4_format (2)saransh kumar
 
Annunciator for Blind Person Using Ultrasonic Sensor
Annunciator for Blind Person Using Ultrasonic SensorAnnunciator for Blind Person Using Ultrasonic Sensor
Annunciator for Blind Person Using Ultrasonic Sensorpaperpublications3
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxSattiBabu16
 
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind PersonLPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Personpaperpublications3
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptxAniketKuanra
 
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003Journal For Research
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorsatyashanker
 
Ultrasonic-Radar-System-using-Arduino.pptx
Ultrasonic-Radar-System-using-Arduino.pptxUltrasonic-Radar-System-using-Arduino.pptx
Ultrasonic-Radar-System-using-Arduino.pptxanshullltyagiii
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET Journal
 
Third Eye for Blind Ultrasonic Vibration Gloves.pptx
Third Eye for Blind Ultrasonic Vibration Gloves.pptxThird Eye for Blind Ultrasonic Vibration Gloves.pptx
Third Eye for Blind Ultrasonic Vibration Gloves.pptxkayvyyyy
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSweta Kumari Barnwal
 
Modern Surveying & Mapping
Modern Surveying & MappingModern Surveying & Mapping
Modern Surveying & MappingEr.Karan Chauhan
 
Security System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologySecurity System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologyIOSR Journals
 
Smart classroom using arduino with internet of thing(io t)
Smart classroom using arduino with internet of thing(io t)Smart classroom using arduino with internet of thing(io t)
Smart classroom using arduino with internet of thing(io t)ainaa aa
 

Similar to IoT-based accident prevention on ghat roads using ultrasonic sensors (20)

Ultrasonic sensors
Ultrasonic sensorsUltrasonic sensors
Ultrasonic sensors
 
Ultra sonic range finding for distance measuring in coal mining
Ultra sonic range finding for distance measuring in coal miningUltra sonic range finding for distance measuring in coal mining
Ultra sonic range finding for distance measuring in coal mining
 
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOROBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
 
2014_04_msw_a4_format (2)
2014_04_msw_a4_format (2)2014_04_msw_a4_format (2)
2014_04_msw_a4_format (2)
 
Annunciator for Blind Person Using Ultrasonic Sensor
Annunciator for Blind Person Using Ultrasonic SensorAnnunciator for Blind Person Using Ultrasonic Sensor
Annunciator for Blind Person Using Ultrasonic Sensor
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptx
 
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind PersonLPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
LPC2138 Based Temperature Compensated Ultrasonic Ranging For Blind Person
 
Ultrasonic based distance meter
Ultrasonic based distance meterUltrasonic based distance meter
Ultrasonic based distance meter
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
 
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
 
Ultrasonic-Radar-System-using-Arduino.pptx
Ultrasonic-Radar-System-using-Arduino.pptxUltrasonic-Radar-System-using-Arduino.pptx
Ultrasonic-Radar-System-using-Arduino.pptx
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually Challenged
 
Third Eye for Blind Ultrasonic Vibration Gloves.pptx
Third Eye for Blind Ultrasonic Vibration Gloves.pptxThird Eye for Blind Ultrasonic Vibration Gloves.pptx
Third Eye for Blind Ultrasonic Vibration Gloves.pptx
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
 
Modern Surveying & Mapping
Modern Surveying & MappingModern Surveying & Mapping
Modern Surveying & Mapping
 
Security System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologySecurity System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor Technology
 
R adar
R adarR adar
R adar
 
Final year Engineering project
Final year Engineering project Final year Engineering project
Final year Engineering project
 
Smart classroom using arduino with internet of thing(io t)
Smart classroom using arduino with internet of thing(io t)Smart classroom using arduino with internet of thing(io t)
Smart classroom using arduino with internet of thing(io t)
 

Recently uploaded

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

IoT-based accident prevention on ghat roads using ultrasonic sensors

  • 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
  • 3.
  • 4.
  • 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.)
  • 12.
  • 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.
  • 18.
  • 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