4Bit Adder With LCD Display
by devesh29 in Circuits > Electronics
223 Views, 0 Favorites, 0 Comments
4Bit Adder With LCD Display
![Screen Shot 2021-06-23 at 1.25.27 PM.png](/proxy/?url=https://content.instructables.com/F5L/YBKJ/KQ9HKQT3/F5LYBKJKQ9HKQT3.png&filename=Screen Shot 2021-06-23 at 1.25.27 PM.png)
This project is going to combine a 4bit adder with an lcd display by showing the decimal values of the circuit on the display when a certain switch is turned on.
Supplies
1. Arduino
2. Breadboard
3. 4 different coloured wires
4. 2 dip switches
5. 2 XOR gates
6. 2 AND gates
7. 1 OR gate
8. LCD monitor
9. 8 10K ohm resistors
Understanding of 4 Bit Adder
![4-bit-adder-circuit.png](/proxy/?url=https://content.instructables.com/FAL/YX8G/KQ9HKQGX/FALYX8GKQ9HKQGX.png&filename=4-bit-adder-circuit.png)
Above you can see the schematic of a 4bit adder and how all the logic gates are used to produce each output.
Gather All Components
![Screen Shot 2021-06-21 at 9.28.30 AM.png](/proxy/?url=https://content.instructables.com/FPF/0K3B/KQ6MNY9I/FPF0K3BKQ6MNY9I.png&filename=Screen Shot 2021-06-21 at 9.28.30 AM.png)
Before you start assembling the project make sure you have every component listed above to ensure the right outcome.
Put Components Together
![Screen Shot 2021-06-21 at 9.23.18 AM.png](/proxy/?url=https://content.instructables.com/FWK/N49D/KQ6MNY7K/FWKN49DKQ6MNY7K.png&filename=Screen Shot 2021-06-21 at 9.23.18 AM.png)
After you have gathered all your components you can begin putting them all together. The image above shows how everything should be placed to prepare the project for wiring.
Wiring
![Screen Shot 2021-06-21 at 9.34.15 AM.png](/proxy/?url=https://content.instructables.com/FTZ/U2T2/KQ6MNYFQ/FTZU2T2KQ6MNYFQ.png&filename=Screen Shot 2021-06-21 at 9.34.15 AM.png)
Once all components are placed correctly you can now begin wiring the circuit. When wiring make sure you are placing them in the correct spot as one wire can mess up everything.
Coding
![codecode.jpg](/proxy/?url=https://content.instructables.com/FLZ/N1H3/KQ824AVD/FLZN1H3KQ824AVD.jpg&filename=codecode.jpg)
The code for this project is shown below