Let's see: LEDs can draw quite a bit of current. That would be a good start. What is your current limit for each LED? Second, 9V batteries are not known for high capacity either. Best regards, Fred -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Lindy Mayfield Sent: Friday, June 04, 2004 2:48 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] First Project Finished! But... it used up all my bat tree Hi Guys. I finished my first project! Finally. I got the idea from Mike Predeko's book for the LED clock. But I couldn't find the right parts to put together the multiplexing for all the LED's, so I decided to work with what I have available and made a binary clock: 20 small 3mm LED's that show the hours, minutes, and seconds in bcd binary. The design so far is simply a 9v battery, a 5v voltage regulator, a PIC 16f877, a 32.768 kHz crystal + 2 22pf caps, resistors and LED's, and one resistor tied to MCLR. The programming was fun. Building and soldering the rat's nest out of wires on the back of the board wasn't. (-: (Took 3 weeks.) I left it running for a test last night and it sucked all the juice out of my 9 volt battery in just a few hours. Would someone give me hints as to how to figure out what the problem is why it is using so much power? Thanks in advance. Lindy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu