Need help W/ Digital Camera Design Project

Click For 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).
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 18 ·
Replies
18
Views
12K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K