Sonali
Sonali
Project Report
ON
SUBMITTED TO
UNDER GUIDENCE OF
PROF:-Mule Madam
DEPARTMENT OF COMPUTER
A.C.S’S
DIPLOMA IN ENGINEERING AND TECHNOLOGY,
ASHTI
2024.25
A.C.S.’S
DIPLOMA IN ENGINEERING AND TECHNOLOGY,
ASHTI – 414203
CERTIFICATE
This is certify that the project Report entitled
Submitted by
Save PDFFavorite
If looking to add numbers from 0 to 15, and you know how to rapidly
convert from binary to decimal, well this project is for you. For my
Engineering Final Project, I'll be creating a 4-bit Adder, a basic
calculator that can add up to 4 bits of 2 binary numbers, using 74xx
series IC chips/logic gates. If you're very new to this concept, I
would advise you to review on your binary conversions and learn a
bit about logic gates. This project doesn't require any coding
experience, so an Arduino won't be required.
This means the you can calculate up to 1111 + 1111, which will
give you 11110, aka 15+15 = 30. Unlike the 2-bit adder, that uses
one half adder and one full adder, the 4-bit uses one half-adder and
three full adders or four full adders. Each full adder has a carry
value and a sum value, and the carry values contribute to the next
full adder until the last full adder, where a carry value is left over as
a 5th output.
The logic gates that I'll be using in this project is XOR, AND and OR
gates. If you would like to build the full project, then here are the
exact project Supplies needed.
Step 1: Supplies
Arduino Uno
2x Standard Breadboard
Jumper Wires
2x DIP Switches
2x XOR Gates
2x AND Gates
1x OR Gate
5x LEDs
Step 2: IDEATE
Above shows the concept. The blocks represent the adders and the
arrows are the carry-ins and carry-outs.
When making it IRL the first thing we have to do is place all of our
need components onto the breadboard. Make sure everything is
lined up ready to be wired up. In this picture, I connected the dip
switches on the very left and the logic gates in proper order so
wiring wouldn't be a problem afterwards. The order that I've placed
the logic gates are XOR, XOR, AND, AND and OR. I also placed all
5 of my LEDs on the bottom right of the breadboards, and
connected them directly to ground. Now, connect the DIP switches
to power, and provide power & ground for each logic gate. Also
make sure that the dip on the logic gate is facing towards the left.
Next, start by making a half-adder which gives the first sum and
carry for the 1st full adder of the 3. The wiring for this circuit is pretty
easy. In this circuit, the 1st dip switch, 4th switch is connected to
both XOR and AND gate, which goes for the 2nd dip switch 4th
switch as well. The XOR output would be the first sum (s0)
connecting to the AND output becomes the carry for the full adder.
Step 8: Step 6: Add 3 Full Adders
Once the circuit is fully wired, I first tested the 4 bit adder with LEDs
by connecting them onto a separate breadboard. Test if the 4 bit
adder calculates correctly, by trying different calculations. Use a
website like this Binary Calculator to check if your calculator is able
to correctly calculate the values. If the 4 bit adder displays the
correct values, then rest assure that you've made a 4-bit adder
successfully. You should be proud of yourself, as you've made
something pretty gosh damn impressive.