On Sat, Apr 7, 2012 at 7:36 PM, Sergey Dryga wrote: > Getting a clean pulse: use comparator, it will give you a clean digital > signal. > It's possible to use a comparator in a PIC and do processing using the > same PIC. > > Extracting frequency is more problematic, but can be done in e.g. dsPIC, = as > others suggested. If you need to detect a specific frequency, LM565 > phase-locked loop is good for audio frequencies. > I was thinking about the comparator, but since the amplitude of the signal gradually falls over a period of a few seconds, how would I constantly follow and update the cutoff? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .