I'm starting a project and i have question to how start my project.
I would like use my Arduino Ethernet and connect a cmos Camera : SEN-08667 CMOS Camera - 640x480 - SEN-08667 - SparkFun Electronics
Now i don't know how connect my camera but i'm looking for on Google.
My project : I would like connect my CMOS camera on my arduino Board with an ultra-sound detector. When Ultra-sound detector detect an object, the camera take a picutre and send a jpg file in a folder on my Computer Hard Disk.
Is-it possible ? How connect my camera to take a picture in a jpg file on computer ?
Hello,
For my using, a time of 1min to do transfer isn't a problem.
I will using Arduino Ethernet to transfer my jpg file by Ethernet link.
How connect my CMOS Camera and how use it from IDE Arduino ? I didn't found electronical plan for connecting it and how function i could use to take a photo with different parameters like resolution ?
some camera models give u jpeg, some just give u bitmap.
dont ask arduino to do the bitmap-to-jpeg conversion ..
arduino is ..'slow'..if u dont mind the 'slow', u 'can' use arduino to build your camera, at least the capture part.
2 options :
A. give the image byte by byte from cmos using I2C then pass to ethernet byte by byte using another I2C
B. add a buffer : SRAM IC or FIFO IC. The u may get the the image frame by frame from cmos into buffer, then pass the image from buffer to ethernet.
arduino + cmos + (optional memory) + LCD + SD slot can= a camera with LCD ...and is interesting!!
if you were successful in interfacing CMOS camera with ur arduino,... can u please let me know how it is possible to interface it,..... and that how to transmit those images,......
(please give me links, or circuit diagram of ur schematic,,,,,)
@Grumpy_Mike - It takes only a few seconds to transfer a small image after it has been compressed, via XBee. I can detect motion at 2-3fps without sending the complete picture.
Reading the datasheet I don't see any evidence that your camera itself does compression. The Arduino cannot do this in any amount of reasonable time, because there is not enough RAM. Maybe it is possible to send a small uncompressed buffer at a time, but this will take many minutes, as GrumpyMike said. It looks really difficult, and your results will be limited.
Buy a JPG camera instead? With a simple interface?
Buy a JPG camera instead? With a simple interface?
Is it possible to do the same thing with a cheep OV7670 CMOS camera?
I'm no expert but it appears that the OV7670 uses the I2C as a control channel but the image comes out on the digital pins. I have not seen anyone who has captured the digital data using an Arduino. Is it possible? If so does anyone have a sketch? Will the sketch run on something as limited as an Uno?
sbright33:
The OV7670 does not do JPG compression for you, and again, the Uno cannot either.
So are you saying that the Uno could get an image from the OV7670 and send it via a serial or ethernet link, it just could not compress it into a JPG first?
You may have limited success if you can control the speed the camera sends the image. For example 1 line at a time, or a small buffer of about 200 bytes. Then you pause the camera, send the buffer, and get another. One at a time. It will be difficult to implement this. It is so much easier to store JPG data to a SD card using a small buffer. The camera I linked is designed to wait after each buffer. Spend some money and save your coding and debugging time!
sbright33:
You may have limited success if you can control the speed the camera sends the image.
It sounds like you are now saying that you don't know if it can be done or not. I "may" have limit success. "If" I can control. So you don't know if it can be done or not.
sbright33:
It is so much easier to store JPG data to a SD card using a small buffer.
But I suspect that you don't know if that can be done either.
sbright33:
The camera I linked is designed to wait after each buffer. Spend some money and save your coding and debugging time!
But that was not the question. The question was "I would like connect my CMOS camera ..." It was not asking which camera to use or how can I do what I want to do with stuff I don't have.
It is not possible for YOU to do it with that camera.
I can store the JPG data to my SD card and view the image on a PC.
You can connect your camera using i2c and some data lines.
But that does not mean you will ever be able to view the image.
There I answered your question?
sbright33:
It is not possible for YOU to do it with that camera.
I can store the JPG data to my SD card and view the image on a PC.
I am SO impressed by your abilities. It is not possible for ME to do it but YOU can store the data to an SD card. You are so great, it is clear why you are the "God Member".
sbright33:
You can connect your camera using i2c and some data lines.
But that does not mean you will ever be able to view the image.
There I answered your question?
Well you sure put me in my place. Clearly you are so great.
He is able to do it because he has a different camara than you have. He is not saying that he is better than you just that he has more sutiable equipment.