Assuming you want to measure the frequency, I would use this method, but I like to take several samples, then implement a median filter in code to reject any left-over junk. Then I would average the cleaned samples to get a result. > Amplify whatever's "left-over" after the filter and rail-to-rail (or > even clip) the output from 0v to 5v with another op-amp > circuit if need > be and add clamping diodes and just count the pulses > and average, > etc... using an interrupt routine on a standard input pin. > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body