Intelligent parking lot entrance and exit detection equipment

By using ultrasonic modules, infrared sensing modules and other alternative ground sensing coils in the entrance and exit detection equipment of intelligent parking lots, real-time detection and prompts for vehicles and pedestrians are achieved, solving the problems of unattended and high installation costs, and improving traffic efficiency and security.

CN119207079APending Publication Date: 2024-12-27GUILIN UNIV OF ELECTRONIC TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411239941.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The existing smart parking lot entrance and exit detection equipment is prone to abnormalities when unattended, and the ground sensing coil is expensive to install and maintain, which affects the traffic efficiency.

Method used

Using ultrasonic modules, infrared sensing modules, LCD displays, alarm modules and cameras, real-time monitoring and control through the main control microcontroller, replacing the traditional ground-sensitive coils, realizing detection and prompting of vehicles and pedestrians, and passing through the network abnormality. Local processing ensures access.

Benefits of technology

It reduces installation and maintenance costs, improves traffic efficiency, enhances the safety and intelligent management of entrances and exits, and ensures timely handling of abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119207079A_ABST
    Figure CN119207079A_ABST
Patent Text Reader

Abstract

The invention relates to the field of embedded technologies, in particular to intelligent parking lot entrance and exit detection equipment which comprises an ultrasonic module, an infrared sensing module, a liquid crystal display screen, an alarm module, a camera, a first serial interface, a second serial interface and a master control single chip microcomputer. The condition of the entrance and exit of the parking lot is monitored in real time, specifically, vehicles driving into the entrance and exit of the parking lot are detected through an ultrasonic module, and then counting is carried out to count the number of the vehicles in the parking lot; meanwhile, the infrared sensing device is used for detecting the condition outside the entrance and exit of the parking lot, and when it is detected that people or vehicles pass outside the entrance and exit of the parking lot, the LED lamp and the buzzer are used for reminding the departing vehicles; in addition, the camera is used for monitoring the conditions at the entrance and exit of the parking lot in real time, so that workers in the control center can check the conditions at any time and assist in handling abnormal conditions; the liquid crystal display screen synchronizes vehicle number and remaining parking space data in the parking lot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of embedded technology, and in particular to intelligent parking lot entrance and exit detection equipment. Background Art

[0002] At present, most of the intelligent parking lot entrance and exit detection equipment on the market mainly adopts automatic license plate recognition technology and designs corresponding self-service payment terminals. They record the license plates at the entrance and exit and conduct self-service payment, so as to realize the automatic and unmanned management of the parking lot. The working principle of the equipment is as follows:

[0003] When a vehicle enters the entrance or exit of the parking lot, it is detected by the ground sensor coil after pressing on it, thereby triggering the camera to acquire an image and upload it to the remote server to run the license plate recognition algorithm to identify the license plate number. The system then records the license plate number, entry snapshot image, entry time and other information. The display screen gives voice prompts of relevant information (such as license plate number, welcome entry, etc.) and turns on the vehicle barrier. After the vehicle enters the lot, the gate bar automatically drops and the vehicle enters the parking lot to park.

[0004] This equipment eliminates labor costs, reduces parking lot management costs, and makes parking lot management more intelligent. However, due to unattended operation, abnormal conditions are prone to occur at the entrance and exit (people, cars or objects staying at the entrance and exit of the parking lot will cause vehicles to be unable to enter and exit normally, and safety accidents are prone to occur). It is highly dependent on mechanical equipment and cannot pass normally when equipment fails (if there is a network failure, a series of functions such as license plate recognition and self-service payment will not work properly)

[0005] At the same time, general parking lot entrance and exit detection equipment usually uses ground sensing coils to detect vehicles at the entrance and exit to trigger the camera to obtain images. The main advantages of using ground sensing coils are: strong stability in harsh environments (high temperature, rain and snow) and low false alarm rate. The disadvantages are: high installation cost (the ground needs to be dug for construction, and the cost is composed of equipment costs and construction costs, which is expensive and time-consuming), and difficult later maintenance (when the equipment fails, the ground needs to be dug for maintenance and repair, which is time-consuming and labor-intensive; at the same time, it is difficult to adjust related parameters. Factors such as coil size, number of turns, and position will affect the detection effect, and these factors are difficult to adjust). Summary of the invention

[0006] The purpose of the present invention is to provide an intelligent parking lot entrance and exit detection device, aiming to solve the problem that the existing intelligent parking lots are unattended and no one can quickly handle abnormal situations.

[0007] To achieve the above-mentioned object, the present invention provides an intelligent parking lot entrance and exit detection device, comprising an ultrasonic module, an infrared sensing module, a liquid crystal display, an alarm module, a camera, a first serial interface, a second serial interface and a main control microcontroller, wherein the ultrasonic module, the infrared sensing module, the liquid crystal display, the alarm module, the camera, the first serial interface, the second serial interface and the main control microcontroller are electrically connected;

[0008] The first serial interface is used to connect to the host computer of the local server, and the second serial interface is used to connect to the original equipment of the parking lot;

[0009] The two ultrasonic modules are respectively arranged at the exit and the entrance of the parking lot. The ultrasonic modules send and receive signals, and then determine whether a vehicle is detected and recorded by calculating the distance value returned by the ultrasonic sensor;

[0010] The infrared sensing module, the alarm module and the camera are all arranged at the entrance and exit of the parking lot. The infrared sensing module emits an infrared signal and detects whether there are people or objects in the area according to whether the signal is reflected back, so as to detect pedestrians and vehicles. The camera collects image data in the monitoring area in real time and transmits the image to the host computer. The alarm module prompts the vehicle leaving the parking lot after the infrared sensing module detects a person or an object, and notifies the host computer of an abnormality in the detection area. At the same time, after the ultrasonic module detects that a vehicle has left the parking lot, it prompts pedestrians at the entrance and exit.

[0011] The liquid crystal display screen is arranged beside the main control microcontroller, and is used to output data and display the status in the current monitoring area in real time, and is convenient for real-time observation of the working status of the system and for debugging and testing the circuit.

[0012] Wherein, the alarm module includes a buzzer and an LED light, the buzzer is used for sound reminder, and the LED light flashes for warning.

[0013] The ultrasonic module measures the distance once every 100 milliseconds through two ultrasonic sensors at the entrance and exit, and calculates the distance value returned by the ultrasonic sensor based on the measured distance. If the distance is less than X centimeters, the X value is set according to the actual situation, and it is considered that a car has passed, and the distance value is set according to the actual situation.

[0014] When the ultrasonic sensor at the entrance detects a car, the count is incremented by 1, and the count value is formatted as a string and displayed on the LCD screen.

[0015] When the ultrasonic sensor at the exit detects a car, the count is reduced by 1, the buzzer sounds x short sounds, and the LED light flashes x times to remind people outside the parking lot. At the same time, the count value is formatted as a string and displayed on the LCD.

[0016] Among them, when the infrared sensor at the entrance and exit detects that a car or person passes by, the buzzer will sound once, the LED light will stay on for a period of time, and "someone is there" will be displayed on the LCD screen.

[0017] The process of measuring the distance by the ultrasonic module is that the main control microcontroller sends a high-level pulse to the Trig pin through the GPIO port configured with push-pull output to trigger the ultrasonic module to emit ultrasonic waves; when the ultrasonic wave encounters an obstacle, it will be reflected back and received by the ultrasonic module; after receiving the reflected ultrasonic wave, the ultrasonic module will output a high-level pulse through the Echo pin, indicating that the ultrasonic wave has returned, and the main control microcontroller reads the duration of this pulse through the pull-up input mode, and then calculates the distance. The distance calculation formula is as follows:

[0018]

[0019] Among them, the intelligent parking lot entrance and exit detection equipment also includes a button interface and a reserved power supply. The button interface is connected to the circuit and is used for local circuit control and reserved function supplement; the reserved power supply is used when the serial interface cannot supply power normally.

[0020] The present invention provides an intelligent parking lot entrance and exit detection device, including an ultrasonic module, an infrared sensing module, a liquid crystal display, an alarm module, a camera, a first serial interface, a second serial interface and a main control single chip computer. The hardware circuit and the single chip computer are used to monitor the situation at the parking lot entrance and exit in real time. Specifically, the ultrasonic module is used to detect the vehicles entering the parking lot entrance and exit, and then count them to count the number of vehicles in the parking lot; at the same time, an infrared sensing device is used to detect the situation outside the parking lot entrance and exit. When it is detected that there are people or vehicles passing by outside the parking lot entrance and exit, an LED light and a buzzer will be used to remind the leaving vehicle; in addition, a camera is used to monitor the situation at the parking lot entrance and exit in real time, so that the staff of the control center can check at any time and assist in handling abnormal conditions; the liquid crystal display synchronizes the number of vehicles in the parking lot. The present invention can improve the traffic efficiency while reducing the difficulty and cost of installation and making the later maintenance more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 It is a functional module schematic diagram of an intelligent parking lot entrance and exit detection device of the present invention.

[0023] Figure 2 It is a schematic diagram of the module connection structure of an intelligent parking lot entrance and exit detection device of the present invention.

[0024] Figure 3 It is a schematic diagram of interface pins of an STM32 single-chip microcomputer according to a specific embodiment of the present invention.

[0025] Figure 4 It is a schematic diagram of interface pins of a key interface according to a specific embodiment of the present invention.

[0026] Figure 5 It is a schematic diagram of interface pins of two serial interfaces according to a specific embodiment of the present invention.

[0027] Figure 6 It is a schematic diagram of interface pins of an infrared sensing module according to a specific embodiment of the present invention.

[0028] Figure 7 It is a schematic diagram of the interface pins of the alarm module according to a specific embodiment of the present invention.

[0029] Figure 8 It is a schematic diagram of the interface pins of the ultrasonic module according to a specific embodiment of the present invention.

[0030] Fig. 9 It is a schematic diagram of interface pins of an LCD liquid crystal display screen according to a specific embodiment of the present invention.

[0031] Fig.10 It is a schematic diagram of the interface pins of the reserved power supply according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0033] See also Figure 1 and Figure 2The present invention provides an intelligent parking lot entrance and exit detection device, comprising an ultrasonic module, an infrared sensing module, a liquid crystal display, an alarm module, a camera, a first serial interface, a second serial interface and a main control microcontroller, wherein the ultrasonic module, the infrared sensing module, the liquid crystal display, the alarm module, the camera, the first serial interface, the second serial interface and the main control microcontroller are electrically connected;

[0034] The first serial interface is used to connect to the host computer of the local server, and the second serial interface is used to connect to the original equipment of the parking lot;

[0035] The alarm module includes a buzzer and an LED light, wherein the buzzer is used for sound reminder and the LED light flashes for warning.

[0036] The intelligent parking lot entrance and exit detection device also includes a key interface and a reserved power supply. The key interface is connected to the circuit and is used for local circuit control and reserved function supplement; the reserved power supply is used when the serial interface cannot supply power normally.

[0037] Specifically, the following is a further description of the functions of each module in conjunction with a specific embodiment (see the schematic diagram of each module interface for details). Figures 3 to 10 ):

[0038] The circuit uses STM32 MCU as the main control MCU, and has 2 ultrasonic modules, 1 infrared sensing module, 1 LCD display, 1 buzzer, 1 LED light, 1 camera, 2 serial interfaces, 1 button interface and 1 reserved power supply.

[0039] (1) Button interface:

[0040] It can work in the local control circuit. Currently, a system initialization button is set to initialize the system when a fault occurs.

[0041] Other buttons can be used to supplement functions. Figure 4 As shown, s1-s3 are connected to pins 9-11 of the microcontroller respectively.

[0042] (2) First serial interface (serial interface 1):

[0043] It is used to connect to the host computer of the local server to process data locally and provide power.

[0044] If not connected to the local host computer, the circuit uses the reserved power interface for power supply.

[0045] If the wireless module on the original device cannot be used after the second serial interface is connected to the original device, the first serial interface should be changed to a wireless transmission module.

[0046] (3) Second serial interface (serial interface 2):

[0047] Used to connect to the original device and replace the ground sensor coil. At the same time, it can work with the wireless module of the original device.

[0048] If the original device is not connected, the original circuit does not have the remote communication function, and the second serial interface should be changed to a wireless transmission module.

[0049] like Figure 5 As shown, ports 2 and 3 of j9 are connected to pins 35 and 34 of the microcontroller; ports 2 and 3 of j10 are connected to pins 7 and 8 of the microcontroller.

[0050] (4) Infrared sensor module:

[0051] Installed outside the parking lot entrance and exit, it is used to achieve real-time monitoring outside the parking lot entrance and exit. Although the infrared sensing device is easily affected by the environment, the cost of the infrared sensing device is extremely low, and the subsequent maintenance and replacement are convenient. Regular maintenance or replacement can be performed to ensure the normal operation of the device.

[0052] Depending on the actual usage scenario, it can also be replaced with an ultrasonic device.

[0053] like Figure 6 As shown, ports 1 and 2 of j23 are connected to the 6th and 5th pins of the microcontroller respectively; the resistor R20 on the left is connected to the 12th pin of the microcontroller as marked.

[0054] (5)Buzzer and LED light:

[0055] Installed at the entrance and exit of the parking lot to provide reminders to pedestrians and vehicle drivers.

[0056] When the infrared device outside the parking lot entrance senses pedestrians or vehicles passing by outside the parking lot, the buzzer will sound once long and the LED light will light up to alert the driver of the leaving vehicle.

[0057] When the ultrasonic device at the parking lot exit senses a car leaving, it will sound a few short buzzers and flash LED lights to alert pedestrians or vehicles outside the parking lot.

[0058] The buzzer can be replaced with a voice module, which can clearly alert pedestrians outside the parking lot and vehicles inside the parking lot through voice messages such as "There are pedestrians passing outside the parking lot, please drive safely" and "There are vehicles leaving the parking lot, please observe carefully before passing."

[0059] The LED lights can be changed to use different colors to alert pedestrians outside the parking lot and vehicles inside the parking lot respectively.

[0060] like Figure 7As shown, the buzzer and the LED light form an alarm module, the 1-4 ports of j15 of the buzzer drive circuit are connected to the 32-29 pins of the microcontroller; the BEED port is connected to the 33 pin of the microcontroller; the LED1 port of the LED status light circuit is connected to the 28 pin of the microcontroller.

[0061] (6) Ultrasonic module:

[0062] Two ultrasonic devices are installed at the exit and entrance of the parking lot respectively. They are used to detect vehicles, count them, and enable the original equipment to take photos and identify license plates and other subsequent operations.

[0063] Depending on the actual usage scenario, it can also be replaced with an infrared sensing module.

[0064] like Figure 8 As shown in the markings, ports 2 and 3 of j12 are connected to pins 16 and 15 of the microcontroller; ports 2 and 3 of j25 are connected to pins 14 and 13 of the microcontroller.

[0065] (7) LCD display:

[0066] It can be connected to or beside the circuit, mainly for real-time observation of the system's working status and debugging and testing of the circuit. At the same time, when the ultrasonic wave senses the vehicles entering and leaving the parking lot, the record of vehicles entering and leaving the parking lot will be displayed on the LCD; when the infrared module senses the pedestrians outside the parking lot, "someone" will also be displayed on the LCD. This information will also be synchronously transmitted to the host computer.

[0067] like Fig. 9 As shown, ports 1-4 are connected to pins 24-27 of the microcontroller respectively; ports 8-12 are connected to pins 40-36 of the microcontroller. (One-to-one correspondence)

[0068] (8) Reserved power supply: used when the serial interface cannot supply power normally. The reserved power supply interface is a backup interface. For connection methods, refer to Fig.10 .

[0069] Specifically, the ultrasonic module is described in detail as follows:

[0070] Every 100 milliseconds, the two ultrasonic sensors at the entrance and exit perform a distance measurement (once for detecting the parking lot entrance and once for detecting the parking lot exit).

[0071] The distance value returned by the ultrasonic sensor is calculated based on the measured distance. If the distance is less than X centimeters, it is considered that a car has passed. The distance value is set according to the actual situation.

[0072] If the ultrasonic sensor at the entrance detects a car, the count is increased by 1, and the count value is formatted as a string and displayed on the LCD screen.

[0073] If the ultrasonic sensor at the exit detects a car, the count is reduced by 1, the buzzer sounds x short sounds, and the LED light flashes x times (x can be set) to remind people outside the parking lot. At the same time, the count value is formatted as a string and displayed on the LCD screen.

[0074] Finally, the current vehicle count is sent to the host computer through the serial port.

[0075] The workflow of ultrasonic ranging is as follows:

[0076] When the main control microcontroller needs to measure the distance, it sends a high level pulse to the Trig pin through the GPIO port configured with push-pull output to trigger the ultrasonic module to transmit ultrasonic waves.

[0077] When the ultrasonic module transmits ultrasonic waves and encounters an obstacle, the ultrasonic waves will be reflected back and received by the module. Once the module receives the reflected ultrasonic waves, it will output a high-level pulse through the Echo pin to indicate that the ultrasonic waves have returned. The main control microcontroller reads the duration of this pulse through the pull-up input mode and then calculates the distance.

[0078] The distance is usually calculated as:

[0079]

[0080] The speed of sound in air is about 340 m / s (depending on temperature and other conditions). Since ultrasound needs to go back and forth across obstacles, the total time is divided by 2 to get the one-way distance.

[0081] When using an ultrasonic module to replace a traditional ground sensor coil module, the workflow is as follows:

[0082] When a vehicle enters the entrance or exit of the parking lot and the ultrasonic module detects the vehicle, the MCU controls the original device through serial interface 2, triggers the camera of the original device to obtain an image and uploads it to the remote server to run the license plate recognition algorithm to identify the license plate number. The system then records the license plate number, entry / exit snapshot image, entry / exit time and other information. The display screen gives voice prompts for relevant information (such as license plate number, welcome entry / exit, etc.) and turns on the barrier. After the vehicle enters / exits the parking lot, the gate bar automatically drops and the vehicle enters / leaves the parking lot.

[0083] In specific usage scenarios, the infrared sensing device is installed outside the entrance and exit of the parking lot. The infrared sensing module emits infrared signals, and detects whether there are people or objects in the area based on whether the signal is reflected back, thereby realizing the detection of pedestrians and vehicles. After detecting people and vehicles, the LED light and buzzer sound to remind the departing vehicle, and notify the host control center that there is "someone" at the entrance and exit of the parking lot. (If the control center finds that there is "someone" at the entrance and exit of the parking lot for a long time, the camera can be used to check whether there is any abnormality)

[0084] In summary, the present invention has the following advantages:

[0085] 1. Ultrasonic wave replaces ground sensing coil to reduce cost and increase efficiency

[0086] In view of the high installation cost and difficulty of later maintenance of ground sensor coils, it is proposed that the ultrasonic module of this device can be used to replace the ground sensor coil in the environment of underground parking lots. The ultrasonic module is easy to install and maintain, with low installation and maintenance costs, and is not subject to electromagnetic interference. It has high detection sensitivity and fast triggering, which can effectively improve traffic efficiency. While reducing the difficulty and cost of installation and making later maintenance more convenient, it can also improve traffic efficiency.

[0087] 2. Real-time monitoring of entrances and exits to eliminate potential safety hazards

[0088] When entering and exiting an underground parking lot, due to the obstruction of light and building facilities, it is often difficult for vehicles leaving the parking lot to observe the situation on the left and right roads outside the parking lot. If there is a person or vehicle (such as a child running or a takeaway truck) passing by the parking lot exit, a safety accident is likely to occur. Therefore, an infrared sensing device can be used in conjunction with a camera to monitor the situation at the entrance and exit of the parking lot in real time. When the infrared sensor detects an object at the exit, the LED light is turned on and the buzzer / voice module makes a sound to remind the vehicle leaving the parking lot, thereby improving safety. When there are abnormal conditions (such as vehicles being unable to enter and exit the parking lot normally), the control center can also detect and handle them in time through the camera. Eliminate safety hazards and take emergency management measures. Improve the intelligence, safety and traffic efficiency of parking lot entrances and exits.

[0089] 3. Local control, can work independently

[0090] At the entrances and exits of parking lots with booths on the ground (mainly in various communities), you can directly connect to the computer of the booth, or add a Bluetooth module to the device to process data locally. In the case of poor communication quality, network abnormalities, and difficulty in processing data through a remote server, you can connect to the computer of the booth via Bluetooth (or directly connect via wires) and use the computer of the booth to process data such as license plate recognition, etc. self-service payment, etc. The combination of local and remote processing methods improves the reliability of the entire set of equipment and ensures smooth passage at the entrances and exits of parking lots.

[0091] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. An intelligent parking lot entrance and exit detection device, characterized in that: It includes an ultrasonic module, an infrared sensing module, a liquid crystal display, an alarm module, a camera, a first serial interface, a second serial interface and a main control microcontroller, wherein the ultrasonic module, the infrared sensing module, the liquid crystal display, the alarm module, the camera, the first serial interface, the second serial interface and the main control microcontroller are electrically connected; The first serial interface is used to connect to the host computer of the local server, and the second serial interface is used to connect to the original equipment of the parking lot; The two ultrasonic modules are respectively arranged at the exit and the entrance of the parking lot. The ultrasonic modules send and receive signals, and then determine whether a vehicle is detected and recorded by calculating the distance value returned by the ultrasonic sensor; The infrared sensing module, the alarm module and the camera are all arranged at the entrance and exit of the parking lot. The infrared sensing module emits an infrared signal and detects whether there are people or objects in the area according to whether the signal is reflected back, so as to detect pedestrians and vehicles. The camera collects image data in the monitoring area in real time and transmits the image to the host computer. The alarm module prompts the vehicle leaving the parking lot after the infrared sensing module detects a person or an object, and notifies the host computer of an abnormality in the detection area. At the same time, after the ultrasonic module detects that a vehicle has left the parking lot, it prompts pedestrians at the entrance and exit. The liquid crystal display screen is arranged beside the main control microcontroller, and is used to output data and display the status in the current monitoring area and the working status of the system in real time.

2. The intelligent parking lot entrance and exit detection device according to claim 1, characterized in that: The alarm module includes a buzzer and an LED light, wherein the buzzer is used for sound reminder and the LED light flashes for warning.

3. The intelligent parking lot entrance and exit detection device as claimed in claim 2, characterized in that: The ultrasonic module measures the distance once every 100 milliseconds through the two ultrasonic sensors at the entrance and exit, and calculates the distance value returned by the ultrasonic sensor based on the measured distance. If the distance is less than X centimeters, the X value is set according to the actual situation, it is considered that a car has passed, and the distance value is set according to the actual situation.

4. The intelligent parking lot entrance and exit detection device as claimed in claim 3, characterized in that: When the ultrasonic sensor at the entrance detects a car, the count is incremented by 1, and the count value is formatted as a string and displayed on the LCD screen; When the ultrasonic sensor at the exit detects a car, the count is reduced by 1, the buzzer sounds x short sounds, and the LED light flashes x times to remind people outside the parking lot. At the same time, the count value is formatted as a string and displayed on the LCD. When the infrared sensor at the entrance or exit detects a car or person passing by, the buzzer will sound once, the LED light will stay on for a while, and "someone" will be displayed on the LCD screen.

5. The intelligent parking lot entrance and exit detection device as claimed in claim 4, characterized in that: The process of the ultrasonic module measuring the distance is specifically that the main control microcontroller sends a high-level pulse to the Trig pin through the GPIO port configured with push-pull output to trigger the ultrasonic module to emit ultrasonic waves; when the ultrasonic wave encounters an obstacle, it will be reflected back and received by the ultrasonic module; after the ultrasonic module receives the reflected ultrasonic wave, it will output a high-level pulse through the Echo pin, indicating that the ultrasonic wave has returned. The main control microcontroller reads the duration of this pulse through the pull-up input mode, and then calculates the distance. The distance calculation formula is as follows:

6. The intelligent parking lot entrance and exit detection device according to claim 1, characterized in that: The intelligent parking lot entrance and exit detection device also includes a key interface and a reserved power supply. The key interface is connected to the circuit and is used for local circuit control and reserved function supplement; the reserved power supply is used when the serial interface cannot supply power normally.