| The smart car has always been one of the hot research,it has the advantages of small size,simple operation,convenient and flexible and other advantages,is widely used in many fields,such as intelligent Home Furnishing,engineering construction,machinery manufacturing and other aspects of a very important role,in order to save the cost of research and development of intelligent car,intelligent car the function better,this paper has the advantages of small volume,powerful function,low cost Raspberry Pi to achieve control of the smart car,plus Raspberry Pi product replacement fast,complete function,convenient,is the first choice of R&D.This system is mainly composed of four parts,the first part is to build a system platform for the intelligent car,using the Raspberry Pi control board,equipped with a Raspbian system similar to the Linux operating system,which comes with Python IDE3 compiler development environment,we use Python programming to realize intelligent vehicle control using the wireless serial port module,get rid of cable transmission block.The second part is the design and implementation of the intelligent car hardware system,which mainly includes the master controller of smart car and some peripherals.The main controller for its own small STM32F103VET6 development board,because the STM32F103VET6 development board on the market is relatively large,can not be installed in the smart car.The peripheral equipment mainly for driving module,ultrasonic sensor,actuator module,gas smoke alarm,wireless serial communication module,the realization of intelligent vehicle wireless control function,steering of the ultrasonic obstacle avoidance function,gas smoke alarm function.The third part is the design and implementation of intelligent vehicle system,the software interface for the KEIL vision5 IDE and Python IDE3,the first use of the C language in the KEIL vision5 IDE compiler environment to compile the realization of STM32F103VET6 control mechanism of each 10 port plate,and then use the Raspberry Pi Python IDE3 compiler directive.Through the NRF24L01 wireless serial port module to achieve control of the smart car,smart car initial implementation is forward,backward,turn left,turn right,stop operation.Then add some infrared module,ultrasonic obstacle avoidance module and steering gear module to achieve the corresponding function.The fourth part is the test and analysis of the whole system.This process is carried out on windows and Raspberry Pi two platforms,first on the windows platform for functional testing and data commnication test,and then on the Raspberry Pi platform for the corresponding test.The intelligent car control function,steering ultrasonic obstacle avoidance function and smoke alarm return data,but also can increase the other sensor to increase the intelligent car function,make full use of the Raspberry Pi Raspberry Pi,play the use value and commercial value. |