> Maybe another micro on the HV side could be added to do the > conversion but > this also needs a PSU, > ICSP for programming and opto isolators. You have a voltage on the HV side, so deriving 5V could be simple if you can afford to dissipate some heat. The PIC would do just measurement and sending the result, I see no real need for ICSP (compare it to an analog solution: you must get that right first time too!). I don't say this is the ideal solution, just compare it to other solutions. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist