Need help W/ Digital Camera Design Project

AI Thread Summary
The discussion revolves around a senior design project focused on creating an interface between a CMOS camera and a computer using the Atmel AVR ATmega16 microcontroller. The project aims to enable image capture and adjustment of camera properties like brightness and exposure via a computer interface. The camera, c3088, utilizes an OV6620 CMOS image sensor and communicates through an I2C interface for property adjustments. The user is struggling to initiate image capture after programming the microcontroller and is unsure about using terminal programs like Hyperterminal for communication. Guidance is sought on establishing basic I2C communication and ensuring the camera is operational.
vptran84
Messages
46
Reaction score
0
Hello,

I am currently working on a Design Project for my Senior project, and the aim of this project is the development and construction of an interface between a CMOS camera and a computer. This interface allows a user to get images from the camera, to change some of the properties of the camera as brightness, luminance, etc from a computer. The interface was implemented using 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.

What I did so far was connected the circuits (see attached), and I programmed the AVR ATmega16 with a series of codes in C language. And I did this by using a JTAG Ice and AVR STudio 4.0

My predicament is that after I programmed the microcontroller, I don't know how to get the camera to start taking pictures because nothing pops up. I figured that I'm suppose to use another program such as Hyperterminal (serial port) and RealTerm...but I don't know how to use it. Also, I have not yet input a CLOCK into the Camera which is connected to the clock of the microcontroller, but there has to be some program that can get the camera to detect, work, and start taking pictures.

Anyways, if anyone could give me some help, I would greatly appreciate it. Attached is my circuit diagram.

Thank you and Happy Holidays!
 

Attachments

Engineering news on Phys.org
Usually the first step in such a hookup is to get simple reads and writes working over the I2C connection. Can your uC read a status register or something from the camera? You could have it do that and send the data up the serial port to the PC (Hyperterminal is simple to learn).
 
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Back
Top