I am currently working on a night light that measures light levels and when it is dark it turns on some super bright LEDs. The device is actually working according to my original design, but now I want to make it better. The device includes a 16F628 and runs off of two C batteries. It also include a 555 timer, a photocell, and two LEDs. My new idea is to add a socket to charge the two NiCd batteries in the device. I thought I could add a little jack and when the batteries run low I can just plug a cord in to the side of the device and the batteries will charge. Now I am not sure about two things: 1. If the charger is contained in a separate box and simply plugs in to the original circuit, is it safe to leave the PIC and the rest of the device running? 2. What is the best way to charge NiCds. Do I want to use a processor like the 16F628 which is already incorporated, or should I just use a circuit that has been designed by someone else? Thanks for your help, Marc -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body