0% found this document useful (0 votes)
27 views

ADE Practical 3_Gray to Binary Code Conversion

The document outlines a practical exercise for converting Gray code to Binary code using an XOR gate Trainer Kit. It details the aim, tools required, theoretical steps for conversion, and connection instructions for the digital trainer kit. The results confirm that the Gray to Binary code conversion has been successfully verified and realized.

Uploaded by

AKHIL JAISWAL
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

ADE Practical 3_Gray to Binary Code Conversion

The document outlines a practical exercise for converting Gray code to Binary code using an XOR gate Trainer Kit. It details the aim, tools required, theoretical steps for conversion, and connection instructions for the digital trainer kit. The results confirm that the Gray to Binary code conversion has been successfully verified and realized.

Uploaded by

AKHIL JAISWAL
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HVPM’s College of Engineering & Technology

Department of Computer Science & Engineering


3rd Sem/2nd Year
Analog & Digital Electronics Lab (Practical)
Practical 3- Gray to Binary code conversion
Aim:- To verify & realize Gray to Binary code conversion using XOR gate Trainer Kit

Toolkit Used:-

1) DB06 Binary to Gray code converter.


2) Digital trainer kit with input power supply.
3) +5V DC Power Supply Adapter.
4) Patch cords.

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.

Observation Truth Tables:-

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

You might also like