Another trick you could use is one of the switching regulator/LDO chips that companies like Linear Technology make to handle battery/USB power switching. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist