This project demonstrates the construction of a 4-bit adder using BC547 transistors, resistors, LEDs, and other components on breadboards. The adder takes two 4-bit binary numbers as input and provides a 5-bit binary result displayed using LEDs.
- Components
- Circuit Design
- Adder Logic
- Breadboard Layout
- Assembly Instructions
- Examples
- Testing
- Troubleshooting
- Conclusion
- 6 Breadboards (800 pins each)
- BC547 Transistors (100 pieces)
- Jumper Wires (100 pieces)
- Resistors:
- 220k ohm (100 pieces)
- 47k ohm (50 pieces)
- 9V Batteries (2 pieces, connected in parallel)
- 5mm LEDs (13 pieces)
- Push Buttons (optional, for input)
- Battery Holders
- Connecting Wires
The adder is constructed using the following gates for each bit addition:
- 2 XOR gates for the sum
- 2 AND gates for generating carry
- 1 OR gate for combining the carries
Each gate is built using BC547 transistors.
- Transistors: 2
- Resistors: 47k ohm (2 pieces)
- Transistors: 2
- Resistors: 220k ohm (2 pieces)
- Transistors: 1
- Resistors: 47k ohm (1 piece)
Use the following layout for each 4-bit adder section:
- Place transistors on the breadboard.
- Connect resistors to the base of each transistor as per gate requirement.
- Connect the emitters to ground.
- Connect the collectors to the LEDs and then to Vcc through appropriate resistors.
- Arrange the inputs using jumper wires.
- Power Supply: Connect the 9V batteries in parallel to ensure a stable power supply.
- Place Components: Place transistors, resistors, and LEDs on the breadboards according to the circuit design.
- Wiring: Use jumper wires to connect the components, following the breadboard layout.
- Testing Inputs: Optionally, use push buttons to simulate binary inputs.
- Verify Connections: Ensure all connections are secure and correct.
Here are examples of input and output for the 4-bit adder:
-
Example 1:
- Input: A = 0101 (5), B = 0011 (3)
- Output: Sum = 1000 (8)
-
Example 2:
- Input: A = 1111 (15), B = 0001 (1)
- Output: Sum = 10000 (16)
-
Example 3:
- Input: A = 1010 (10), B = 0101 (5)
- Output: Sum = 1111 (15)
- Apply Inputs: Provide binary inputs through the input lines.
- Observe Outputs: Check the LED outputs for the sum and carry.
- Verify Results: Compare the LED outputs with expected binary results.
- No Output: Check power supply and connections.
- Incorrect Output: Verify the arrangement of transistors and resistors.
- LEDs Not Lighting: Check the LED connections and ensure they are not reversed.
This project successfully demonstrates the construction of a 4-bit adder using transistors. By following the circuit design and assembly instructions, you can understand the fundamental working of digital circuits and logic gates.
Note: Ensure safety while working with electronic components and follow proper guidelines to avoid damage or injury.