jossut said:
thank you everyone for the help, I already kind of figured out almost everything, right now my only concern is about the video, is there a way I can get an X10 camera to just store images on eeprom?
hope, anyone can help me
You don't have your location filled in, so we've no idea where you might be?.
So assuming you're in Europe?, a video camera (which is all the X10 camera is!) outputs 25 full pictures per second, consisting of 625 lines (some of which are not actually visible lines). The full resolution is 768 pixels per line by 576 lines for full resolution, so assuming 8 bit sampling, and only monochrome, that's 442,368 bytes to store every 40mS.
EEPROM's are slow devices (particularly when writing to them), and also don't come that large - plus you also have the problem of digitising the video stream. If you want to do colour?, then your problems are multiplied further - by three times if you want to store RGB?.
I don't imagine for a second that your project requires you to try and build a digital video recording device? - your project is nice and simple, doing this would make it EXTREMELY complicated, and NOT a project for 2 months :lol:
If you want to record the video stream then use a VCR, they cost hardly anything these days, and you can easily modify it to be controlled by the PIC to start recording as and when required.
A better solution would be a hard disk recorder, as used professionally for security recordings, but these aren't cheap!.