> measuring the resistance of the cable is a bit impractical How so ? > I'd rather just put a semiconductor that is designed to limit output > current to some value and use that between the AC and the cable An LM317 will do that with one resistor -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist