On Mon, 23 Jun 2003, Michael Rigby-Jones wrote: > For video applications, even the inbuilt ADC is probably not going to be > fast enough. Typicaly a complete conversion cycle on a PIC will take > between 30 and 40 us which means you will get one, maybe two samples per > line. You generaly need a high speed/flash converter for video work. > I thought it would take quite a long time (wrt a video scanline), so I was planning on taking a sample at the beginning of one line, then taking the next sample from the end of the next line and doing that three times for the whole frame, then I can do my comparisions in the next odd/even frame. I know it's not very precise, but I think it'll be enough to detect significant movement in the picture. And if *that* doesn't work then I'll have to reinvent the PIR so it's more daylight-tolerant :/ .... Cheers, tim -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.