>That just moves the problem of having a floating differential voltage for >voltage feedback instead of for current feedback. I'd rather use a diff >amp to sense the current and keep all the grounds common. Huh? I guess that I am missing something. I believe that he thinks that we'll want the PIC to measure voltage as well as current, which hasn't been said, but is correct (at least in my case.) The voltage feedback for the regulator itself doesn't require that the "ground" side of the output be at the 0V potential of the internal circuitry, ESPECIALLY for the LM317 and similar... BillW -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu