Iot Alcohol
Iot Alcohol
Iot Alcohol
Abstract : This system is designed to detect the alcohol level in the body of the person who is driving car and avoid
accidents occurring due to drunk and driving. The proposed system is going to detect whether the person who is driving car
is drunk or not and we are going to control the vehicle. This can be done using raspberry pi. If the person is drunk means
car is automatically slowed down or speed is reduced based on the traffic. Ultrasonic sensors are used to detect whether
any vehicles are present in the front or back of the car. From this sensor reading if any vehicle is present car is slowed or if
any vehicles are not present means car is stopped. Along with drunk and drive detection drowsy driving can also be
detected using this system. This can be done using eye blink sensor. It is used to capture the eye lid movement and if the
eye is closed for longer time vehicle‟s speed is controlled based on ultrasonic sensor. This will reduce the accidents. If in
case of any accident vibration sensor notices the accident. In case of any accident an alert message is sent to the family
members.
Keywords: Alcohol detection, raspberry pi, alcohol sensor, ultrasonic sensor, eye blink sensor.
Bhuta et al [2] proposed “Alcohol Detection and Vehicle Sarkar et al [7] proposed “A Real Time Embedded
Controlling”. Arduino is used in this system. An alcohol System Application for Driver Drowsiness and Alcoholic
detector and GPS module, GSM module are connected to Intoxication Detection”. This system uses embedded
the arduino board. When the alcohol level in the driver‟s system. This system consists of 5 megapixel camera with
4303
International Journal of Pure and Applied Mathematics Special Issue
b. CIRCUIT DIAGRAM
4304
International Journal of Pure and Applied Mathematics Special Issue
j. text = msg.as_string()
k. server.sendmail(from, to, text)
l. print "mail sent"
m. server.quit()
5.repeat
i. alcohol sensor:
a. i=GPIO.input(11)
b. if i==0 then
c. print "alcohol not detected"
d. sleep(1)
e. else if i==1:
f. print "alcohol detected"
g. sleep(1)
h. mail()
Fig.2. circuit diagram
ii. vibration sensor:
The above diagram (Fig.2.) shows the circuit diagram for a. i=GPIO.input(12)
the proposed system. b. if i==0 then
c. print "vibration not detected"
VI. MONITORING THE SPEED OF VEHICLE d. sleep(1)
e. else if i==1:
1. Whenever the person starts the vehicle this f. print "vibration detected"
system starts working. g. sleep(1)
2. Check the alcohol level using alcohol sensor. If h. mail()
BAC (Blood Alcohol Level) is greater than
0.02% then check the ultra sonic sensor reading. iii. eye blink sensor
3. If the ultrasonic sensor‟s reading is greater than a. i=GPIO.input(13)
1m stop the vehicle else slow down the speed of b. if i==0 then
the vehicle and again check the ultrasonic c. print "person not sleeping"
sensor‟s reading. d. sleep(1)
4. If there is no alcohol in the body , check for e. else if i==1:
drowsy driving using eye blink sensor. f. print "person sleeping"
5. If the eye is closed for 5 sec then check for any g. sleep(1)
accident using vibration sensor. If there is any h. mail()
accident send the alert message.
6. If there is no accident means repeat step 3. VII. RESULTS AND DISSCUSSIONS
4305
International Journal of Pure and Applied Mathematics Special Issue
1. Alcohol Reduce the speed of the system is now implemented in cars or any four wheelers.
condition(Threshold vehicle to minimum set In future it can be implemented in two wheelers also. It
level 500) && value can also be used in any organization to detect drunken
Ultrasonic persons. In addition to this GPS module can also be used
condition(if any
vehicle in 1m dist) to detect the location of vehicle if alcohol content is found
2. Alcohol Stop the vehicle and send in the body.
condition(Threshold the alert message
level 500) && REFERENCES
Ultrasonic
condition(if no [1] Dai, Jiangpeng, Jin Teng, Xiaole Bai, Zhaohui Shen,
vehicle in 1m dist) and Dong Xuan. "Mobile phone based drunk driving
3 Eye Blinking(Eye Reduce the speed of the detection." In Pervasive Computing Technologies for
remains closed for 5 vehicle to minimum set Healthcare (PervasiveHealth), 2010 4th International
Sec) && Ultrasonic value Conference on-NO PERMISSIONS, pp. 1-8. IEEE, 2010.
condition(if any [2] Bhuta, Pratiksha, Karan Desai, and Archita Keni.
vehicle in 1m dist) "Alcohol Detection and Vehicle Controlling."
4. Eye Blinking(Eye Stop the vehicle and send International Journal of Engineering Trends and
remains closed for 5 the alert message Applications (IJETA) 2, no. 2 (2015): 92-97.
Sec) && Ultrasonic [3] Gupta, Abhishek, Shriram Ojha, Vikash Kumar,
condition(if no Vikrant Singh, Vipin Malav, and Ramnagariya
vehicle in 1m dist) Gramothan. "Alcohol Detection with Vehicle
Vibration sensor Send alert message Controlling." International Journal of Engineering and
5.
condition(Accident Management Research 6 (2016).
condition) [4] Goswami, Tanmoy D., Shrinivas R. Zanwar, and
Zafar Ul Hasan. "Android based rush and drunk driver
For all above conditions location of the vehicle
alerting system." International Journal of Engineering
can be found out through GPS module.
Research and applications, Page (s) (2014): 1-4.
[5] Phalak, Piyush Vinay, Shashank Kowekar, and Shruti
Joshi. "Smartphone and Sensor Based Drunk Driving
Prevention System."
Fig.3.Chart showing alcohol sensor and number of
[6] Sarkar, Dwipjoy, and Atanu Chowdhury. "A real time
units measured by it embedded system application for driver drowsiness and
alcoholic intoxication detection." International Journal Of
800 Engineering Trends and Technology (IJETT) 10 (2014).
700 [7] Savania, Vijay, Hardik Agravata, and Dhrumil Patela.
600 "Alcohol Detection and Accident Prevention of Vehicle."
International Journal of Innovative and Emerging
500 Research in Engineering Vol.2, no. 3 (2015),pp. 55-59.
normal
400 [8] Deshmukh, S. V., D. P. Radake, and K. N. Hande.
threshold "Driver fatigue detection using sensor network." Int. J.
300
high Eng. Sci. Technol (2011): 89-92.
200 [9] Albert Mayan J, Kuldeep Anand D.S, Neha
100 Sadhvi,"Efficient and secure server migration on cloud
storage with VSM and dropbox services", International
0
Conference on Information Communication and
alcohol sensor Embedded Systems (ICICES), Chennai , pp. 1-5,2017
[10]B.Bharathi and Mahesh kumar (2016), „Non invasive
BG scrutinizer system‟, Global Journal of Pure and
In the above chart (Fig.3.) x-axis denotes the sensor and y Applied Mathematics, vol.12, No: 8, pp. 5123 – 5125
axis denotes the number of units measured by it. Blue [11]Surendar E, Thomas V.M, Posonia A.M ,"Animal
tracking using background subtraction on multi threshold
coloured bar indicates a low level of alcohol. Red coloured
segmentation ", Proceedings of IEEE International
bar indicates the threshold value. Green coloured bar Conference on Circuit, Power and Computing
indicates the high level of alcohol. Technologies, ICCPCT, 2016 .
4306
4307
4308