Jump to content
Electronics-Lab.com Community

Digital Logic Problem


muckleluck

Recommended Posts

I'm messing around with some logic gates trying to get a basic understanding or digital logic but for some reason I can't seem to get them to work.  The specific chip that I am using is a 7408 TTL AND gate. For some reason when I connect the power to the chip the voltage drops from 5 to 2.3. I can't figure out whether I have a power supply problem or I'm doing something wrong with the set up. If anyone has an idea of whats going on your help would be appreciated.

Link to comment
Share on other sites


With this arrangement the chip is acting like a NOR gate. If I reverse the connections so that the resistors are connected to the ground and the switches to the V+ the led will never turn off because the pins float high. Thanks for bearing with me on this line of basic questions - this is the result of a the elec education they give mech eng students.

Muckleluck

Link to comment
Share on other sites

  • 2 weeks later...

Yes, he gave you backwards instructions. To have the pin low normally, then high when you press the button, you will want to connect the pin to ground via a resistor. Then with a switch connected from the input to VCC, you will have high only when pressing the switch. If the pin is floating, you need to change the value of the resistor. The state of the pin should be 0 when the switch is open. This should take place because the pin of the chip finds an easy path to ground through the resistor. You can also use a debounce circuit on the pin to keep the signal more stable.

MP

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...