Electronic – 4 bit adder circuit not working(ttl)

digital-logic

I recently got my hands on a sn74ls83an 4 bit adder adder chip.I made my own circuit and it doesn't work.Here is the circuit diagram(sorry for the messy wiring:

enter image description here

I used a 4 switch dip switch instead of the slide switches in the diagram.The exact chip name is:SN74LS83AN from texas instruments.

I am powering the circuit with a micro usb wall wart with an output of 5v at 500mA.

Here is the datasheet for the chip:http://pdf1.alldatasheet.com/datasheet-pdf/view/80346/TI/SN74LS83A.html

Best Answer

First of all, you don't say what doesn't work. Do the LED's ever light up? Under what conditions?

I checked all of the wiring, and it looks okay (with one exception, see below); this is assuming the switches are wired correctly as you didn't provide a datasheet for them.

The one wiring anomaly is that you have n input (C0) that is left unconnected; this is not a good idea with TTL (or any logic for that matter). Tie it either to ground or to VCC, and then use the left half or right half for the Outputs section of the truth table in the datasheet.

It's better actually to connect inputs like C0 to VCC through a resistor, like 4.7K. This goes for all the switch inputs also. However your circuit should work as shown with them tied to VCC.

There are some breadboards where power and ground are interrupted at the midpoint, and you need to bridge across the two sections horizontally so you have VCC and ground on both sides. If this is the case, there is usually a bigger separation between those sections than the others.

Related Topic