Philip Pemberton wrote: > Then there's the discharger and relay driver to deal with... Ideally I wa= nt > some kind of reverse-polarity protection on the relay driver -- if the > battery is hooked up backwards, the O/P relay will refuse to switch over. > That's a job for later though... mainly because I can't think of a sane w= ay > to do it. The first thing that crossed my mind was to have a "master disconnect" rela= y; 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). -- Dave Tweed --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .