| With the rapid development of China’s science and technology, the means of transport of the car is becoming an integral part of human life. However, China’s large and medium-sized city parking is a difficult growing phenomenon due to the low of the current parking management technology. The establishment of intelligent parking guidance system is imminent.This paper attempts to design a more versatile and reliable embedded indoor parking spaces induced system to adapt to the needs of most indoor parking management. The program processor is chosen based on the Cortex-M3STM32F103ZE (T6) chip using μC/OS-Ⅱ as an embedded operating system. Running the operating system and application software on STM32processor to establish CAN communication. The programs are effective in reducing design cost and has good flexibility and portability.Firstly, I made a brief introductory description of the smart parking and system architecture planning, proposed the design of the STM32-based parking guidance system. Secondly, it discusses the hardware structure of the system. The hardware system design adopts modular mechanism to facilitate system maintenance and upgrade. It builds a predetermined communication protocol between the various modules. The system mainly consists the master module, ultrasonic detection module, sense coil module, audio module, LED display module, CAN communication module and Ethernet gateway module. Finally, it discusses the software design of the system. It focuses on the realization of communication network and μC/OS-Ⅱ embedded software design of the gateway system, adopts embedded operating system and configures the appropriate driver. Field devices are used51single-chip control, and communicate via the CAN bus master controller.The system is operating normally, and basically achieve the expected goals after the initial test run. In addition, the system can continue to develop on the basis of other functions, such as hourly rates, reverse car search. |