The aim of the following project is the construction and development of an interface between a CMOS camera and a computer. The interface will allow a use to get images from the camera and to change the properties of the camera as brightness, luminance, etc. from the computer. Also some image tracking technology is implemented allowing the camera to track white objects and follow them with a servomotor.
The interface is based on the Atmel AVR ATmega16 microcontroller. The Camera called c3088 uses a CMOS image sensor OV6620 from Omnivision . It has a digital video port that supplies a continuous 8/16 bit image data stream. All the camera functions, such as exposure, gamma, gain, white balance, windowing, can be changed through I2C interface by writing in some registers.
The communication from the microcontroller to the camera to change the properties of the camera is made using the I2C. The images from the camera are read following the Zoom Video Port Format implemented by the camera. The images read are in black and white because only the Y channel is read. To control all this communications the microcontroller is connected to the computer via serial port. The microcontroller read commands from the computer and perform the appropriate actions. The serial port is also used to receive the images in BMP format. If you would like to start building this project, head to authors page for full info.