| With the rapid development of science and technology,Android mobile phone is no longer a single communication device.More and more people expect to use it to help manage their daily affairs.The traditional control device of intelligent vehicle and the traditional video monitoring device are poor in portability,and they don't have remote-ability,besides,the traditional video monitoring device isn't mobile.Aiming at these problems,in this paper,we take the intelligent vehicle whose core processor is STM32 as the research object,then,a remote control and video monitoring system of intelligent vehicle based on Android is designed and implemented.Therefore,users can control the movement state of intelligent vehicle anytime and anywhere,and monitor the surrounding environment of intelligent vehicle anytime and anywhere.The system has the advantages of low cost,low power consumption and good portability.It can be combined with the smart home,Internet of things and other modern technologies.Its application field is wide and its development prospect is very good.The main work and research results of this paper are as follows:1.According to the specific functions of this system,an Android application is developed under the Android Studio environment,and a relatively simple and friendly user interface is designed with the XML layout file,including the login interface,the setting interface,the main interface and the photo album interface.2.Using the Socket and Wi Fi communication based on the TCP protocol,the subsystem of intelligent vehicle's motion control based on Android is designed and implemented.Users can control the basic movement state of intelligent vehicle through the Android client,such as forward,backward,turn left and turn right.Besides,the information of intelligent vehicle's action can be fed back to the Android client,and it's displayed in the form of Toast.3.The video monitoring subsystem based on Android is designed and implemented.The video information of the environment around intelligent vehicle is collected through the UVC camera,then the compressed video stream is sent to the WiFi module.The WiFi module transmits the video information through the input_uvc component and output_http component of the Mjpg-streamer video streaming server.The Android client obtains the video information through the Hyper Text Transport Protocol(HTTP)and Uniform Resource Locator(URL)from the Wi Fi module.Then,the Android client analyses the video and displays it in the Surface View.During the process of video monitoring,users can snapshot any frame in the video.The image saved can be viewed through the Gallery and Image Swicher components in the photo album interface.The rotation angle of the camera's horizontal and vertical steering engine can be adjusted by the Seekbar,thus the multi-angle video monitoring can be realized.4.Connect the Wi Fi module to the LAN of the router,therefore,the motion control and video monitoring system of intelligent vehicle in the LAN of the router is designed and implemented.Then,using the port mapping technology of the router,this system can be accessible in the external network.This will break through the geographical restrictions,enabling the users to monitor the surrounding environment of intelligent vehicle remotely,and control the movement state of intelligent vehicle remotely according to the external environment. |