Vehicle-mounted alcohol detection system based on Internet of Things

By integrating alcohol detection sensors and motion detection sensors using IoT technology, real-time monitoring of the vehicle's interior environment and driver status can be achieved. This overcomes the limitations of traditional devices, enabling timely alerts to vehicle owners and their families, reducing the risk of traffic accidents caused by drunk driving, and improving road safety.

CN223711617UActive Publication Date: 2025-12-23江苏锦花电子股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422524380.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-12-23
Estimated Expiration
2034-10-18

AI Technical Summary

Technical Problem

Traditional alcohol detection devices can only issue local alerts and cannot perform complex data processing and remote information transmission. This limits their effectiveness in alerting drivers or those around them, and makes it difficult to promptly notify vehicle owners or other relevant parties to take action, thus increasing traffic safety hazards.

Method used

Design an IoT-based in-vehicle alcohol detection system, including a data acquisition module, an alcohol monitoring module, and a safety alarm module. Utilize an ESP32C3F main control chip to analyze sensor data, process and transmit the data remotely via the cloud, and alert the driver and notify the vehicle owner and emergency contacts when an alcohol concentration exceeds the legal limit via an audible and visual alarm device.

Benefits of technology

It enables real-time monitoring of the vehicle's internal environment and the driver's condition, breaking through the limitations of traditional devices. It can promptly send alerts to vehicle owners and their families, reducing the risk of traffic accidents caused by drunk driving and improving road safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223711617U_ABST
    Figure CN223711617U_ABST
Patent Text Reader

Abstract

The utility model discloses a vehicle-mounted alcohol detection system based on Internet of Things, which belongs to the technical field of intelligent traffic safety monitoring and Internet of Things, and comprises a data acquisition module, an alcohol monitoring module, a cloud end and a safety alarm module, the data acquisition unit obtains motion data of a vehicle in the running process and the concentration, temperature and humidity of alcohol exhaled by a driver through a sensor, and transmits the data to the alcohol monitoring module; the alcohol monitoring module analyzes the received data through an ESP32C3F main control chip, detects the concentration of alcohol exhaled by a driver, and judges the acceleration and deceleration of a vehicle in a motion state; the cloud end is used for receiving, analyzing and displaying the detection data transmitted by the alcohol monitoring module; and the safety alarm module performs audible and visual alarm according to a monitoring result, and notifies a vehicle owner and an emergency contact person through the cloud in case of danger, so that potential safety hazards caused by drunk driving are effectively prevented.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to intelligent traffic safety monitoring and internet of things technical field, concretely is a kind of vehicle alcohol detection system based on internet of things. BACKGROUND

[0002] With the development of internet of things technology, intelligent device gradually changes towards network, intelligent, and intelligent traffic, as one of the important application fields of internet of things, can effectively improve the safety, efficiency and intelligent level of traffic system by the combination of various sensors and communication technology, especially in the field of drunk driving prevention, using internet of things technology can realize remote transmission, real-time monitoring and early warning of alcohol detection data, help relevant personnel to take measures in time, avoid potential safety hazards.

[0003] However, the traditional alcohol detection device has limitations, and the existing alcohol detection device generally adopts the mode of combining 8-bit or 32-bit single-chip microcomputer with alcohol sensor for alcohol concentration detection, and such device generally only has simple detection function, and when detecting that the alcohol content of driver exceeds the standard, it usually issues a prompt through an audible and visual alarm to remind the driver to pay attention to safety, however, the main problem of such traditional device is that its detection function is relatively single, and it can only perform local alarm, and cannot realize complex data processing and remote information transmission, so that the reminding effect of the device on the driver or surrounding personnel is limited, and the vehicle owner or other relevant parties cannot be notified in time to take further measures, increasing the traffic safety hazard. UTILITY MODEL CONTENT

[0004] The utility model aims at providing a kind of vehicle alcohol detection system based on internet of things to solve the problems raised in the above background technology.

[0005] To achieve the above object, the utility model provides the following technical scheme: a kind of vehicle alcohol detection system based on internet of things, the system includes: data acquisition module, alcohol monitoring module, cloud and safety alarm module, the data acquisition module obtains the motion data of vehicle in running process and the alcohol concentration and temperature and humidity of driver's exhalation by sensor, and data is transmitted to alcohol monitoring module;The alcohol monitoring module analyzes the received data by ESP32C3F master control chip, detects the alcohol concentration of driver's exhalation, and judges the acceleration and deceleration under the motion state of vehicle;The cloud is used to receive and analyze the detection data transmitted by alcohol monitoring module, and the temperature and humidity, vehicle state and alcohol concentration data collected by sensor are displayed in digital form and curve chart, while storing historical data, generating analysis report, and transmitting detection result to emergency contact person;The safety alarm module according to the monitoring result of alcohol monitoring module, when alcohol concentration exceeds the set safety threshold, informs the driver of the risk of drunk driving through audible and visual alarm device, and notifies the owner himself and relatives through the cloud.

[0006] Further, the data acquisition module comprises a temperature and humidity data acquisition unit, a motion data acquisition unit and an alcohol data acquisition unit, the temperature and humidity data acquisition unit obtains the gas exhaled by the driver through the temperature and humidity sensor DHT11 and transmits it to the ESP32C3F master control chip through the interface; the motion data acquisition unit obtains the acceleration and deceleration in the vehicle motion state through the MPU6050 motion sensor, and the alcohol data acquisition unit detects the alcohol concentration exhaled by the vehicle driver in real time through the MQ3 alcohol sensor.

[0007] Further, the MPU6050 motion sensor comprises a GYRO_INT pin, a communication interface I2C_SCL5, a communication interface I2C_SDA5, a logic power supply VDD1V8_EXT, a working power supply DC33V, capacitors C107, C108, C109 and C110.

[0008] Further, the GYRO_INT pin is used to detect the interrupt signal of the motion state and transmit the signal to the input pin of the motion data acquisition unit, and the communication interface I2C_SCL5 and the communication interface I2C_SDA5 are used for data communication with the ESP32C3F master control chip, and the acceleration and deceleration of the vehicle motion state collected by the MPU6050 motion sensor are transmitted, the capacitors C107 and C108 are connected on the working power supply DC33V and the logic power supply VDD1V8_EXT power supply line respectively, and are connected in parallel with the ground wire, the capacitor C109 is connected between the CLKOUT pin of the MPU6050 and the ground, and the capacitor C110 is connected between the REGOUT pin of the MPU6050 and the ground.

[0009] Further, the alcohol monitoring module collects and processes data through the ESP32C3F master chip, and the alcohol monitoring module is composed of an ESP32C3F master chip, a TXD0 pin, an RXD0 pin, a GPIO pin, an ADC0 pin, an ADC1 pin, a power voltage 3V3, a resistor R5, a resistor R6 and a capacitor C8, the first end of the resistor R5 and the resistor R6 is connected to the power voltage 3V3, the second end of the resistor R5 is connected to the RXD1 pin of the ESP32C3F master chip, the second end of the resistor R6 is connected to the RXD0 pin of the ESP32C3F master chip, the first end of the capacitor C8 is connected to VCC, and the second end of the capacitor C8 is grounded, the ESP32C3F master chip is connected with a plurality of sensors and devices through the GPIO pin, specifically including: the ESP32C3F master chip GPIO2 pin is connected with the MQ3 alcohol sensor, the ESP32C3F master chip GPIO3 pin is connected with the temperature and humidity sensor DHT11, the ESP32C3F master chip GPIO7 pin is connected with the relay, the ESP32C3F master chip GPIO9 pin is connected with the download circuit, and the ESP32C3F master chip GPIO18 pin is connected with the power indicator light.

[0010] Further, the cloud platform connected with the ESP32C3F master chip is the mobile ONENET platform, the temperature data in the vehicle, the environmental humidity data, the acceleration and deceleration of the vehicle motion state and the alcohol concentration data value exhaled by the vehicle driver are uploaded to the cloud by taking the average value in the form of TCP transparent transmission, and the values detected by the sensor are displayed in the form of digital and curve graph on the cloud webpage by setting the data flow template.

[0011] Further, the alcohol monitoring module includes a driver detection unit, a vehicle running condition unit and an alcohol concentration detection unit, the driver detection unit detects the gas exhaled by the driver according to the temperature and humidity sensor, when the exhaled temperature detected is greater than the set exhaled temperature threshold, it indicates that the driver is seated in the main driving position, the vehicle running condition unit judges the vehicle running condition according to the MPU6050 motion sensor, when the vehicle is in the running condition and the driver detection unit detects that the driver is seated in the main driving position, the MQ3 alcohol sensor is started to detect the alcohol concentration exhaled by the driver in real time.

[0012] Further, the safety alarm module comprises an audible and visual alarm unit and a car accident detection unit. The audible and visual alarm unit informs the driver of the risk of drunk driving through an audible and visual alarm device. Specifically, when the ethanol concentration is greater than or equal to 10 mg / 100 ml and less than 20 mg / 100 ml, the loudspeaker will issue a voice prompt: "It is detected that you have the behavior of driving after drinking, it is suggested that you take public transportation or seek help from a driver"; when the ethanol concentration is greater than or equal to 20 mg / 100 ml and less than 75 mg / 100 ml, the loudspeaker will issue a voice prompt: "You have driven after drinking, please park and turn off the engine for the safety of you and others, please take public transportation or seek help from a driver"; when the ethanol concentration is greater than or equal to 75 mg / 100 ml, the loudspeaker will issue a voice prompt: "You have driven after drinking, please park and turn off the engine for the safety of you and others, please take public transportation or seek help from a driver".

[0013] Further, the car accident detection unit uses the MPU6050 motion sensor to obtain the acceleration and deceleration in the motion state of the vehicle, and transmits the digital signal converted by the ADC to the ESP32C3F master chip to judge the value of the deceleration. When the deceleration exceeds the set safe driving threshold, the ESP32C3F master chip uploads the danger information to the cloud, and the cloud automatically notifies the emergency contact person through the ways of SMS, WeChat message or telephone reminder.

[0014] The monitoring process of the vehicle-mounted alcohol detection system based on the Internet of Things is as follows: after the vehicle starts the 5V power supply input, the system enters the initialization and self-detection mode, the ESP32C3F starts to configure the network, and the authentication password information is uploaded to the cloud, the cloud receives the correct data and issues a network configuration success instruction, and then the cloud display device has logged in, at this time the system is formally started; the temperature and humidity sensor starts to detect the gas exhaled by the driver in real time, when the exhaled temperature is greater than 30 degrees, it is judged that the driver seat has a driver seated, then the MQ3 alcohol sensor is started to detect the alcohol concentration of the exhaled gas of the driver in real time, when the exhaled gas is not detected but the alcohol concentration is detected to exceed the standard, considering that the sensor detects alcohol wipes, flower water and perfume, the system will not issue a warning; when the exhaled gas contains alcohol, and the MPU6050 motion sensor detects that the vehicle is in the process of driving, the alcohol concentration in the exhaled gas is judged, when the alcohol concentration is greater than or equal to 10mg / 100ml and less than 20mg / 100ml, the audible and visual alarm device issues the voice prompt of "detecting that you have the behavior of driving after drinking, it is suggested that you take public transportation or seek help for driving"; when the alcohol concentration is greater than or equal to 20mg / 100ml and less than 75mg / 100ml, the audible and visual alarm device issues the voice prompt of "you have driven after drinking, in order to protect your and others' life safety, please park and turn off the engine, please take public transportation or seek help for driving"; when the alcohol concentration is greater than or equal to 75mg / 100ml, the audible and visual alarm device issues the voice prompt of "you have driven after drinking, in order to protect your and others' life safety, please park and turn off the engine, please take public transportation or seek help for driving"; when the alcohol concentration is greater than 20mg / 100ml, it is judged as driving after drinking, and the recognized value is uploaded to the cloud through the ESP32C3F master control chip by taking the average value, the cloud will push the message to the vehicle owner and family members through the message, public number message and incoming call; the MPU6050 motion sensor converts the acceleration and deceleration of the vehicle motion state into digital signals through ADC and transmits them to the ESP32C3F master control chip, judges the value of deceleration, when it is judged that the set safety driving threshold is exceeded, the ESP32C3F master control chip uploads the danger information to the cloud, and the cloud sends the vehicle state to the emergency contact person through the short message, public number message and incoming call.

[0015] Compared with the prior art, the utility model has reached the beneficial effect that:

[0016] 1. The utility model discloses a kind of vehicle-mounted alcohol detection systems based on Internet of Things, including alcohol detection sensor, motion detection sensor, temperature and humidity sensor, alcohol detection sensor is used to detect the alcohol concentration of driver, motion detection sensor is used to detect the motion state of vehicle, temperature and humidity sensor is used to detect the temperature and humidity of vehicle interior, and the system is connected with the cloud through Internet of Things technology, and the data collected by sensor is uploaded to the cloud, and the data is analyzed and processed quickly, break through the limitation that traditional alcohol detection device can only local alarm, once detecting drunk driving or dangerous driving behavior, timely send alarm to vehicle owner and his family, this real-time data processing and feedback mechanism effectively improve the response speed of system, help vehicle owner and his family take preventive measures in time, avoid security risks.

[0017] 2, motion detection sensor can continuously monitor the motion state of vehicle, especially in the case of collision and sudden emergency brake, the vehicle-mounted alcohol detection system based on Internet of Things can immediately issue an alarm, and notify the vehicle owner or emergency contact, this function not only helps to prevent accidents caused by drunk driving, but also provides emergency reminder when collision accident occurs, effectively protects the safety of vehicle and personnel.

[0018] 3, when alcohol detection sensor detects that the alcohol concentration of driver exceeds safety standard, the system will warn the driver through sound and light alarm mode, prompt the potential risk of drunk driving, remind the driver to stop driving, in addition, the family members or emergency contact of vehicle owner are linked, and alarm is sent through wireless network, further strengthen protection measures, this early warning function aims to reduce the risk of traffic accidents caused by drunk driving, so as to improve road safety. BRIEF DESCRIPTION OF DRAWINGS

[0019] Fig. 1 It is the structure diagram of the utility model discloses a kind of vehicle-mounted alcohol detection systems based on Internet of Things;

[0020] Fig. 2 It is the circuit schematic diagram of MPU6050 of the utility model discloses a kind of vehicle-mounted alcohol detection systems based on Internet of Things;

[0021] Fig. 3 It is the circuit schematic diagram of ESP32C3F of the utility model discloses a kind of vehicle-mounted alcohol detection systems based on Internet of Things. DETAILED DESCRIPTION

[0022] The technical scheme in the embodiments of the utility model will be described clearly and completely in conjunction with the drawings in the embodiments of the utility model, and obviously, the described embodiments are only part of the embodiments of the utility model, not all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of protection of the utility model.

[0023] As Figs. 1-3The utility model provides a technical scheme: a vehicle alcohol detection system based on internet of things, the system includes: data acquisition module, alcohol monitoring module, cloud and safety alarm module, the data acquisition module obtains the motion data and the alcohol concentration and temperature and humidity of driver exhaling through sensor in the running process of vehicle, and passes data to alcohol monitoring module, the alcohol monitoring module passes through ESP32C3F host chip analysis received data, detects the alcohol concentration of driver exhaling, and judges the acceleration and deceleration under the motion state of vehicle, the cloud is used for receiving and analyzing the detection data of alcohol monitoring module transmission, the temperature and humidity, vehicle state and alcohol concentration data of sensor collection are with digital form and curve chart display, store historical data simultaneously, generate analysis report, and transmit detection result to emergency contact person, the safety alarm module according to the monitoring result of alcohol monitoring module, when alcohol concentration exceeds the safety threshold value set, through sound and light alarm device informs the risk of drunk driving of driver, and informs the owner and relatives through cloud.

[0024] Data acquisition module includes: temperature and humidity data acquisition unit, motion data acquisition unit and alcohol data acquisition unit, the temperature and humidity data acquisition unit obtains the gas of driver exhaling through temperature and humidity sensor DHT11, and passes through interface to ESP32C3F host chip, the motion data acquisition unit obtains the acceleration and deceleration under the motion state of vehicle through MPU6050 motion sensor, the alcohol data acquisition unit detects the alcohol concentration of vehicle driver exhaling in real time through MQ3 alcohol sensor.

[0025] MPU6050 motion sensor includes GYRO_INT pin, communication interface I2C_SCL5, communication interface I2C_SDA5, logic power supply VDD1V8_EXT, working power supply DC33V, capacitor C107, capacitor C108, capacitor C109 and capacitor C110.

[0026] GYRO_INT pin is used to detect the interrupt signal of motion state, and passes the signal to the input pin of motion data acquisition unit, carries out data communication with ESP32C3F host chip through communication interface I2C_SCL5 and communication interface I2C_SDA5, passes the acceleration and deceleration of vehicle motion state collected by MPU6050 motion sensor, capacitor C107 and capacitor C108 are connected on working power supply DC33V and logic power supply VDD1V8_EXT power supply circuit respectively, and are connected in parallel with ground wire, capacitor C109 is connected between the CLKOUT pin of MPU6050 and ground, and capacitor C110 is connected between the REGOUT pin of MPU6050 and ground.

[0027] The alcohol monitoring module collects and processes data through the ESP32C3F master chip, and the alcohol monitoring module is composed of an ESP32C3F master chip, a TXD0 pin, an RXD0 pin, a GPIO pin, an ADC0 pin, an ADC1 pin, a power voltage 3V3, a resistor R5, a resistor R6 and a capacitor C8, the first end of the resistor R5 and the resistor R6 is connected with the power voltage 3V3, the second end of the resistor R5 is connected with the RXD1 pin of the ESP32C3F master chip, the second end of the resistor R6 is connected with the RXD0 pin of the ESP32C3F master chip, the first end of the capacitor C8 is connected with VCC, and the second end of the capacitor C8 is grounded, the ESP32C3F master chip is connected with a plurality of sensors and devices through the GPIO pin, specifically including: the ESP32C3F master chip GPIO2 pin is connected with the MQ3 alcohol sensor, the ESP32C3F master chip GPIO3 pin is connected with the temperature and humidity sensor DHT11, the ESP32C3F master chip GPIO7 pin is connected with the relay, the ESP32C3F master chip GPIO9 pin is connected with the download circuit, and the ESP32C3F master chip GPIO18 pin is connected with the power indicator light.

[0028] The cloud platform connected with the ESP32C3F master chip is a mobile ONENET platform, the temperature data in the vehicle, the environmental humidity data, the acceleration and deceleration of the vehicle motion state and the alcohol concentration data value exhaled by the vehicle driver are uploaded to the cloud by using the TCP transparent transmission mode in the form of taking the average, and the values detected by the sensor are displayed in the form of digital and curve graph on the cloud webpage by setting the data stream template.

[0029] The alcohol monitoring module includes a driver detection unit, a vehicle running condition unit and an alcohol concentration detection unit, the driver detection unit detects the gas exhaled by the driver according to the temperature and humidity sensor, when the exhaled temperature detected is greater than the set exhaled temperature threshold, it indicates that the driver is seated in the main driving position, the vehicle running condition unit judges the vehicle running condition according to the MPU6050 motion sensor, when the vehicle is in the running condition and the driver detection unit detects that the driver is seated in the main driving position, the MQ3 alcohol sensor is started, and the alcohol concentration exhaled by the driver is detected in real time.

[0030] The safety alarm module comprises an audible and light alarm unit and a car accident detection unit. The audible and light alarm unit informs the driver of the risk of drunk driving through an audible and light alarm device. Specifically, when the ethanol concentration is greater than or equal to 10 mg / 100 ml and less than 20 mg / 100 ml, the loudspeaker will issue a voice prompt: "It is detected that you have the behavior of driving after drinking, it is suggested that you take public transportation or seek help from a driver"; when the ethanol concentration is greater than or equal to 20 mg / 100 ml and less than 75 mg / 100 ml, the loudspeaker will issue a voice prompt: "You have driven after drinking, please park and turn off the engine for the safety of you and others, please take public transportation or seek help from a driver"; when the ethanol concentration is greater than or equal to 75 mg / 100 ml, the loudspeaker will issue a voice prompt: "You have driven after drinking, please park and turn off the engine for the safety of you and others, please take public transportation or seek help from a driver".

[0031] The car accident detection unit obtains the acceleration and deceleration in the motion state of the vehicle by using the MPU6050 motion sensor, and transmits the digital signal converted by the ADC to the ESP32C3F master chip to judge the value of the deceleration. When the deceleration exceeds the set safe driving threshold, the ESP32C3F master chip uploads the danger information to the cloud, and the cloud automatically notifies the emergency contact person through the ways of SMS, WeChat message or telephone reminder.

[0032] The monitoring process of the vehicle-mounted alcohol detection system based on the Internet of Things is as follows: after the vehicle starts the 5V power supply input, the system enters the initialization and self-detection mode, the ESP32C3F starts to configure the network, and the authentication password information is uploaded to the cloud, the cloud receives the correct data and issues a network configuration success instruction, and then the cloud display device has logged in, at this time the system is formally started; the temperature and humidity sensor starts to detect the gas exhaled by the driver in real time, when the exhaled temperature is greater than 30 degrees, it is judged that the driver seat has a driver, then the MQ3 alcohol sensor is started to detect the alcohol concentration of the driver in real time, when the exhaled gas is not detected but the alcohol concentration is detected, considering that the sensor detects alcohol wipes, flower water and perfume, the system will not issue a warning; when the exhaled gas contains alcohol, and the MPU6050 motion sensor detects that the vehicle is in the process of driving, the alcohol concentration in the exhaled gas is judged, when the alcohol concentration is greater than or equal to 10mg / 100ml and less than 20mg / 100ml, the audible and light alarm device issues the voice prompt: "detecting that you have the behavior of driving after drinking, it is suggested that you take public transportation or seek help for driving", when the alcohol concentration is greater than or equal to 20mg / 100ml and less than 75mg / 100ml, the audible and light alarm device issues the voice prompt: "you have driven after drinking, in order to protect your and others' life safety, please park and turn off the engine, please take public transportation or seek help for driving", when the alcohol concentration is greater than or equal to 75mg / 100ml, the audible and light alarm device issues the voice prompt: "you have driven after drinking, in order to protect your and others' life safety, please park and turn off the engine, please take public transportation or seek help for driving"; when the alcohol concentration is greater than 20mg / 100ml, it is judged as driving after drinking, and the recognized value is uploaded to the cloud through the ESP32C3F master control chip by taking the average value, the cloud will push the message according to the contact way reserved by the vehicle owner, and the message is pushed to the vehicle owner and family members through short message, public number message and incoming call; the acceleration and deceleration of the vehicle motion state of the MPU6050 motion sensor are converted into digital signals through ADC and transmitted to the ESP32C3F master control chip, the value of the deceleration is judged, when it is judged that the set safety driving threshold is exceeded, the ESP32C3F master control chip uploads the danger information to the cloud, and the cloud sends the vehicle state to the emergency contact person through short message, public number message and incoming call.

[0033] It is apparent for a person skilled in the art that the present application is not restricted to the details of the above exemplary embodiments, but that it can be implemented in other concrete forms without departing from the spirit or the essential characteristics of the present application. Therefore, the embodiments should be considered as exemplary only, and not limiting, the scope of the present application being defined by the appended claims rather than the above description, and all changes coming within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims should not be construed as limiting the claims concerned.

Claims

1. An Internet of Things-based vehicle-mounted alcohol detection system, characterized in that, The system includes a data acquisition module, an alcohol monitoring module, a cloud platform, and a safety alarm module. The data acquisition module obtains vehicle motion data and the driver's exhaled alcohol concentration, temperature, and humidity through sensors, and transmits the data to the alcohol monitoring module. The alcohol monitoring module analyzes the received data using an ESP32C3F main control chip, detects the driver's exhaled alcohol concentration, and determines the vehicle's acceleration and deceleration. The cloud platform receives and analyzes the detection data transmitted by the alcohol monitoring module, displays the temperature, humidity, vehicle status, and alcohol concentration data collected by the sensors in digital form and as graphs, stores historical data, generates analysis reports, and transmits the detection results to emergency contacts. Based on the monitoring results from the alcohol monitoring module, when the alcohol concentration exceeds a set safety threshold, the safety alarm module informs the driver of the risk of driving under the influence of alcohol through an audible and visual alarm device and notifies the vehicle owner and their relatives via the cloud platform.

2. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 1, characterized in that: The data acquisition module includes a temperature and humidity data acquisition unit, a motion data acquisition unit, and an alcohol data acquisition unit. The temperature and humidity data acquisition unit obtains the driver's exhaled breath through a DHT11 temperature and humidity sensor and transmits it to the ESP32C3F main control chip via an interface. The motion data acquisition unit obtains the vehicle's acceleration and deceleration during motion through an MPU6050 motion sensor. The alcohol data acquisition unit detects the alcohol concentration exhaled by the driver in real time through an MQ3 alcohol sensor.

3. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 2, characterized in that: The MPU6050 motion sensor includes a GYRO_INT pin, communication interfaces I2C_SCL5 and I2C_SDA5, logic power supply VDD1V8_EXT, operating power supply DC33V, capacitors C107, C108, C109, and C110.

4. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 3, characterized in that: The GYRO_INT pin is used to detect the interrupt signal of the motion state and transmit the signal to the input pin of the motion data acquisition unit. It communicates with the ESP32C3F main control chip through the communication interfaces I2C_SCL5 and I2C_SDA5 to transmit the acceleration and deceleration of the vehicle motion state collected by the MPU6050 motion sensor. Capacitors C107 and C108 are connected to the DC33V power supply and the VDD1V8_EXT logic power supply lines, respectively, and are connected in parallel with the ground line. Capacitor C109 is connected between the CLKOUT pin of the MPU6050 and ground, and capacitor C110 is connected between the REGOUT pin of the MPU6050 and ground.

5. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 1, characterized in that: The alcohol monitoring module acquires and processes data through the ESP32C3F main control chip. The module consists of the ESP32C3F main control chip, TXD0 pin, RXD0 pin, GPIO pin, ADC0 pin, ADC1 pin, a 3V3 power supply, resistors R5 and R6, and capacitor C8. The first terminals of resistors R5 and R6 are connected to the 3V3 power supply; the second terminal of resistor R5 is connected to the RXD1 pin of the ESP32C3F main control chip; and the second terminal of resistor R6 is connected to the RXD0 pin of the ESP32C3F main control chip. Capacitor C8... The first terminal of capacitor C8 is connected to VCC, and the second terminal of capacitor C8 is grounded. The ESP32C3F main control chip is connected to multiple sensors and devices through GPIO pins, specifically: GPIO2 pin of the ESP32C3F main control chip is connected to the MQ3 alcohol sensor, GPIO3 pin of the ESP32C3F main control chip is connected to the DHT11 temperature and humidity sensor, GPIO7 pin of the ESP32C3F main control chip is connected to the relay, GPIO9 pin of the ESP32C3F main control chip is connected to the download circuit, and GPIO18 pin of the ESP32C3F main control chip is connected to the power indicator light.

6. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 5, characterized in that: The ESP32C3F main control chip is connected to the mobile ONENET platform. It uses TCP pass-through to upload data such as vehicle interior temperature, ambient humidity, vehicle acceleration and deceleration, and driver's exhaled alcohol concentration to the cloud by averaging. The data is then displayed on the cloud webpage in digital form and as a graph by setting a data stream template.

7. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 5, characterized in that: The alcohol monitoring module includes a driver detection unit, a vehicle operation status unit, and an alcohol concentration detection unit. The driver detection unit detects the driver's exhaled breath using a temperature and humidity sensor. When the detected exhaled temperature is greater than a set exhaled temperature threshold, it indicates that a driver is seated in the driver's seat. The vehicle operation status unit determines the vehicle's operation status using an MPU6050 motion sensor. When the vehicle is in operation and the driver detection unit detects that a driver is seated in the driver's seat, the MQ3 alcohol sensor is activated to detect the driver's exhaled alcohol concentration in real time.

8. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 1, characterized in that: The safety alarm module includes an audible and visual alarm unit and a vehicle accident detection unit. The audible and visual alarm unit informs the driver of the risk of driving under the influence of alcohol through an audible and visual alarm device.

9. The vehicle-mounted alcohol detection system based on the Internet of Things according to claim 8, characterized in that: The vehicle accident detection unit uses the MPU6050 motion sensor to obtain the acceleration and deceleration of the vehicle in motion. After being converted into digital signals by the ADC, the signals are transmitted to the ESP32C3F main control chip to determine the deceleration value. When the deceleration exceeds the set safe driving threshold, the ESP32C3F main control chip uploads the emergency information to the cloud. The cloud automatically notifies emergency contacts of the vehicle status via SMS, WeChat message, or telephone reminder.