| With the development of science and technology and the continuous improvement of people’s living standards,subway has become the first choice for many people in the city.In order to ensure the safety of passengers waiting for the train and getting on and off the train,the separation wall will be installed between the subway and the waiting area.At this time,it is necessary to ensure that the entrance of the partition wall is consistent with the entrance of the carriage to ensure that passengers can get on and off normally.Therefore,we need a vehicle distance measurement system to measure the distance between the entrance of the car and the entrance of the target partition wall to assist the driver to accurately complete the parking requirements.The ranging system in this paper uses STM32 development board as the main body of development,puts forward a variety of ranging system design and ranging module selection,and selects the most suitable design scheme and ranging module for our use,and introduces the main hardware and software design of the ranging system used in this experiment.This paper mainly focuses on the design of the software and hardware of the communication module used in the ranging system,and through the communication module to transmit the data obtained by the ranging system,and through the program written by C#language,users can obtain the measurement data on the web,save and refresh the data,and remote control the ranging system.After testing,the data transmission effect of the system is stable,and the web page can quickly display the test results and save the data normally.Can meet our needs better to complete the tasks we need,but at the same time in the design of the web page is still a little crude,we will continue to optimize and test the system. |