SlideShare a Scribd company logo
1 of 12
Vehicle control system using alchol
sensor
DIV:-B
GROUP:-11
1. AMEYBHAGW
A
TKAR
2. KUSHBHAKAD
3. Y
ASHBHALE
4. P
ARTHBHALERAO
5. PRASANNABHALERAO
6. Y
ASHBHALERAO
INTRODUCTION
• The project aims to prevent accidents caused by drunk driving by
using an MQ3 alcohol sensor with an Arduino microcontroller.
• The MQ3 sensor is a gas sensor that can detect the presence of
alcohol in the air, making it useful for detecting alcohol consumption
by drivers.
• The Arduino microcontroller can process the signals from the MQ3
sensor and provide a warning signal to the driver if alcohol is
detected.
• This project can be a useful tool in promoting road safety and
preventing accidents caused by drunk driving.
• The project can be implemented in various vehicles, making it a
versatile and cost-effective solution for accident prevention.
CHARACTERISTICOFTHE
PROJECT:
1.The project is designed to be a low-cost solution for accident prevention, making it
accessible to a wide range of users.
2.The MQ3 alcohol sensor has a high sensitivity and can detect alcohol
concentrations as low as 0.05 mg/L, making it an accurate and reliable tool for
detecting alcohol consumption.
3.The Arduino microcontroller is programmable and customizable, allowing users to
adjust the settings and parameters of the system to meet their specific needs.
4.The project is portable and can be easily installed in different vehicles, making it a
versatile solution for accident prevention.
5.The project is user-friendly and easy to operate, with simple instructions and
intuitive interface, making it accessible to a wide range of users.
NEEDFORTHEPR
OJECT
1.Drunk driving is a leading cause of road accidents, injuries, and fatalities,
making it a serious public safety concern that needs to be addressed.
2.Traditional methods for detecting alcohol consumption by drivers, such as
breathalyzers or blood tests, are often costly, time-consuming, and impractical
for routine use.
3.The project can help to fill the gap in existing solutions by providing a low-cost,
portable, and easy-to-use tool for detecting alcohol consumption by drivers in
real-time.
4.The project can be particularly useful in areas where there is a high incidence
of drunk driving or limited resources for road safety enforcement.
5.The project can contribute to the overall effort to reduce road accidents,
injuries, and fatalities caused by drunk driving, by providing an effective and
accessible solution for accident prevention.
Componentsused:
• resistor
• alcohol sensor MQ3
• transistor
• Addunio uno with microcontroller 8051
• connecting JUMPER wire
• dc motor
• buzzer
• Solder
• SOFTWARE USED:- ARDUNIO IDE
PICTURE OF PROJECT
ARDUNIO UNO
• The Arduino Uno is a microcontroller board based on the
ATmega328P microcontroller, which provides a wide range of
input/output pins and other features.
• The Uno has 14 digital input/output pins, 6 analog input pins
, and various other features such as USB connectivity, a power
jack, and a reset button.
• The Uno is relatively easy to use and program, making it a
popular choice for beginners and hobbyists who are new to
electronics and programming.
• The Uno is compatible with a wide range of sensors, actuators, and
other electronic components, making it a versatile platform for
building various types of electronic projects.
• The Uno is supported by a large and active community of users
and developers, who provide a wealth of resources such as
tutorials, libraries, and forums to help users get started and
troubleshoot any issues.
ALCOHOL SENSOR
1.The MQ3 alcohol sensor is a gas sensor that is designed
to detect the presence of alcohol in the air.
2.The sensor works by heating a tin dioxide (SnO2)
sensing element, which changes its resistance in the
presence of alcohol vapor.
3.The change in resistance is proportional to the
concentration of alcohol in the air, allowing the sensor to
provide a measure of alcohol concentration.
4.The MQ3 sensor has a high sensitivity and can detect alcohol
concentrations ranging from 0.05 mg/L to 10 mg/L.
5.The MQ3 sensor is relatively low-cost, compact, and easy to use,
making it a popular choice for various applications that require alcohol
detection.
SOURCE CODE
const int alcholPin = 2;
const int motorPin = 13;
const int buzzerPin = 12;
long time;
void setup() {
pinMode(motorPin, OUTPUT);
pinMode(buzzerPin, OUTPUT);
pinMode(alcholPin, INPUT);
digitalWrite(motorPin, HIGH);
}
void loop() {
if(!digitalRead(alcholPin)){
time=millis();
while(!digitalRead(alcholPin)){
if(TimeDelay()>=2)digitalWrite(buzzerPin, LOW);
if(TimeDelay()>=0)digitalWrite(motorPin, LOW);
delay(1000);
}
}
else digitalWrite(buzzerPin,
HIGH),digitalWrite(motorPin, HIGH);
}
int TimeDelay(){
long t=millis()-time;
t=t/1000;
return t;
}
EXPLANATION OF CODE
1.The code defines three integer constants to represent the pins used for the alcohol
sensor, motor, and buzzer. These constants are used throughout the code to refer to
these pins.
2.In the setup() function, the code sets the pin modes for the motor, buzzer, and alcohol
sensor. The motor is also turned on by setting its pin to high.
3.The loop() function continuously runs and checks whether the alcohol sensor is
detecting alcohol. If it is, the code stores the current time in the time variable and enters
a while loop.
4.Within the while loop, the code checks the time delay since alcohol was first detected
using the TimeDelay() function. If the delay is greater than or equal to 2 seconds, the
buzzer is turned off. If the delay is greater than or equal to 0 seconds, the motor is
turned off. The code then waits for 1 second using the delay() function.
5.If the alcohol sensor stops detecting alcohol, the buzzer and motor are turned off.
6.The TimeDelay() function calculates the time delay in seconds between the current
time and the time stored in the time variable. This delay is used to control the timing of
WORKING
1. ONCE THE POWER SUPPLY IS ON, THE SYSTEM STARTS TO WORK (I.E.
THE MOTOR STARTS TO RUN) AND IT DETECTS THE ALCOHOL
CONTENT USING THE ALCOHOL SENSOR. I.E MQ3
2. THE MQ3 SENSOR USES A TIN DIOXIDE SEMICONDUCTOR LAYER THAT
ABSORBS OXYGEN WHEN HEATED, FORMING A POTENTIAL BARRIER
THAT PREVENTS THE FLOW OF ELECTRIC CURRENT.
3. THE PRESENCE OF ALCOHOL REDUCES THE DENSITY OF OXYGEN,
CAUSING THE POTENTIAL BARRIER TO DIMINISH AND ALLOWING
CURRENT TO FLOW THROUGH THE SENSOR, RESULTING IN A LOWER
ANALOG RESISTANCE AND AN INCREASED VOLTAGE READING.
4. IF ALCOHOL IS DETECTED THE MQ-3 SENSOR GIVES IT OUTPUT TO
THE ARDUINO WHICH ACTS AS AN INPUT FOR THE ARDUINO TO
STOP AND SYSTEM STOPS TO WORK (MOTOR STOPS TO ROTATE).
5. IF ALCOHOL IS NOT DETECTED THE SYSTEM CONTINUES TO WORK
Circuit diagram

More Related Content

Similar to MAR CORSE PROJECT PPT.pptx

ALCOHOL AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSM
ALCOHOL  AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSMALCOHOL  AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSM
ALCOHOL AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSMMallemptiOohasri
 
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGYALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGYOodit Jethwa
 
IRJET- LPG Leakage Detection and Prevention System with GSM Alert
IRJET-  	  LPG Leakage Detection and Prevention System with GSM AlertIRJET-  	  LPG Leakage Detection and Prevention System with GSM Alert
IRJET- LPG Leakage Detection and Prevention System with GSM AlertIRJET Journal
 
Intelligent alcohol detection system for car
Intelligent alcohol detection system for carIntelligent alcohol detection system for car
Intelligent alcohol detection system for carLogic Mind Technologies
 
IRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET Journal
 
A FUSION OF IoT BASED GAS LEAKAGE DETECTION
A FUSION OF IoT BASED GAS LEAKAGE DETECTIONA FUSION OF IoT BASED GAS LEAKAGE DETECTION
A FUSION OF IoT BASED GAS LEAKAGE DETECTIONIRJET Journal
 
LPG GAS DETECTOR presentation for engineers
LPG GAS DETECTOR presentation for engineersLPG GAS DETECTOR presentation for engineers
LPG GAS DETECTOR presentation for engineerssreenienaganti
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projecthemanth prudhvi jidugu
 
Automatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionAutomatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionLogic Mind Technologies
 
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptx
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptxIOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptx
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptxHamed Raza
 
Automated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanAutomated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanHamzanadeem96
 
Alcohol sensor with auto car ignition disables @1000KV Technologies 9030844877
Alcohol sensor with auto car ignition disables  @1000KV Technologies 9030844877Alcohol sensor with auto car ignition disables  @1000KV Technologies 9030844877
Alcohol sensor with auto car ignition disables @1000KV Technologies 90308448771000kv technologies
 
IRJET - Non Poking Method for Detection of Chronic Kidney Disease Patients
IRJET - Non Poking Method for Detection of Chronic Kidney Disease PatientsIRJET - Non Poking Method for Detection of Chronic Kidney Disease Patients
IRJET - Non Poking Method for Detection of Chronic Kidney Disease PatientsIRJET Journal
 
GAS LEAKAGE DETECTOR
GAS LEAKAGE DETECTORGAS LEAKAGE DETECTOR
GAS LEAKAGE DETECTORIRJET Journal
 
Microcontroller based smart wear for driver safety
Microcontroller based smart wear for driver safetyMicrocontroller based smart wear for driver safety
Microcontroller based smart wear for driver safetyeSAT Journals
 
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET Journal
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMIRJET Journal
 
IRJET- AI to Analyze and Extract Data to Gain Insights About the Spread o...
IRJET-  	  AI to Analyze and Extract Data to Gain Insights About the Spread o...IRJET-  	  AI to Analyze and Extract Data to Gain Insights About the Spread o...
IRJET- AI to Analyze and Extract Data to Gain Insights About the Spread o...IRJET Journal
 

Similar to MAR CORSE PROJECT PPT.pptx (20)

ALCOHOL AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSM
ALCOHOL  AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSMALCOHOL  AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSM
ALCOHOL AND HELMET DETECTION WITH ENGINE LOCKING SYSTEM USING GSM
 
Final Year Project Idea
Final Year Project IdeaFinal Year Project Idea
Final Year Project Idea
 
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGYALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
 
IRJET- LPG Leakage Detection and Prevention System with GSM Alert
IRJET-  	  LPG Leakage Detection and Prevention System with GSM AlertIRJET-  	  LPG Leakage Detection and Prevention System with GSM Alert
IRJET- LPG Leakage Detection and Prevention System with GSM Alert
 
Intelligent alcohol detection system for car
Intelligent alcohol detection system for carIntelligent alcohol detection system for car
Intelligent alcohol detection system for car
 
IRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living SecurityIRJET -Arduino based Gas Leakage Detection for Living Security
IRJET -Arduino based Gas Leakage Detection for Living Security
 
A FUSION OF IoT BASED GAS LEAKAGE DETECTION
A FUSION OF IoT BASED GAS LEAKAGE DETECTIONA FUSION OF IoT BASED GAS LEAKAGE DETECTION
A FUSION OF IoT BASED GAS LEAKAGE DETECTION
 
LPG GAS DETECTOR presentation for engineers
LPG GAS DETECTOR presentation for engineersLPG GAS DETECTOR presentation for engineers
LPG GAS DETECTOR presentation for engineers
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking project
 
Automatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionAutomatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detection
 
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptx
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptxIOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptx
IOT-Based-Intelligent-Gas-Leakage-Detector-Using-Arduino.pptx
 
Automated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanAutomated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust Fan
 
Alcohol sensor with auto car ignition disables @1000KV Technologies 9030844877
Alcohol sensor with auto car ignition disables  @1000KV Technologies 9030844877Alcohol sensor with auto car ignition disables  @1000KV Technologies 9030844877
Alcohol sensor with auto car ignition disables @1000KV Technologies 9030844877
 
IRJET - Non Poking Method for Detection of Chronic Kidney Disease Patients
IRJET - Non Poking Method for Detection of Chronic Kidney Disease PatientsIRJET - Non Poking Method for Detection of Chronic Kidney Disease Patients
IRJET - Non Poking Method for Detection of Chronic Kidney Disease Patients
 
GAS LEAKAGE DETECTOR
GAS LEAKAGE DETECTORGAS LEAKAGE DETECTOR
GAS LEAKAGE DETECTOR
 
Microcontroller based smart wear for driver safety
Microcontroller based smart wear for driver safetyMicrocontroller based smart wear for driver safety
Microcontroller based smart wear for driver safety
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the GasIRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
IRJET - IoT based Gas Level Detection and the Automatic Booking of the Gas
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
IRJET- AI to Analyze and Extract Data to Gain Insights About the Spread o...
IRJET-  	  AI to Analyze and Extract Data to Gain Insights About the Spread o...IRJET-  	  AI to Analyze and Extract Data to Gain Insights About the Spread o...
IRJET- AI to Analyze and Extract Data to Gain Insights About the Spread o...
 

Recently uploaded

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

MAR CORSE PROJECT PPT.pptx

  • 1. Vehicle control system using alchol sensor DIV:-B GROUP:-11 1. AMEYBHAGW A TKAR 2. KUSHBHAKAD 3. Y ASHBHALE 4. P ARTHBHALERAO 5. PRASANNABHALERAO 6. Y ASHBHALERAO
  • 2. INTRODUCTION • The project aims to prevent accidents caused by drunk driving by using an MQ3 alcohol sensor with an Arduino microcontroller. • The MQ3 sensor is a gas sensor that can detect the presence of alcohol in the air, making it useful for detecting alcohol consumption by drivers. • The Arduino microcontroller can process the signals from the MQ3 sensor and provide a warning signal to the driver if alcohol is detected. • This project can be a useful tool in promoting road safety and preventing accidents caused by drunk driving. • The project can be implemented in various vehicles, making it a versatile and cost-effective solution for accident prevention.
  • 3. CHARACTERISTICOFTHE PROJECT: 1.The project is designed to be a low-cost solution for accident prevention, making it accessible to a wide range of users. 2.The MQ3 alcohol sensor has a high sensitivity and can detect alcohol concentrations as low as 0.05 mg/L, making it an accurate and reliable tool for detecting alcohol consumption. 3.The Arduino microcontroller is programmable and customizable, allowing users to adjust the settings and parameters of the system to meet their specific needs. 4.The project is portable and can be easily installed in different vehicles, making it a versatile solution for accident prevention. 5.The project is user-friendly and easy to operate, with simple instructions and intuitive interface, making it accessible to a wide range of users.
  • 4. NEEDFORTHEPR OJECT 1.Drunk driving is a leading cause of road accidents, injuries, and fatalities, making it a serious public safety concern that needs to be addressed. 2.Traditional methods for detecting alcohol consumption by drivers, such as breathalyzers or blood tests, are often costly, time-consuming, and impractical for routine use. 3.The project can help to fill the gap in existing solutions by providing a low-cost, portable, and easy-to-use tool for detecting alcohol consumption by drivers in real-time. 4.The project can be particularly useful in areas where there is a high incidence of drunk driving or limited resources for road safety enforcement. 5.The project can contribute to the overall effort to reduce road accidents, injuries, and fatalities caused by drunk driving, by providing an effective and accessible solution for accident prevention.
  • 5. Componentsused: • resistor • alcohol sensor MQ3 • transistor • Addunio uno with microcontroller 8051 • connecting JUMPER wire • dc motor • buzzer • Solder • SOFTWARE USED:- ARDUNIO IDE
  • 7. ARDUNIO UNO • The Arduino Uno is a microcontroller board based on the ATmega328P microcontroller, which provides a wide range of input/output pins and other features. • The Uno has 14 digital input/output pins, 6 analog input pins , and various other features such as USB connectivity, a power jack, and a reset button. • The Uno is relatively easy to use and program, making it a popular choice for beginners and hobbyists who are new to electronics and programming. • The Uno is compatible with a wide range of sensors, actuators, and other electronic components, making it a versatile platform for building various types of electronic projects. • The Uno is supported by a large and active community of users and developers, who provide a wealth of resources such as tutorials, libraries, and forums to help users get started and troubleshoot any issues.
  • 8. ALCOHOL SENSOR 1.The MQ3 alcohol sensor is a gas sensor that is designed to detect the presence of alcohol in the air. 2.The sensor works by heating a tin dioxide (SnO2) sensing element, which changes its resistance in the presence of alcohol vapor. 3.The change in resistance is proportional to the concentration of alcohol in the air, allowing the sensor to provide a measure of alcohol concentration. 4.The MQ3 sensor has a high sensitivity and can detect alcohol concentrations ranging from 0.05 mg/L to 10 mg/L. 5.The MQ3 sensor is relatively low-cost, compact, and easy to use, making it a popular choice for various applications that require alcohol detection.
  • 9. SOURCE CODE const int alcholPin = 2; const int motorPin = 13; const int buzzerPin = 12; long time; void setup() { pinMode(motorPin, OUTPUT); pinMode(buzzerPin, OUTPUT); pinMode(alcholPin, INPUT); digitalWrite(motorPin, HIGH); } void loop() { if(!digitalRead(alcholPin)){ time=millis(); while(!digitalRead(alcholPin)){ if(TimeDelay()>=2)digitalWrite(buzzerPin, LOW); if(TimeDelay()>=0)digitalWrite(motorPin, LOW); delay(1000); } } else digitalWrite(buzzerPin, HIGH),digitalWrite(motorPin, HIGH); } int TimeDelay(){ long t=millis()-time; t=t/1000; return t; }
  • 10. EXPLANATION OF CODE 1.The code defines three integer constants to represent the pins used for the alcohol sensor, motor, and buzzer. These constants are used throughout the code to refer to these pins. 2.In the setup() function, the code sets the pin modes for the motor, buzzer, and alcohol sensor. The motor is also turned on by setting its pin to high. 3.The loop() function continuously runs and checks whether the alcohol sensor is detecting alcohol. If it is, the code stores the current time in the time variable and enters a while loop. 4.Within the while loop, the code checks the time delay since alcohol was first detected using the TimeDelay() function. If the delay is greater than or equal to 2 seconds, the buzzer is turned off. If the delay is greater than or equal to 0 seconds, the motor is turned off. The code then waits for 1 second using the delay() function. 5.If the alcohol sensor stops detecting alcohol, the buzzer and motor are turned off. 6.The TimeDelay() function calculates the time delay in seconds between the current time and the time stored in the time variable. This delay is used to control the timing of
  • 11. WORKING 1. ONCE THE POWER SUPPLY IS ON, THE SYSTEM STARTS TO WORK (I.E. THE MOTOR STARTS TO RUN) AND IT DETECTS THE ALCOHOL CONTENT USING THE ALCOHOL SENSOR. I.E MQ3 2. THE MQ3 SENSOR USES A TIN DIOXIDE SEMICONDUCTOR LAYER THAT ABSORBS OXYGEN WHEN HEATED, FORMING A POTENTIAL BARRIER THAT PREVENTS THE FLOW OF ELECTRIC CURRENT. 3. THE PRESENCE OF ALCOHOL REDUCES THE DENSITY OF OXYGEN, CAUSING THE POTENTIAL BARRIER TO DIMINISH AND ALLOWING CURRENT TO FLOW THROUGH THE SENSOR, RESULTING IN A LOWER ANALOG RESISTANCE AND AN INCREASED VOLTAGE READING. 4. IF ALCOHOL IS DETECTED THE MQ-3 SENSOR GIVES IT OUTPUT TO THE ARDUINO WHICH ACTS AS AN INPUT FOR THE ARDUINO TO STOP AND SYSTEM STOPS TO WORK (MOTOR STOPS TO ROTATE). 5. IF ALCOHOL IS NOT DETECTED THE SYSTEM CONTINUES TO WORK