> 2) I would love to do this in software in the microcontroller, using a > high-side 'current sense amplifier', but I have yet to find a high side > current sense amplifier which is both reasonable in cost (dollar or less > @ QTY 1K), and works on both 3.3V on the ADC side, and 65V on the 'high > side current sense' side. Supertex have some high side sense amplifiers that will work at rectified m= ains voltage (450V). See http://www.supertex.com/pdf/misc/specialty_SG.pdf and look at the HV780= 0 family. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .