muckleluck Posted May 26, 2005 Report Share Posted May 26, 2005 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. Quote Link to comment Share on other sites More sharing options...
MP Posted May 27, 2005 Report Share Posted May 27, 2005 Not much current draw on this chip. How did you connect the supply? Pin 7 for GND and 14 for VCC? If you think you have a supply problem, you can try battery power. Be careful to not exceed the recommendations.MP Quote Link to comment Share on other sites More sharing options...
muckleluck Posted May 28, 2005 Author Report Share Posted May 28, 2005 Yeah it seems to be a power supply problem. I have another question about these chips. I want the inputs to be low normally and high when I press a button. How can I achieve this?Muckleluck Quote Link to comment Share on other sites More sharing options...
Guest Alun Posted May 28, 2005 Report Share Posted May 28, 2005 Connect them to +V with a pull up resistor (about 10K) then connect the switch from the input to 0V. Quote Link to comment Share on other sites More sharing options...
muckleluck Posted May 28, 2005 Author Report Share Posted May 28, 2005 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 Quote Link to comment Share on other sites More sharing options...
MP Posted June 9, 2005 Report Share Posted June 9, 2005 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.