On Sun, 22 Jun 2003, Kyrre Aalerud wrote: > Problem is: > > FET off = 16 Volts. > FET on = 0-70 mV. > > I need to compare the voltage when FET is on to a set reference of 70 mV. > If Voltage across FET is abowe 70mV I have a over-current condition and > should turn FET off. How much above 70mV would you see with an overcurrent condition, max? In other words, is there some range between 70mV and, say, 5V that you could safely assume to be in the "ON" range, OR do you have some other way of indicating when the FET is on? If so, you could voltage limit the input to Vdd or below with a resistor and Zener or whatever, and only use the input when the FET is known to be on. Dale -- It's a thankless job, but I've got a lot of Karma to burn off. Get a PicoKeyer: http://www.hamgadgets.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics