There is a design for self switched PIC here: http://www.romanblack.com/self_swi.htm uses one cheap tiny (TO-92) SCR, and 2 resistors, will work with a 7805 reg or just with the battery and the PIC. :o) -Roman A.J. Tufgar wrote: > > Edson, > Have the second pole of all your buttons goto an 2 input or gate. > and the output of the or goto the pic power pin (you'll have to make > sure it handle you pic's current load or you'll have to put some sort > of driver behind it). The other input goes to a pic i/o pin. > > When a button is pressed it will turn your pic on via the or gate. > Your pic then changes the line going to the or gate high, so if the > user releases the button before your pic is done it keeps power to > itself. When it's done set the line low and it will lose power. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu