I am currently working on an arduino project that requires a vision system to work.
The arduino i am working off is the Mega 2560.
The camera I have is an analog camera and im having trouble finding information on how to get this camera to work with the arduino. The link for the camera is as follows: https://www.sparkfun.com/products/11745.
The only help i could find after researching this was that i might need a frame grabber, not familar with the technology though, any help would be greatly appreciated.
The Arduino doesn't have enough memory or processing speed to handle picture processing, if that's what you have in mind.
There is something called a video experimentor's shield which is a sort of frame grabber. Its capabilities are quite limited but perhaps it will do what you need - whatever that is.
Yes, my Video Experimenter shield can do some rudimentary (but fun) things with video, including monochrome video frame capture, simple motion tracking, and edge detection. Product info: http://nootropicdesign.com/ve/ Projects: http://nootropicdesign.com/ve/projects.html
Lots of low-tech video fun....
Well I am using labview to program the arduino, is there a way to have the camera connected directly to labview and still use it in the program? and would it be easier to do so? I looked at the video experimenter, it says on its spec that it cant be used with arduino mega, is this still the case? the arduino im working off is newly bought and its the Mega 2560 R3 version. Also the purpose i had in mind for the vision system is to detect fire: flicker, colour, ect. Thanks for the feedback.
Also the purpose i had in mind for the vision system is to detect fire: flicker, colour, ect.
The video experimetor, to the best of my knowledge, does not work with the Mega. Even if it did, it is only capable of real-time digitising a simple low resolution binary (1 bit per pixel) image, so colour is way beyond its capabilities.
I’m not sure how Labview would be used, but the Video Experimenter still requires a composite video signal. AWOL is right, it’s capabilities for capturing a signal are limited due to the tiny SRAM in an Arduino. And the Mega cannot be used because the designers of the Mega did not connect the analog comparator pin to an Arduino pin. You CAN use a Seeeduino Mega from Seeed Studios because they did a better job with their design. See http://nootropicdesign.com/projectlab/2011/07/13/ve-on-the-seeeduino-mega/
For this project you need the Arduino Yun with a web cam or the Raspberry Pi with it’s own camera. Anything else is going to cost you many hundreds of dollars more.
Thats unfortunate, is there any feasible way you know of to do this? I was looking into a bluetooth shield that had a usb port which could transfer a digital camera signal to the labview program, is there someway i could do this with the analog camera?
Leon11: is there a way to have the camera connected directly to labview
Assuming that Labview is running on a PC, I would have thought that a video capture device would be needed. There's a wide variety of inexpensive USB capture devices on the market and perhaps you can find something compatible with your camera.
There are inexpensive cameras with built in image processing and blob tracking features, like the CMU Cam. The latest incarnation (available anytime soon, they keep saying) is the PIXY: https://www.kickstarter.com/projects/254449872/pixy-cmucam5-a-fast-easy-to-use-vision-sensor You may be able to program it to detect flames, etc.
nootropic: Yes, my Video Experimenter shield can do some rudimentary (but fun) things with video, including monochrome video frame capture, simple motion tracking, and edge detection. Product info: http://nootropicdesign.com/ve/ Projects: http://nootropicdesign.com/ve/projects.html
Lots of low-tech video fun....
how can I save the output to an sd card connected to an arduino coming out from the video experimenter shield?
boi_goog: how can I save the output to an sd card connected to an arduino coming out from the video experimenter shield?
If the video experimenter's shield is able to capture the frame then I believe the Arduino can read pixels in the captured frame. It would be possible to write those pixel values to a file on the SD shield. To be of any use, you'd need to write the data using a file format that other applications could understand. That is likely to be quite complicated to do. The result will be extremely slow and take a lot of work, but it seems feasible if you only want to save individual monochrome images at low resolution and low frequency.
yes, the y have example in their website, but they only save the frame in arduino's sram, how can I save the data from sram to sd card like for example I will save as jpg file?
You can not save it as a jpeg, there is not enough memory to encode an image in this way. Just save each byte into the SD card.
may be i can use the sketch they used here with the ov7670 camera, I havent read it thoroughly but it might help.
Why use a camera (for flicker detection? that’s a new one to me)?
If your detector is insitu, why not use IR differentiation (unless you don’t like the ‘it’s already been done aspect’)?