-
1Circuit Diagram
I have included the circuit diagram above for you to follow. Next, Let us look at the explanation.
-
2Pin Configuration and Circuit Explanation
In this circuit, the pin configuration is as follows:
- Pin 16: VCC
- Pin 8: Ground
- Pin 5, 3, 14, 12: First 4 bits (P), where Pin 5 is the MSB and Pin 12 is the LSB.
- Pin 6, 2, 15, 11: Second 4 bits (Q), where Pin 6 is the MSB and Pin 11 is the LSB.
- Pin 4, 1, 13, 10: SUM output, where Pin 4 is the MSB and Pin 10 is the LSB (when there is no carry-out).
- Pin 9: Carry-out.
-
3Resistor and LED Setup
4.7k resistors are connected to all input pins to ensure a logic 0 state when the DIP switch is in the OFF position. This setup allows easy switching between logic 1 (binary bit 1) and logic 0 (binary bit 0). The circuit is powered by a 5V supply.
When the DIP switches are turned ON, the input pins are shorted with 5V. Red LEDs are used to indicate the SUM bits, and a green LED represents the carry-out bit.
This configuration allows for clear and straightforward monitoring of the binary addition process, with visual indications of both the SUM and carry-out results.
-
4After Assembling
Above you can see the assembled image of the circuit in the bread board. It might look messy, sorry for that!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.