A Smart Vehicle Safety-Security System for the Prevention of Drunk Driving and Theft Based on Arduino and the Internet of Things
Abstract
1. Introduction
2. Description of the System
2.1. The Fingerprint Sensor
- Red cable: Power supply (5 V);
- Yellow cable: Digital pin 19 (RX1);
- White cable: Digital pin 18 (TX1);
- Black cable: Ground (GND).
2.2. The MQ3 Sensor
2.3. The Relay
2.4. The Arduino-Mega2560 Module
2.5. The LEDs
2.6. The Buzzer
2.7. The LCD
2.8. The GSM SIM900 Module
2.9. GPS Module
2.10. ThingSpeak
3. The Operation of the System
4. Discussion
- Use of a larger LCD screen.
- The incorporation of a smoke detector (e.g., the MQ2) given that several accidents are caused by smoking drivers, since smoking either slows down the driver’s reaction or can be the cause of fire within the vehicle.
- Visualization of the vehicle’s route on Google maps (e.g., through programming with Java and retrieving the location data from ThingSpeak).
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Luisi, L. Working principle of Arduino and using IT as a tool for study and research. Int. J. Control. Autom. Commun. Syst. 2016, 1, 21–29. [Google Scholar] [CrossRef]
- Michailidis, J.; Mountzouris, P.; Triantis, P.; Pagiatakis, G.; Papadakis, A.; Dritsas, L. An Arduino-based portable weather monitoring system, remotely usable through the mobile telephony network. Electronics 2025, 14, 2330. [Google Scholar] [CrossRef]
- Koprda, S.; Balogh, Z.; Magdin, M.; Reichel, J.; Molnar, G. The possibility of creating a low-cost laser engraver CNC machine prototype with platform Arduino. Acta Polytec. Hung. 2020, 17, 181–198. [Google Scholar] [CrossRef]
- Kondaveeti, H.K.; Kumaravelu, N.K.; Vanambathina, S.D.; Mathe, S.E.; Vappani, S. A systematic literature review on prototyping with Arduino. Comput. Sci. Rev 2021, 40, 2–28. [Google Scholar] [CrossRef]
- Berdigh, A.; Kenza, O.; Khalid, E.Y. Connected car & IoT: A review. In Advanced Intelligent Systems for Sustainable Development (AI2SD 2018): Volume 5: Advanced Intelligent Systems for Computing Sciences; Springer: Berlin/Heidelberg, Germany, 2019; pp. 928–940. [Google Scholar]
- Baghdadi, S.; Aboutabit, N. A comparative study of vehicle detection methods. In Advanced Intelligent Systems for Sustainable Development (AI2SD 2018): Volume 5: Advanced Intelligent Systems for Computing Sciences; Springer: Berlin/Heidelberg, Germany, 2019; pp. 916–927. [Google Scholar]
- Mamatha, T.; Manoj, M.; Nandini, N.; Nikhil, V.; Das, S. Smart accident detection and alert message system. Int. Res. J. Eng. Technol. 2022, 9, 35–38. [Google Scholar]
- Sehgal, V.K.; Mehrotra, S.; Marwah, H. Car security using Internet of Things. In Proceedings of the International Conference on Power Electronics, Intelligent Control and Energy Systems ICPEICES, Delhi, India, 4–6 July 2016. [Google Scholar]
- Sayyad, J.; Taha, M.; Sankpal, A. Advanced car security system. Int. J. Sci. Res. Netw. Secur. Commun. 2017, 5, 165–169. [Google Scholar]
- James, N.; Aprana, C.; Teena, J.P. Alcohol detection system. Int. J. Res. Comput. Commun. Technol. 2014, 3, 59–64. [Google Scholar]
- Malathi, M.; Sujitha, R.; Revathy, M.R. Alcohol detection and seat-belt control system using Arduino. In Proceedings of the International Conference on Innovations in Information, Embedded and Communication Systems ICIIECS, Coimbatore, India, 17–18 March 2017. [Google Scholar]
- Gasparesc, G. Driver alcohol detection system based on virtual instrumentation. In Proceedings of the International Federation of Automatic Control IFAC, Florianópolis, Brazil, 1–3 September 2018. [Google Scholar]
- Ahmad, I.; Suhaimi, M.; Yusri, N. Development of an alcohol sensor/detector with engine locking system for accident prevention. In Proceedings of the American Institute of Physics AIP, Melbourne, Australia, 4–6 December 2019. [Google Scholar]
- Bhagya Rekha, K.; Hari Priya, K.; Lakshmi Kalyani, N.; Lakshmi Deepthi, G.; Sai Srithaja, N. Smart accident prevention and identification system. Int. J. Res. Eng. Appl. Manag. 2022, 8, 92–95. [Google Scholar] [CrossRef]
- Vyavhare, V.A.; Rajarshri, K.; Pooja, K.; Pol, Y. Accident, detection, prevention and alert system. Int. J. Sci. Res. Sci. Technol. 2023, 10, 133–136. [Google Scholar]
- Vijay, J.; Saritha, B.; Priyadharshini, B.; Deepeka, S.; Laxmi, R. Drunken drive protection system. Int. J. Sci. Eng. Res. 2011, 2, 1–4. [Google Scholar]
- Adafruit, Optical Fingerprint Sensor Datasheet. Available online: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-optical-fingerprint-sensor.pdf (accessed on 25 November 2025).
- Hanwei Electronics Co., Zhengzhou, China. Technical Data, MQ3 Sensor. Available online: https://cdn.sparkfun.com/assets/6/a/1/7/b/MQ-3.pdf (accessed on 12 December 2025).
- Faranux Electronics, Kigali, Rwanda. Single Channel 5V Relay Module. Available online: https://www.faranux.com/product/single-channel-5v-relay-module-com41/ (accessed on 25 November 2025).
- Arduino-Mega2560 R3. Available online: https://docs.arduino.cc/hardware/mega-2560/ (accessed on 25 November 2025).
- Arduino IDE 1.8.12. Available online: https://blog.arduino.cc/2020/02/13/arduino-1-8-12-is-out/ (accessed on 25 November 2025).
- Grobotronics, Athens, Greece. LCD 16x2. Available online: https://grobotronics.com/basic-16x2-character-lcd-black-on-green-5v.html (accessed on 25 November 2025).
- Grobotronics, Athens, Greece. GSM/GPRS Shield for Arduino SIM900. Available online: https://grobotronics.com/gsm-gprs-shield-for-arduino-sim900.html?srsltid=AfmBOor6xLlkolNLYSfNa9j8UEDzgDh8pVctlNtQ_SoZZQ_g73-TTxzt (accessed on 25 November 2025).
- U-blox, Thawill, Switzerland. NEO-6 GPS Module. Available online: https://content.u-blox.com/sites/default/files/products/documents/NEO-6_DataSheet_%28GPS.G6-HW-09005%29.pdf (accessed on 25 November 2025).
- Learn More About Thingspeak. Available online: https://thingspeak.com/pages/learn_more (accessed on 25 November 2025).
- Wang, X.; Zhu, H.; Luo, X.; Guan, X. Data-Driven-based Detection and Localization Framework against False Data Injection Attacks in DC Microgrids. IEEE Internet Things J. 2025, 12, 36079–36093. [Google Scholar] [CrossRef]
- Abbas, Q.; Alsheddy, A. Driver fatigue detection systems using multi-sensors, smartphone, and cloud-based computing platforms: A comparative analysis. Sensors 2020, 21, 56. [Google Scholar] [CrossRef]
- Heder, M. From NASA to EU: The evolution of the TRL scale in Public Sector Innovation. Innov. J. 2017, 22, 3. [Google Scholar]
- Akritidis, G.; Dritsas, L.; Pagiatakis, G.; Papadakis, A.; Katsiris, I.; Voudoukis, N.; Karaoulanis, D.; Uzunidis, D. Use of Arduino-based projects to support education in electrical and electronic engineering. In Proceedings of the International Conference on Education and New Learning Technologies EDULEARN-25, Palma, Spain, 30 June–2 July 2025. [Google Scholar]
- Mishra, P.; Kohler, M.J. Technological pedagogical content knowledge: A framework for integrating technology in teacher knowledge. Teach. Coll. Rec. 2006, 108, 1017–1054. [Google Scholar] [CrossRef]
- Armstrong, P. Bloom’s Taxonomy; Vanterbilt University Center for Teaching: Nashville, TN, USA, 2023; Available online: https://cft.vanderbilt.edu/guides-sub-pages/blooms-taxonomy (accessed on 12 September 2023).









| Ref | Issue Addressed | Central Unit | Communication Mode |
|---|---|---|---|
| [5] | Vehicle’s weight, traffic congestion | n/a | Intra-vehicle wireless IoT |
| [6] | Detection of prohibited driving actions | n/a | n/a |
| [7] | Accident alert message | Arduino-Uno | GPS, GSM, Bluetooth |
| [8] | Theft | Arduino-Uno | GPS, GSM, IoT |
| [9] | Theft, gas leakage | Arduino | GPS, GSM, IoT |
| [10] | Drunk driving | Microcontroller | n/a |
| [11] | Drunk driving, driver not using seat-belt | Arduino | GSM, GPS (future development) |
| [12] | Drunk driving | Arduino-Uno | n/a |
| [13] | Drunk driving | Arduino-Mega | Bluetooth |
| [14] | Vehicle’ and driver’s condition including intoxication | Arduino-Uno | n/a |
| [15] | Accident prevention and detection (including alcohol sensing) | Arduino-Mega | GPS, GSM |
| [16] | Drunk driving, not using helmet | Microcontroller | GPS, GSM |
| Module | Role |
|---|---|
| Fingerprint detector | It authenticates the user by sensing his/her fingerprints. |
| MQ3 sensor | It senses alcohol in the authenticated user’s breath. |
| Relay (5 V) | It immobilizes the vehicle in case alcohol above the permissible limit is detected. |
| Arduino-Mega2560 board | It gathers the sensors’ data. |
| Light-emitting diode (LED) | It emits green or red light depending on whether the detected alcohol is below or above the permissible limit. |
| Buzzer | It is activated when the vehicle’s user is not authenticated or the detected alcohol is above the permissible limit. |
| Liquid crystal display (LCD) 16 × 2 | It displays messages regarding the fingerprint and/or alcohol sensing. |
| GPS module | It collects information about the vehicle’s location. |
| GSM SIM900 module | It transmits the collected location data to the Cloud through the mobile network. |
| Pin | Role |
|---|---|
| VCC | To be connected to a 5 V power supply. |
| GND | To be connected to the ground. |
| IN | To be connected to a digital pin of the Arduino board. Depending on the signal received from Arduino, the relay is activated or deactivated. |
| NO | Normally Open. The circuit is disconnected when the relay is off. |
| COM | Switching |
| NC | Normally closed. The circuit is connected when the relay is off. |
| Parameter | Value |
|---|---|
| Processor | Atmel ATmega-2560 |
| Processor’s frequency | 16 MHz |
| Analog inputs/outputs | 16 |
| Digital inputs/outputs (PWM output pins) | 54 (15) |
| Serial ports (UART) | 4 |
| Flash memory | 256 KB |
| EEPROM | 4 KB |
| SRAM | 8 KB |
| Operating voltage | 5 V |
| External voltage | 7–12 V |
| Dimensions | 101.52 × 53.3 mm |
| Weight | 37 g |
| Pin | Role |
|---|---|
| VDD | To be connected to a 5 V power supply. |
| VSS | To be connected to the ground. |
| V0 | Adjustment of the screen’s contrast. |
| RS | Register select. It connects to a digital I/O put of Arduino to choose whether to activate the data register (HIGH) or the command register (LOW) |
| RW | Read/Write. Choice of whether the action to the register is “read” (HIGH) or “write” (LOW). |
| E | Enable. Choice of the proper register for the writing of the data. |
| D0–D7 | Parallel transmission of 8 bits of data. Usually (and with the aim to economize Arduino’ digital pins), only the D4–D7 pins are connected to Arduino and the 8 bits are sent in two groups of four. |
| A, K | They are connected to the anode and cathode of the LED that provides the display’s backlight. K is grounded |
| Parameter | Value |
|---|---|
| Frequency band | 850/900/1800/1900 MHz |
| Technology | 2 G |
| Supply voltage | 5–12 VDC |
| Maximum supply current | 2 A |
| Idle state current | 30 mA |
| Temperature of operation | −40 °C to 80 °C |
| Interface | UART (default: 115,200 bps at 3.3/5 V) |
| Parameter | Value |
|---|---|
| Central frequency | 1575 MHz |
| Bandwidth | ±5 MHz |
| Gain | 0 dM |
| Sensitivity | −161 dBm |
| Time to first-fix | 1 s (hot) to 27 s (cold) |
| Horizontal position accuracy | 2–2.5 m |
| Velocity accuracy | 0.1 m/s |
| Operating temperature | −40 °C to 85 °C |
| Dimensions | 16 × 12.2 × 2.4 mm |
| Weight | 4 g |
| Component | Voltage (V) | Current (mA) | Power Consumed (mW) |
|---|---|---|---|
| Fingerprint sensor | 5 | 55.1 | 275.5 |
| MQ3 sensor | 5 | 108 | 540 |
| Arduino-Mega2560 | 5 | 70 | 350 |
| LED 1 | 5 | 8.9 | 44.5 |
| LED 2 | 5 | 8.9 | 44.5 |
| Buzzer | 5 | 3.8 | 19 |
| Relay (5 V) | 5 | 61.2 | 306 |
| LCD display | 5 | 12.5 | 62.5 |
| GPS module | 3.3 | 29.9 | 98.67 |
| GSM SIM900 module | 5 | 515 | 6180 |
| TOTAL | --- | 873.3 | 7920 |
| Component | Cost (€) 1 |
|---|---|
| Fingerprint sensor | 36.00 |
| MQ3 sensor | 5.00 |
| Arduino-Mega2560 | 40.00 |
| LEDs | 3.00 |
| Buzzer | 1.00 |
| LCD display | 7.00 |
| Relay (5 V) | 2.00 |
| GPS module | 20.00 |
| GSM SIM900 module | 30.00 |
| Data package | 15.00 |
| Breadboard | 5.00 |
| Remote-controlled miniature vehicle | 15.00 |
| Miscellaneous (cables etc.) | 11.00 |
| TOTAL COST | 190.00 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Mountzouris, P.; Papadakis, A.; Pagiatakis, G.; Dritsas, L.; Voudoukis, N.; Nanos, K. A Smart Vehicle Safety-Security System for the Prevention of Drunk Driving and Theft Based on Arduino and the Internet of Things. Electronics 2026, 15, 70. https://doi.org/10.3390/electronics15010070
Mountzouris P, Papadakis A, Pagiatakis G, Dritsas L, Voudoukis N, Nanos K. A Smart Vehicle Safety-Security System for the Prevention of Drunk Driving and Theft Based on Arduino and the Internet of Things. Electronics. 2026; 15(1):70. https://doi.org/10.3390/electronics15010070
Chicago/Turabian StyleMountzouris, Petros, Andreas Papadakis, Gerasimos Pagiatakis, Leonidas Dritsas, Nikolaos Voudoukis, and Kostas Nanos. 2026. "A Smart Vehicle Safety-Security System for the Prevention of Drunk Driving and Theft Based on Arduino and the Internet of Things" Electronics 15, no. 1: 70. https://doi.org/10.3390/electronics15010070
APA StyleMountzouris, P., Papadakis, A., Pagiatakis, G., Dritsas, L., Voudoukis, N., & Nanos, K. (2026). A Smart Vehicle Safety-Security System for the Prevention of Drunk Driving and Theft Based on Arduino and the Internet of Things. Electronics, 15(1), 70. https://doi.org/10.3390/electronics15010070

