> 5V Wallwart -> 470ohm resistor -> cable -> opto -> PIC. > > I don't see what the constant current source is going to give you > with an ~constant cable resistance of up to a couple hundred > ohms Possibly/probably, OTOH if you wanted to get fancy and measure some remote parameters ..... Value-added service ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist