I just finished building a 4-bit adder on a breadboard and I am experiencing some quite odd/erratic behaviour and I am wondering why. The actual circuit/logic works as intended, meaning the 4-bit adder does what it is supposed to do. The weird behaviour I am experiencing is with the LEDs seemingly arbitrarily turn on/off depending on how close my fingers are to also seemingly arbitrary parts of the circuit.
I am using 74HC86 for XOR gates, 74HC08 for AND gates and 74HC32 for OR gates. The switches are SPST. A 4-bit adder requires 8 XOR gates, 8 AND gates and 4 OR gates. I've used all of the inputs of the logic gates so there shouldn't be any "floating inputs" coming from the logic gates? I have used pull-down resistors on the switches too. Why is this erratic behaviour occuring?
Do I have damaged ICs?
See video to see what happens (YouTube)
I made another post yesterday regarding the same problem. I got a ton of good help and we came to the conclusion that it was most likely "floating inputs" from the CMOS logic gates causing problems. Yesterday I hadn't completed the build yet and I sure had tons of unconnected inputs coming from the logic gates causing problems.
I thought if I just finished the build I surely wouldn't end up with any unconnected inputs because the build requires use of all of them. I finished it today and as stated before, I have no unconnected inputs so where am I experiencing "floating inputs"?
Logic gates are in order (left to right) XOR-AND-XOR-AND-OR
Top left resistors: 10kOhm
Top right resistors: 1kOhm
Bottom right resistors: 10kOhm
**Bottom right is where I use my Arduino to connect 5V to the breadboard and of course Arduino to ground.