Wireless warning device for road emergencies based on serial communication
Through the wireless early warning device for road emergencies based on serial port communication, the microcontroller and wireless serial port chip are used to transmit emergency information, which solves the problem of drivers being unable to obtain the road conditions ahead in time and achieves the effect of reducing traffic accidents.
Patent Information
- Application Number
- CN202010447458.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-25
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-05-25
AI Technical Summary
Under the existing technology, drivers cannot obtain emergency information on the road ahead in time, resulting in more traffic accidents that cannot be effectively avoided.
Design a wireless early warning device for road emergencies based on serial port communication, including emergency input module, control module, wireless serial port sending module, wireless serial port receiving module, voice prompt module and indicator light prompt module. Through the microcontroller chip and wireless serial port Chips and voice chips enable early warning and information transmission for various emergencies.
Ensure that drivers can receive early warning information of emergencies on the road in a timely manner and take timely measures to reduce the occurrence of traffic accidents and ensure the safety of life and property.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of road traffic safety, and in particular to a wireless early warning device for road emergencies based on serial communication. Background Art
[0002] With the widespread popularity of vehicles, the number of vehicles on the road is increasing, resulting in more and more traffic accidents. Some traffic accidents are man-made, but the vast majority are sudden emergencies caused by drivers not having enough reaction time, such as fog on highways, slippery roads in winter, sudden traffic accidents, vehicle failures, failure to place warning signs in time, and bad weather.
[0003] When an emergency occurs on the road, many traffic accidents can actually be avoided if measures can be taken in advance. However, under the current technical conditions, drivers are unable to obtain timely information about sudden conditions on the road ahead beyond the effective braking distance, resulting in a large number of avoidable traffic accidents.
[0004] In summary, when a driver encounters an emergency during driving, if the driver can give a warning of the emergency in time, many traffic accidents can be reduced. To this end, it is necessary to provide a device that can timely warn other vehicles when encountering an emergency, and can also timely receive warning signals from other vehicles. Summary of the invention
[0005] The purpose of the present invention is to provide a wireless road emergency warning device based on serial communication, which can timely warn drivers of emergencies on the road so that they can take timely measures, and can timely remind other drivers of emergencies on the road.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] A wireless warning device for road emergencies based on serial communication, comprising an emergency input module, a control module, a wireless serial port sending module, a wireless serial port receiving module, a voice prompt module and an indicator light prompt module, wherein:
[0008] The emergency input module includes at least eight emergency input buttons, and the control module includes a single-chip microcomputer chip U1, a stop sending button, and a cancel indicator light button. One end of the at least eight emergency input buttons is respectively connected to an input pin of the single-chip microcomputer chip U1, and the other ends of the at least eight emergency input buttons are grounded. The ground pin GND of the single-chip microcomputer chip U1 is connected to the ground, and the power pin VCC of the single-chip microcomputer chip U1 is connected to the DC power supply VCC+5V; one end of the stop sending button and the cancel indicator light button are respectively connected to an input pin of the single-chip microcomputer chip U1, and the other ends of the stop sending button and the cancel indicator light button are both connected to the ground;
[0009] The wireless serial port transmission module includes a wireless serial port transmission chip U2, a serial port input pin RX of the wireless serial port transmission chip U2 is connected to a serial port output pin TX of the single-chip microcomputer chip U1, a ground pin GND of the wireless serial port transmission chip U2 is connected to the ground, and a power pin VCC of the wireless serial port transmission chip U2 is connected to a DC power supply VCC+5V;
[0010] The wireless serial port receiving module includes a wireless serial port receiving chip U3, a serial port output pin TX of the wireless serial port receiving chip U3 is connected to a serial port input pin RX of the single-chip microcomputer chip, a ground pin GND of the wireless serial port receiving chip U3 is connected to the ground, and a power pin VCC of the wireless serial port receiving chip U3 is connected to a DC power supply VCC+5V;
[0011] The voice prompt module includes a serial port voice chip U4 and a speaker SPK, a serial port input pin RX of the serial port voice chip U4 is connected to a serial port output pin TX of a wireless serial port receiving chip U3, a ground pin GND of the serial port voice chip U4 is connected to the ground, a power pin VCC of the serial port voice chip U4 is connected to a DC power supply VCC+5V, and voice output pins SPK+ and SPK- of the voice chip U4 are respectively connected to the positive and negative electrodes of the speaker SPK;
[0012] The indicator light prompt module includes light emitting diodes of the same number as the emergency input keys, the positive pole of the light emitting diode is connected to the DC power supply VCC+5V via a resistor, and the negative pole of the light emitting diode is connected to an output pin of the single chip microcomputer chip U1.
[0013] The beneficial effects of the present invention are:
[0014] By setting up button switches, single-chip microcomputer chips, wireless serial port transceiver chips and voice chips, early warnings can be issued for various emergencies that often occur on the road, thereby ensuring that the driver can promptly alert other vehicles when an emergency occurs on the road. At the same time, it can also receive road emergency warning information sent by other vehicles to ensure that when encountering an emergency on the road, the driver can take measures in time, thereby avoiding traffic accidents caused by emergencies on the road, thereby reducing the number of traffic accidents and protecting people's lives and property. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a structural schematic diagram of the present invention.
[0016] Figure 2 It is a flow chart of the control module controlling the sending of warning messages in the present invention.
[0017] Figure 3 It is a flow chart of the control module in the present invention controlling the corresponding indicator light of the indicator light module.
[0018] Figure 4 It is a flow chart of the control module controlling the end indicator light module to light up all the indicator lights in the present invention. DETAILED DESCRIPTION
[0019] The present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
[0020] like Figure 1As shown, the wireless warning device for road emergencies based on serial port communication in this embodiment includes an emergency input module, a control module, a wireless serial port sending module, a wireless serial port receiving module, a voice prompt module and an indicator light prompt module. For the convenience of explanation, this embodiment takes the emergency input module including eight emergency input keys KEY1 to KEY8, a stop sending key and a cancel indicator light key KEY9 and KEY10 as an example for explanation. Specifically, the control module includes a single-chip microcomputer chip U1, a stop sending key KEY9 and a cancel indicator light key KEY10. One end of the eight emergency input keys KEY1 to KEY8 is connected to the input lead of the single-chip microcomputer chip U1 respectively. Pins P2.0 to P2.7 are connected, the other ends of eight emergency input buttons KEY1 to KEY8 are grounded, the ground pin GND of the single-chip microcomputer chip U1 is connected to the ground, and the power pin VCC of the single-chip microcomputer chip U1 is connected to the DC power supply VCC+5V; one end of the stop sending button KEY9 and the cancel indicator light button KEY10 are respectively connected to the input pins P3.2 and P3.3 of the single-chip microcomputer chip U1, and the other ends of the stop sending button KEY9 and the cancel indicator light button KEY10 are both connected to the ground; the wireless serial port sending module includes a wireless serial port sending chip U2, and the serial port input pin RX of the wireless serial port sending chip U2 is connected to the serial port output pin TX of the single-chip microcomputer chip U1 , the ground pin GND of the wireless serial port sending chip U2 is connected to the ground, and the power pin VCC of the wireless serial port sending chip U2 is connected to the DC power supply VCC+5V through a diode; the wireless serial port receiving module includes a wireless serial port receiving chip U3, the serial port output pin TX of the wireless serial port receiving chip U3 is connected to the serial port input pin RX of the single-chip microcomputer chip, the ground pin GND of the wireless serial port receiving chip U3 is connected to the ground, and the power pin VCC of the wireless serial port receiving chip U3 is connected to the DC power supply VCC+5V through a diode; the voice prompt module includes a serial port voice chip U4 and a speaker SPK, the serial port input pin RX of the serial port voice chip U4 is connected to the wireless serial port through a resistor R11 The serial port output pin TX of the receiving chip U3 is connected, the ground pin GND of the serial port voice chip U4 is connected to the ground, the power pin VCC of the serial port voice chip U4 is connected to the DC power supply VCC+5V, and the voice output pins SPK+ and SPK- of the voice chip U4 are respectively connected to the positive and negative poles of the speaker SPK; the indicator light prompt module includes light-emitting diodes LED1 to LED8 with the same number as the emergency input keys, the positive poles of the light-emitting diodes LED1 to LED8 are respectively connected to the DC power supply VCC+5V via resistors R1 to R8, and the negative poles of the light-emitting diodes LED1 to LED8 are respectively connected to the output pins P1.0 to P1.7 of the single-chip chip U1.
[0021] Among them, at least eight emergency input buttons KEY1 to KEY8 include a fog prompt button, a sudden traffic accident prompt button, a slippery road prompt button, a vehicle failure prompt button, a rockfall prompt button, an emergency prompt button for surrounding vehicles, an SOS prompt button and a road construction prompt button.
[0022] In the present invention, the single-chip microcomputer chip U1 adopts an 8051 single-chip microcomputer, the wireless serial port transmission chip U2 and the wireless serial port receiving chip U3 both adopt HC-12 wireless 433M serial port chip, and the voice chip U4 adopts a JR6001 chip. The diode connected to the power pin VCC of the wireless serial port transmission chip U2 and the power pin VCC of the wireless serial port receiving chip U3 is to ensure that the wireless serial port transmission chip U2 and the wireless serial port receiving chip U3 can be used normally, and the resistor R11 is also to ensure that the serial voice chip U4 can be used normally and will not overheat during use.
[0023] When the present invention is in use, when the driver encounters fog, sudden traffic accidents, slippery roads, vehicle breakdowns, rockfalls, emergencies of surrounding vehicles, SOS (vehicles fall into roadside ditches or areas that are not visible to other vehicles and require rescue) or road construction on the road, the driver promptly presses the corresponding emergency input button. At this time, the control module generates an early warning message according to the button pressed. For example, when the button pressed by the driver is a fog prompt button, the control module generates an early warning message of "fog appears ahead" and periodically sends the early warning message through the wireless serial port sending module to serve the purpose of prompting other vehicles within 200-1000m around. The sending period of the early warning message can be set as needed, such as being set to 1000ms. At the same time, the vehicle's own voice prompt module also issues a voice prompt, and the indicator light corresponding to the fog prompt button also lights up. After driving through the fog area, the driver presses and holds the stop sending button KEY9, and the control module controls the wireless serial port sending module to stop sending early warning messages to surrounding vehicles. The process of the control module executing this process is as follows Figure 2 As shown. The vehicle itself also gives a voice prompt to remind the driver to press and hold the stop sending button KEY9 in time to end the reminder after leaving the area where the emergency occurs, so as to avoid unnecessary interference to other vehicles or misreporting of information due to continuous sending of warning messages. Furthermore, the driver can continue to press the cancel indicator light button KEY10 to stop the indicator light prompt module from lighting up.
[0024] When the wireless serial port receiving module receives the warning message sent by other vehicles during driving, the voice prompt module will give a voice prompt of the corresponding emergency situation. At the same time, after receiving the warning message, the control module will control the corresponding indicator light of the indicator light prompt module to light up, so as to give the driver a dual prompt of voice and indicator light. The process of the control module controlling the corresponding indicator light to light up is as follows: Figure 3By giving the driver both voice and indicator light prompts, the driver can be aware of problems on the road ahead in advance, so that measures can be taken in advance to avoid traffic accidents.
[0025] When other drivers' vehicles receive the warning message or leave the area where the emergency occurs, the drivers of other vehicles can press the cancel indicator light button KEY10 to make the control module control the output pins P1.0 to P1.7 of the microcontroller chip U1 to turn off to end all indicator light prompts. The process of the control module controlling the end of all indicator light prompts is as follows: Figure 4 shown.
[0026] The present invention has a simple configuration. Through a simple key switch, a single-chip microcomputer chip, a wireless serial port transceiver chip and a voice chip, it can provide prompts and warnings for various emergencies that often occur on the road. It can also promptly receive warning information from other vehicles, ensuring that the driver can promptly discover emergencies that occur on the road and take measures, thereby avoiding traffic accidents caused by emergencies that occur on the road, and further reducing the number of traffic accidents.
[0027] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A wireless warning device for road emergencies based on serial communication, characterized in that: It includes an emergency input module, a control module, a wireless serial port sending module, a wireless serial port receiving module, a voice prompt module and an indicator light prompt module, wherein: The emergency input module includes at least eight emergency input buttons, and the control module includes a single-chip microcomputer chip U1, a stop sending button, and a cancel indicator light button. One end of the at least eight emergency input buttons is respectively connected to an input pin of the single-chip microcomputer chip U1, and the other ends of the at least eight emergency input buttons are grounded. The ground pin GND of the single-chip microcomputer chip U1 is connected to the ground, and the power pin VCC of the single-chip microcomputer chip U1 is connected to the DC power supply VCC+5V; one end of the stop sending button and the cancel indicator light button are respectively connected to an input pin of the single-chip microcomputer chip U1, and the other ends of the stop sending button and the cancel indicator light button are both connected to the ground; The wireless serial port transmission module includes a wireless serial port transmission chip U2, a serial port input pin RX of the wireless serial port transmission chip U2 is connected to a serial port output pin TX of the single-chip microcomputer chip U1, a ground pin GND of the wireless serial port transmission chip U2 is connected to the ground, and a power pin VCC of the wireless serial port transmission chip U2 is connected to a DC power supply VCC+5V; The wireless serial port receiving module includes a wireless serial port receiving chip U3, a serial port output pin TX of the wireless serial port receiving chip U3 is connected to a serial port input pin RX of the single-chip microcomputer chip, a ground pin GND of the wireless serial port receiving chip U3 is connected to the ground, and a power pin VCC of the wireless serial port receiving chip U3 is connected to a DC power supply VCC+5V; The voice prompt module includes a serial port voice chip U4 and a speaker SPK, a serial port input pin RX of the serial port voice chip U4 is connected to a serial port output pin TX of a wireless serial port receiving chip U3, a ground pin GND of the serial port voice chip U4 is connected to the ground, a power pin VCC of the serial port voice chip U4 is connected to a DC power supply VCC+5V, and voice output pins SPK+ and SPK- of the voice chip U4 are respectively connected to the positive and negative electrodes of the speaker SPK; The indicator light prompt module includes the same number of light-emitting diodes as the emergency input buttons, the positive electrode of the light-emitting diode is connected to the DC power supply VCC+5V via a resistor, and the negative electrode of the light-emitting diode is connected to an output pin of the microcontroller chip U1; Among them, at least eight emergency input buttons include a fog prompt button, a sudden traffic accident prompt button, a slippery road prompt button, a vehicle failure prompt button, a rockfall prompt button, an emergency prompt button for surrounding vehicles, an SOS prompt button and a road construction prompt button.
Citation Information
Patent Citations
Expressway remote alarm device
CN201673605U
Novel bend advances early warning device
CN208141622U
Road emergency wireless early warning device based on serial port communication
CN211979864U
Method for controlling and obtaining traffic information, traffic information controlling and receiving devices, and traffic information indicating system
WO2015185009A1
