I need an overcurrent detector for a small DC motor. I thought of using low side sensing with the ADC of a PIC measuring the voltage across the sense resistor and then doing the integration and peak suppression in software. I can tolerate half a volt or more voltage drop in normal operation. This seems to such an obvious idea that I am surprised that I can't find any reference to it in a search for "overcurrent detection using PIC". So is there some gotcha that I am too stupid to see? --=20 __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .