On Sun, 13 Feb 2005, Jinx wrote: >> For what its worth, I'd suggest deriving the bias voltage from the >> regulated 5V supply instead of the battery > > For that matter you could generate V+ for the op-amp with the > PWM module Afaik the TL081 does not include gnd in either input cmmr or output. Interfacing it with a logic chip is problematic. Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist