Electronic – CD4011BE (DUAL INPUT NAND GATE) not working

integrated-circuitlogic-gatesnand

enter image description hereenter image description hereI am using my CD4011BE NAND Gate IC. I connected a 9V battery in the 14th pin. And grounded the 7th pin. Then I provided input in the first 2 pins. I took a 330 ohm resistor from the third pin and connected an LED with that resistor and then grounded the other side of the LED.

I checked every possible configurations of the 2 inputs {(0,0),(0,1),(1,0),(1,1)}.
But the outputs are not as expected. The LED never lights up.

I changed my IC and used another one of these CD4011BE and got surprised to see that this time the LED always lights up.

I am new to making circuits and electronics. So excuse my mistakes and please point them out.

Best Answer

There are a number of possible problems you could have had here.

As the 4000 series logic chips are based on FETs, it's rather easy to fry them with static electricity when touching them (antistatic wristbands are nice to have).

Secondly, are you sure you connected to the pins you thought you did? Maybe you had the chip turned around, or maybe you were off by one position.

Or perhaps you even just got immensely unlucky and got a bad chip from the factory. It doesn't happen often, but chip fabs aren't infallible.