> Maybe you can use a TL5001 (~0.65/1K) or something along those lines.. Quite a good looking solution http://focus.ti.com/lit/ds/symlink/tl5001a.pdf Price is better than most alternatives so far, but approaches that of an LPC901 microcontroller. I would still need an opamp (2 sections minimum) for another function, so add an LM324 to the cost. The tl5001 should be more linear than simple linear solutions. Such solutions have the disadvantage compared to a microcontroller that they cannot be altered simply by programming, and the advantage that they don't need any programming :-) RM -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu