I got my first logic gate in the mail yesterday and started playing around with it. I set up a 5v power regulator and my new 74HC04 (6 gate hex inverter); power into power, ground into ground. I put an LED + resistor onto one of the outputs and a switch onto the related input. Everything worked as expected. When the switch was not pressed the LED lit up. When I pressed the switch the LED went dark. So then I decided to run two gates in series. I unplugged the switch and plugged a wire from the input of the LED's gate into the output of another gate on the same chip. The LED went dark as expected. That the new gate was receiving no input so it was inverting it to positive output which the second gate was inverting back to no output and turning the LED dark. Then I plugged a wire into the input of this second gate. The other end of the wire was not plugged into anything at all but to my surprise the LED lit back up as if this wire was provided positive input. Can anyone enlighten me as to what was going on?
-
Categories
-
Platforms
-
Content