even though its been many, many, many years since I've been in school... this Homework forum seemed the right place to ask my questions...
I'm sure this question may have been asked and answered many times over, but searching for keywords of 'and' and 'or' can be quite difficult...
I'm using 74LSxx chips.
It took me a while to figure out that leaving my inputs floating gives me a high output. That really confused me at first. Then I discovered this article on using pullup/pulldown resistors: http://www.learningaboutelectronics.com/Articles/How-to-connect-a-pull-down-resistor.php
I've wired my breadboard exactly as they have depicted in their pictures, yet pressing either switch still produces output -- just like an OR gate, instead of an AND gate. I've also tried pulling all the inputs for the unused gates on the same chip to ground, but the results are still the same.
I also discovered this "IC tester" Arduino project: http://www.instructables.com/id/74LS-Series-Digital-Logic-Tester/
I tested my chips, and it correctly reports my AND gate (74LS08) as an AND gate, and my OR gate (74LS32) as an OR gate.
I don't understand what I'm doing wrong still. Why is my "simple tester" circuit not working?
I'm sure this question may have been asked and answered many times over, but searching for keywords of 'and' and 'or' can be quite difficult...
I'm using 74LSxx chips.
It took me a while to figure out that leaving my inputs floating gives me a high output. That really confused me at first. Then I discovered this article on using pullup/pulldown resistors: http://www.learningaboutelectronics.com/Articles/How-to-connect-a-pull-down-resistor.php
I've wired my breadboard exactly as they have depicted in their pictures, yet pressing either switch still produces output -- just like an OR gate, instead of an AND gate. I've also tried pulling all the inputs for the unused gates on the same chip to ground, but the results are still the same.
I also discovered this "IC tester" Arduino project: http://www.instructables.com/id/74LS-Series-Digital-Logic-Tester/
I tested my chips, and it correctly reports my AND gate (74LS08) as an AND gate, and my OR gate (74LS32) as an OR gate.
I don't understand what I'm doing wrong still. Why is my "simple tester" circuit not working?