> Or a stepper motor, a flag, and a friction element to keep the > position... but this is again far into the impractical. It might or it might not. The OP didn't actually say, AFAIK, what the conditions are. We're all assuming this is a "low power" application He might have a vintage U-Boat and would like to know that it's probably a good idea to surface and crank up the generator The other thing is that a discharge curve in this application might be predictable, and a warning can be issued before a critical point A piezo beeper might be useful. Doesn't use a lot of power and grabs one's attention -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist