| In recent years,the number of private cars in China has increased rapidly,but the number of parking spaces has been slow to grow,parking problems are getting worse.Relying on information technology to improve the use of parking spaces will be an important way to alleviate the difficult parking problems.This paper designs a shared parking management system based on intelligent parking lock to combine the Internet of Things technology with the traditional parking spaces.The private parking spaces and the on-street parking spaces are managed by the parking lock equipment to realize the informatization of the parking spaces.Provide technical solutions for the sharing of urban parking spaces in different time.The intelligent parking lock control system can receive the commands sent by the cloud server to realize the remote unlock function and can automatically detect whether the vehicle is driving away.After the vehicle is left,the intelligent parking lock control system sends the "the car has left" information and automatically rises the parking space lock,waiting for the next unlock command.The system uses the Cortex-M3 core based STM32 controller,meeting the system’s current control performance requirements,at the same time,to provide hardware support for the late system software online upgrade.GSM/GPRS module SIM800C is used for internet communication,to make connection between the lock and cloud server and to achieve real-time data transmission between the two sides.In the parking lock command security,make judgments to the source of the lock command to prevent malicious code attack.At the same time,SIM800C support Bluetooth 3.0,providing hardware support for using the phone bluetooth control parking lock in the late development.The parking lock arm is driven by the DC motor.The lifting position of parking lock arm is detected by radio-type photoelectric switch,instead of the original mechanical proximity switch to improve the service life of the equipment.Using the built-in miniature amplifier type photoelectric sensor detects the vehicle status on the parking space.The detection algorithm adopts the sampling mode of the interval pulse to ensure accurate detection and reduce the power consumption of the detector.Intelligent parking lock use VRLA lead-acid battery for power supply.The system power optimization in two aspects:the hardware design and software operation,and reduced the power consumption,improved battery life and service life.We estimate the battery power using the method of voltage detection.When the battery power is lacking,the controller can send a message to the user and maintenance personnel reminding them recharge or replace the battery in time.In this way,we can ensure the safe and reliable operation of the device.Design the shared parking management system server software,including payment service website,parking management system software and database.The payment service website is connected to the third party payment server,and displays the two-dimensional code to the user,generates the order,and finally completes the payment.Parking management system software connects smart parking lock,payment service website and database.In this paper,the operation principle of parking management software and the realization process of parking service are introduced in detail.Finally,it summarizes the experiences and lessons of the design and development of intelligent parking lock and shared parking management system.We put forward reasonable planning to improve the functional performance of this system.To promote the system more convenient to use in urban intelligent parking spaces shared system. |