Hello everyone!
Here goes the question about dealing image data from camera with arduino.
1. What I want to do
What I'm trying to do is to get single image data from camera, and process it in realtime while receiving data, and just proxing the data to Spi RAM.
I know there is no much room for whole image data on Arduino's SRAM,
but I read a sample code which wrote image data right into the SD card from camera in realtime, chunk by chunk.
(camera:
http://www.linkspritedirect.com/product_info.php?products_id=16)
(sample code:
http://www.linksprite.com/upload/file/1286079786.txt)
So in this sense, I think it is possible to read image from camera and do some process and store processed data to Spi RAM.
Image processing will not be so complex and its main regard will be just converting raw(?) pixel data into 1bit data(black/white), so that 8 pixels in a row makes only one byte.
I want 384x600 pixel black/white image, so final data size should be 384 / 8 * 600 = 28,800 (under 29kb).
I'm going to use 32k Spi RAM, so storage issue will not matter.
2. What I want to know
First, am I correct so far?
Second, is it possible to do this with CMOS camera like this? (not done enough research yet but:
http://www.sparkfun.com/products/8667)
I noticed that the sample code I mentioned above is dealing with TTL camera, and the camera seems only offering 160*120 resolution, which is never sufficient.
I know almost nothing about camera, but found that TTL interface cameras are more expensive than just 'CMOS cameras,' if they offer same resolution.
So I wonder what are differences between them, and where I can find some tutorials dealing with CMOS camera with Arduino.
I know it would be somewhat annoying question which might makes no sense at all, since I know almost nothing about how camera makes/sends data.
But PLEASE HELP ME. My ears are all open, and any reply will be much appreciated!
**sorry for bad english