Maker Pro
Maker Pro

CMOS gate not working?

javawizkid

Oct 21, 2011
3
Joined
Oct 21, 2011
Messages
3
Hey,
New to this forum :)

I'm beginning out with electronics and I've got myself a few different types of gates to play around with.

I connected up an AND gate but doesn't output as it should. I've looked at the documentation where etch inputs and outputs are. I've also connected the DC supply to the correct pin and the ground to the correct pin.

I've noticed when I turn on the supply, my LED lights up even though both inputs are OFF. When I turn the inputs on the LED just gets brighter. No idea what is up.

Thanks!
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
You cannot just leave the inputs unconnected, they must be connected to either a low or high signal at all times. Try connecting the two inputs to ground and see if the LED goes off.

Bob
 

javawizkid

Oct 21, 2011
3
Joined
Oct 21, 2011
Messages
3
They are connected but switched off with a switch, I suppose thats the same as not being connected to the 0v though?
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Yep, no connection is not the same as 0V.

Bob
 

javawizkid

Oct 21, 2011
3
Joined
Oct 21, 2011
Messages
3
Do all of the other unused pins have to be connected to 0v or can they float?

Just found out for myself, the answer seems to be no.

How could I utilise a physical switch button to determine the AND inputs?

Figured that out too, thanks :)
 
Last edited:
Top