> PIR wiring to a PIC You need a double opamp, one wired as AC amp with gain ~100 to 1000 and the second as comparator (with a little hysterezis). Be sure to get the PIR data sheet it is very easy to 'fry' them. Peter -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body