
In as we speak’s world, the devastating penalties of accidents brought on by drunk driving proceed to make headlines. Drawing inspiration from real-life knowledge, a outstanding venture referred to as the “Superior Alcohol Detector” has been developed, using an array of parts together with the Arduino Uno, Neo 6M GPS module, LEDs, buzzers, OLED show, jumper wires, and breadboard. This progressive creation goals to revolutionize highway security by actively stopping accidents ensuing from alcohol impairment. So this projcect is designed to stop such accidents.
On the core of this venture is an easy-to-read OLED show and Arduino is used a speedometer. Moreover, the venture incorporates LED indicators and buzzers as intuitive communication instruments. When alcohol impairment is detected by the extremely delicate MQ3 alcohol sensor and the extent of alcohol is bigger than the edge worth then the LEDs blink and the buzzers emit distinctive sounds, This alert continues till the reset button is pressed, guaranteeing that the driving force acknowledges their impaired state and takes acceptable motion. Moreover you may also connect the speedometer if you wish to this technique so the system test pace of car. By default it exhibits a random pace in code.
Moreover, a Neo 6M GPS module to is used for that may give choice to increase the venture for real-time monitoring of the car’s location. A Raspberry pi or any laptop computer may be hooked up with system. Within the occasion of alcohol impairment detection, the venture sends an e mail to a predetermined handle, together with the exact location info obtained from the GPS module.

Invoice Of Materials
parts required in venture is listed in desk 1 .
COMPONENTS | Amount |
ARDUINO UNO ( Mod 1) | 1 |
JUMPER WIRES | 20 |
BREADBOARD | 1 |
MQ3 SENSOR ( S2) | 1 |
NEO 6M GPS MODULE (S1) | 1 |
LEDs (L1,L2,L3,L4) | 4 |
BUZZER (B1,B2) | 2 |
OLED OF 0.96 INCHES (Mod 2) | 1 |
Coding
The venture software program is made in Arduino IDE. First the mandatory library required in cde are want to put in. Utilizing the the library supervisor ie present in sketch choice on high menu bar of Arduino IDE “TinyGPS++.h, Adafruit_GFX.h, Adafruit_SSD1306.h” library are put in.
Then the library is insislized within the code after which then the alcohol detetion operate within the loop operate right here in code random pace is ready for demonestration with pace you’ll be able to change the code and implement with nay speedometer to ge pace . in any other case the code works with alcohol sensor with random pace restrict set in code ..
You possibly can obtain the entire code from electronics for you after which add the code by seleting the best com port and board .
Now after importing the if you would like then you’ll be able to extednt the venture to ship the e-mail when drunk drive is deteted. For this operate the python is used and it could actually both be run in your laptop computer for testing and demonstration and for precise implementation the Raspberry pi / jetson or any related small SBC can be utilized.

In python code the serial and the smtp library must be put in and fater that in python cod eyou can chak the incommesage from the serial port if the message comprises the excessive alcohol worth then it can ship the meaasge to e mail set in code. the e-mail of sender and password of sender and the receiver e mail wanted to be set in code refer fig 3.

In e mail yo nee to some settings in an effort to permit the bot o ship e mail as a result of safety situation so following steps are taked for that
Making a third-party app password
Activate 2-step verification on your Google account:
- Go to your Google Account and choose Safety.
- Beneath “Signing in to Google,” choose 2-Step Verification and comply with the on-screen steps.
Generate an app password:
- Go to your Google Account and choose Safety.
- Beneath “Signing in to Google,” choose 2-Step Verification.
- Scroll down and choose App passwords.
- Enter a reputation to determine the place you’ll use the app password.
- Choose Generate and comply with the on-screen directions.
- The app password shall be a 16-character code that seems in your system.
- Choose Performed to finish the method.
Now you’re able to proceed with the remainder of the steps in your venture.
Connections


Tetsing
Now plug the system in laptop computer and test the comport change the comport in python code advert run the python code . Now carry the alcohol close to the sensor it detet the alchol and the it alert with buzzer after that it ship the e-mail to deal with set in code you open opne e mail and test the e-mail having the placement of drunk and drive detected .you’ll be able to chek the loaction place on google maps

