On 3/6/07, Alexandre Guimar=E3es wrote: > > Hi, > > > Would it be silly of me to suggest a current mirror? > > A pair of transistors, and a couple resistors. > > Could you elaborate that ? It is not obvious to me how a current mirror > can be used in this application. Ok, picture a mirror made with a pair of PNP transistors, with emitters to VCC. Set up the sensing side to go 1mA (or some other convenient number) when -V is at max. On the other side, you get 0-1mA which you can then sense across a 1k resistor to ground as 0-1V, or scale any other way that's convenient. -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist