0% found this document useful (0 votes)
98 views3 pages

COA Experiment

This document describes an experiment to implement binary to gray code and gray to binary code conversions using integrated circuits. The apparatus used includes a breadboard, IC 7486, and trainer kit. It provides the theory behind binary to gray and gray to binary conversions. The circuit diagram and pin diagram of IC 7486 are shown. An observation table is included to record the input codes and output codes. Precautions are given such as properly identifying IC pins before making connections and not exceeding the power supply voltage.

Uploaded by

Arun Lodhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views3 pages

COA Experiment

This document describes an experiment to implement binary to gray code and gray to binary code conversions using integrated circuits. The apparatus used includes a breadboard, IC 7486, and trainer kit. It provides the theory behind binary to gray and gray to binary conversions. The circuit diagram and pin diagram of IC 7486 are shown. An observation table is included to record the input codes and output codes. Precautions are given such as properly identifying IC pins before making connections and not exceeding the power supply voltage.

Uploaded by

Arun Lodhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EXPERIMENT N0-02

Object:-Implementing Binary to Gray, Gray to Binary code


Conversions.

APPARATUS USED:
i) Bread board-01
(ii) IC-7486
(ii) Trainer kit- ST-2611
(iv) Patch cords- as required

THEORY:
Binaryto Gray Conversion:- The logical circuit which converts binary códe
to equivalent gray code is known as binary to gray code converter. The gray
code is a non weighted code. The successive gray code differs in one bit
position only that means it is a unit distance code. It is also referred as cyclic
code. It is not suitable for arithmetic operations. It is the most popular of the
unit distance codes. it is also a reflective code. An n-bit Gray Code can be
Dbtained by reflecting a n n-1 bit c o d e a b o u t an axis after 2 rows, and

putting the MSB of 0 above the axis and the MSB of 1 below the axis

Gray to Binary Conversion:-Binary Numbers is default way to store


numbers, but in many applications binary numbers are difficult to use and a
variation of binary numbers is needed. This is where Gray Codes a r e
very
usefui.
Gray code has property that two Successive numbers differ in only one
bit because of this property gray code does the cycling through various
states with minimal effort and used in Kmaps, error
correction,
Communication etc.
Circuit Diagram:
Fig:-Binaryto Gray & Gray to Binary Conversion
1
2 7A93
XOR1 3

G 4
xOR2 n

5
Pin Diagram of IC-7486:
Vcc 8.4 A4 Y4 B3 A3

14 13 12
11 10 9

5
B2 Y2
7 GND
A1 B1 Y1 A2

Observation Table:

Binary to Grey code Conversion:-


MSB Binary Code n Grey COde
G1 G2 G3
B1 B2 B3

1
Grey Code to Binary Conversion:
Grey Code Binary Code
G1 G2 G3 B1 B2 B3
0 0

RESULT- t i83ewtot bolto cbservnbio telle Cme

PRECAUTION: 1 ) 1C pns must be properly identified before making connections.

(2) Power supply never exceed to +5V.

(3) Connection must be tight.

(4) Connections must be made with power supply off.

You might also like