Russell McMahon ha scritto: > Finding the peak voltage over N cycles and averaging it would very > likely be good enough. Loading the transformer lightly to damp effects ok > of noise, capacitive coupling etc may be a good idea. Use of standard > values, probably calculated and then checked in practice, would yeah, small load i.e. partitor in place, whose value still to be determined but in the range of Kohms > probably be good enough. A diode, resistor and capacitor would allow a > single reading, but in this case code sounds preferable to even a few > components. yes > As described the voltage sounds to be bipolar wrt to ground. If so, > you need to be sure your ADC input will handle that (I won't go and > look up the datasheet). If not, then a discussion of simple extra > circuitry may be about to happen:-). I *hope* that a 24FJ will handle it and the few negative mA. Will check soon :) thanks again -- Ciao, Dario -- Cyberdyne -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist