| With the development of social economy, the cars come into people’s daily life. People are eager to enjoy more beautiful vehicle life. The IOV technology makes the car become more and more electronical, connective and intelligent, provides people with more intelligent and comfortable driving environment. At the same time, along with the deployment of 4G communication network, people hope to enjoy high-speed Internet service in the process of driving. Therefore, developing an advanced vehicle terminal equipment has a strong practical value.A samrt on-board terminal is designed and implemented in this thesis. The device combines on-board OBD equipment and on-board wireless router as a whole. Online fault diagnosis, vehicle condition monitoring, abnormal alarm, location-based services, traffic statistics, and other functions could be realized by the device. In addition, the 4G-WIFI router could be also realized by it. The main works of the thesis are as follows:(1) The background and research significance is analyzed. Then, requirements analysis is conducted. The equipment functions is divided into on-board OBD terminal and on-board 4G-WIFI router. Overall design is proposed according to the requirements analysis. The overall scheme of hardware system and software system is given in this thesis.(2) For hardware system, The DiNA IOV development board is selected as the hardware platform. The board is based on the STM32F105 RC processor. Function modules such as 4G communication module, GPS module, 3D accelerometer module, intelligent OBD module are integrated on the board. The hardware platform of the system is built.(3) For software system, μC/OS-II is selected as the operating system and transplanted to the board. Then the development of the driver and application are described. The task design based on μC/OS-II system is discussed. In order to realize each function of the products, eight tasks are created in this thesis. GPS task, OBD task, 4G-communication task and other tasks are described in detail.(4) At last, the system testing is given in the end of the thesis. The tests of hardware and software platform are conducted. Then the comprehensive functional test is conducted with detailed test cases. The validity of the function design is demonstrated. |