On 16/12/11 17:21, Dave Tweed wrote: > The first thing that crossed my mind was to have a "master disconnect" re= lay; > DPST in series with both battery leads. If its coil is low-power enough, = it > could be driven by the battery itself through a diode; otherwise, use an > optoisolator to detect polarity on the battery side and use its output to > drive the logic that turns on the relay(s). That's... a really good idea. And I've got a bunch of optoisolators in=20 my junk box. Thanks, Dave! *goes looking for the lab notebook and a pencil...* --=20 Phil. piclist@philpem.me.uk http://www.philpem.me.uk/ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .