| With the continuous progress of science and technology, the development of Internet of Things has become a hot topic, while remote monitoring of Internet of Things is a hotter topic. USB camera based on ARM embedded has small volume,low cost,stability and so on merits,and plays an important role in the embedded multimedia applications and video surveillance . Therefore, the design of a good USB camera driver for video surveillance of Internet of Things has more significance. But there are many kinds of companies to produce cameras, and there are also lots of camera products, but the camera driver of one type can not be used by the other type of cameras, especially the drivers in Linux system, which reason is different camera equipment application different chips and sensor .Therefore, the design of the universal camera driver appears to be particularly important.This thesis is based on the ARM system to study the USB camera driver and development of universal camera driver. The platform chooses STM32F103ZE of ST company as main chip, which based on the microprocessor ARM Cortex-M3.This platform chooses embedded uClinux as an embedded operating system. uClinux embedded operating system maintains all the excellent features from Linux, which is popular in the low-end embedded devices.This thesis introduces the hardware and software driver design platform. Then introduces the USB interface and USB device driver content. The most important thing of this thesis is to introduce the USB camera driver design methods. Summarizes the reasons of the number of USB camera can not be universal used in the Linux system and then given generic driver design program. Finally, this thesis gives the tests for the camera driver, which selects the main chip Vimicro ZC0301P and photosensitive device to the USB CMOS camera. |