Hi, I ma newbie to arduino and i want to make CMOS IR Camera Module - 500x582 deal with arduino uno. I want to take video from the camera or continuous snapshots from the camera and send it to a PC screen through Bluetooth module on arduino or a serial cable for simplicity at first.any Help with connections and code. I don't know how to start.
Your camera has 291000 pixels and then Uno only has 2K of RAM. So you can't capture a whole frame in the Arduino, you will have to capture 1 line and send it to the PC, then the next line etc. Or you may be able to capture one line at the same time as sending the previous line.
Thanks for reply...I didn't deal with camera with arduino before...I know about servos Bluetooth module...but for camera i don't know how it is done...as I understood from your replies that I will make samples from the camera to the arduino as it takes only 2k memory..that;s a great start..another question is how the image is received on PC?...do i need to make another program on PC?
dc42:
Your camera has 291000 pixels and then Uno only has 2K of RAM. So you can't capture a whole frame in the Arduino, you will have to capture 1 line and send it to the PC, then the next line etc. Or you may be able to capture one line at the same time as sending the previous line.
Wouldn't it have been great if the OP had linked to this module earlier?
It would it could have turned the answer no into the answer no way.
Anyway the OP seems determined to ignore this and pursue the project.
Just to point out that a 500 by 582 image is 219000 pixels, assuming 1 byte per pixel, transferring this at say 115200 Baud gives you a transfer time of just over 25 seconds.
Just to point out that a 500 by 582 image is 219000 pixels
sp. "291000"
@OP: Some numbers to think about.
In common analogue video standards, the active line length (the part of the line where the picture is) is around 51-52us.
If you want to digitise the image in real-time, and the horizontal resolution is 500 pixels, then each pixel must be digitised in around about 52x10-6 / 500 = 104ns (nanoseconds), in other words at a rate of about 9.6MHz.
This is almost exactly 1000 times faster than the quickest you can digitise with the standard Arduino.
It is also very much faster than you can transfer data off the Arduino, and with limited RAM, there's nowhere to buffer it.
Of course, there are compromises - you can sample with lower spatial resolution; you can sample over multiple frames (no good for moving images); you can sample with reduced levels of greyscale.
But it all boils down to the simple fact that an Arduino is not equipped or intended to handle images.
Edit: Also, forgot to mention, sampling at over half the clock speed of the processor isn't going to end well.