| With the electronic development of the car, more and more electronic equipments are used in the car and it has entered the ear of computer-controlled, this will inevitably cause some problems:a large number of signals require real-time exchange and increase line load; the car body becomes large and complicated wiring, causing the car to install the space crunch. In order to reduce the wiring harness, improve the utilization of the signal, share and transfer large quantities of data, came into being based automotive networking technology for this purpose, and become the mainstream of development of automotive technology. CAN bus technology for its outstanding performance become a mainstream car LAN.This paper first introduces the development of CAN bus, learning and absorbing the CAN bus technology principle and application what was widely used in the automotive industry of today’s, detection technology for automotive oil, developed based on STM32 a display processor for transmitting data and control system.In the design of this system, the microprocessor using STM32 development board, the board comes with a CAN controller, firstly, the custom CAN SAE J1939 bus application layer protocol to achieve data transmission, mainly for oil,etc; secondly, on the basis of it, developing the accompanying PC control system software, with the use of serial port to transmit data, the software can monitor the data, and can also be real-time showed oil amount; finally, the data is displayed on the LCD screen, the operator can easily view, timely understanding the changes in the parameters of the car, to provide technical reference for later maintenance. |