ADE Practical 3_Gray to Binary Code Conversion
ADE Practical 3_Gray to Binary Code Conversion
Toolkit Used:-
Theory:-
Gray code to binary conversion is a simple and easy process. Following 3 steps
can convert a gray to binary code:
1. Record the Most Significant Bit (MSB) of gray code as it is.
2. Add the MSB to the next bit of the gray code, record the sum, and neglect the carry.
In the 2nd step, the XOR operation can also be done instead of adding MSB to the
next bit and neglecting the carry.
3. Repeat step 2 again till the end of the gray code.
HVPM COET
Truth table of Gray to Binary conversion
Connections:-
1. Connect +5 V pin from the trainer on the left side to +5V pin on the DB06 using a
patch cord wire.
2. Connect GND pin from the trainer to ground symbol pin on the DB06.
3. Connect the input section are pins no. D3, D2, D1 and D1 on the bottom of the trainer
to G0, G1, G2, and G3 pins of the gray to binary code circuit respectively.
4. Connect the pin no. B0, B1, B2, and B3 of gray to binary code circuit to the output
pin no. D3, D2, D1, and D0 of the 8-bit LED Display on the trainer respectively, in
order to display the binary number from the gray inputs.
5. Make sure all your connections are right then turn on the power supply.
6. Turn D3 switch to position 1 and keep D0, D1 and D2 switches at position 0 then
observe the output on 8-bit LED display (green light indicates red light indicates 1).
7. Observe the output for different input combination as shown in truth table of gray to
binary code conversion on Table.
8. Verify Truth Table on Table.
Results: Gray to Binary code conversion has been verified & realized.
HVPM COET