I got a video experimenter shield and I was able to see the black and white image with the switch in Sync only mode.
I tried the codes of Carlos Agell and his ladder network but I didn’t see anything in the Processing screen.
My purpose is to program the Arduino in order to save video images during a few minutes and at certain period of the day. Is it possible to do that and save the images in a SD card? If it is possible, what is the most similar existing code to be a point of departure?
Hi again. I found, in the codes of Carlos Agell, that Processing hangs in the instruction c=port.read(); and it allways reads c=-1. I wonder if the Arduino’s instruction Serial.print(tv.get_pixel(i,j),HEX); has something wrong?…
Any help is deeply appreciated.
I’ve not used Carlos’ code, so I can’t really help you there. Make sure you have the serial communication working in a primitive way first, before trying to send captured frames.
The problem with recording the video is that you can’t do it fast enough. There are 60 frames per second, and 1536 bytes per frame. You just can’t write to an SD card that fast when most of the processing time is being spent with the video processing. Sorry, everyone wants to record video, but that’s not going to happen on a microcontroller that costs $2.