I'm working on a little fanspeed regulator circuit. This specified debouncing circuit wasn't working at all (bad switch?), so I substituted a design known to work that used a not-gate (LS04). It warks fine, but the problem is that the LS04 chip heats up pretty quickly, then eventually gets too hot to leave it plugged in. I searched the layout, and checked all the connections, but couldn't find any shorts or bad connections. I had a different chip before (I think a display driver) that was set up propperly on a breadboard but burned up too, leading be to believe that it was just a bad chip. So its possible that the chip I have (04) is just bad, and may have been damaged during soldering. Does this theory fly with any body else?
Is there anyhing I can do to fix it without using another chip? Ground outputs, etc? Has anybody had a 'bad' chip that burns up right out of the box? Does the idea of soldering sound like a cause of overheating?
Cheers.