Or even an SOT-23 comparator. Also widely available, tiny and inexpensive. I use quite a few MCP6541 (push /pull output) and MCP6546 (open drain output) parts in a variety of designs. Similar parts available from TI and all the other usual analog suspects. Matt Pobursky Maximum Performance Systems On Thu, 08 Sep 2011 11:45:33 -0600, Dwayne Reid wrote: > How about using one of the little SOT-23 op-amps now readily available as > a comparitor? Set the threshold voltage to whatever you want (near 0V, I > assume) and add as much hysteresis as needed. > > Tiny and inexpensive. > > dwayne > > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .