SlideShare a Scribd company logo
5
Most read
8
Most read
9
Most read
Members:
ARIF, Md. Nazrul Islam
NIZAM, Shakib Bin
AHMED, Tanveer
ALIMUZZAMAN, Mohammad
4-Bit BINARY TO GRAY
CONVERSION
Introduction
 The BINARY to GRAY CODE CONVERTER is a
digital circuit that is used to convert the binary input
into the corresponding equivalent gray code at its
output.
 The circuit is a simple digital circuit which employs
the use of Ex-OR gate IC for its operation. The
output of the circuit (Gray code)finds various
practical applications
Theory and Methodology
 Gray Code: The most important feature of grey code
is that it exhibits only a single bit change from one
code to the next. Its also known as the Reflected
Binary Code. Its named after “Frank Gray”.
 Like binary numbers the Gray code can have any
numbers of bits. For instance in going from decimal 3
to 4,the Gray Code changes from 0010 to 0110
whole the binary code changes from 0011 to 0100 a
change of 3bits.The only bit change is in the third bit
from the right in the gray code; the other remains the
same.
XOR Operation
 The output of an XOR is HIGH only when the
two inputs are at opposite logic level. It means
output X is HIGH when input A is LOW ,B is
HIGH and when A is HIGH B is low Output is
LOW.
The table shows the Binary code and its
corresponding Gray code
CONVERTING BINARY TO GRAY
 1)The most significant bit(MSB) in GRAY and
BINARY code is similar.
 2) Other bits are obtained by XOR operation of two
Adjacent binary bits.
EQUIPMENTS
 Trainer Board
 Switch 4 pc
 Register 8 pc ( 270 ohm)
 LED 8 pc (4 green,4 red)
 XOR gate (SN74HC86N) 1 pc
 7805v Regulator
 Connecting Wire
CIRCUIT DIAGRAM
IMPLEMENTED CIRCUIT
YouTube link: www.youtube.com/watch?v=xKQrupWHDLk
Applications
 Gray codes are useful in situations where analog
information is being converted to digital information
or vice versa.
 The Gray code was originally designed to prevent
spurious output from electromechanical switches.
Today, Gray codes are widely used to facilitate error
correction in digital communications such as in
television and some cable TV systems.
 Gray codes are used in labeling the axes of
Karnaugh maps.
Conclusion
 The circuit is very compact and handy and has
wide applications. It finds its application mostly in
the communication field.
 The simple design and low manufacturing cost
are the added advantage.
COST ANALYSIS
 Breadboard =230tk
 Switch -4pc = 20tk
 Register -8pc =15tk
 LED 8pc =10tk
 XOR gate(SN74HC86N) 1Pc=10 tk
 7805v regulator =10tk
 Total cost for the project is 300tk approximately.
Thank You

More Related Content

PPTX
Decoders-Digital Electronics
PPT
Switch level modeling
PPT
Multiplexers & Demultiplexers
PPTX
Parity Generator and Parity Checker
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PPTX
Encoders and decoders
PPT
Digital logic design part1
PPTX
CMOS LOGIC STRUCTURES
Decoders-Digital Electronics
Switch level modeling
Multiplexers & Demultiplexers
Parity Generator and Parity Checker
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Encoders and decoders
Digital logic design part1
CMOS LOGIC STRUCTURES

What's hot (20)

PPTX
Transistor Transistor Logic
PPTX
PDF
Delays in verilog
PPT
Counters
PPTX
Multiplexer and DeMultiplexer
PDF
MOS logic family
PPT
8086 micro processor
PPTX
Weighted and Non Weighted Codes
PPTX
Adder
PPT
Logic families
PPTX
Combinational circuits
PDF
Lecture 01 dld 2018
PPTX
Dlc{binary to gray code conversion} ppt
PPTX
Microcontroller
PPTX
ODP
D Flip Flop
PDF
Binary to gray converter using xor
PPTX
Unsigned multiplication
PDF
Registers and counters
PPTX
Verilog HDL
Transistor Transistor Logic
Delays in verilog
Counters
Multiplexer and DeMultiplexer
MOS logic family
8086 micro processor
Weighted and Non Weighted Codes
Adder
Logic families
Combinational circuits
Lecture 01 dld 2018
Dlc{binary to gray code conversion} ppt
Microcontroller
D Flip Flop
Binary to gray converter using xor
Unsigned multiplication
Registers and counters
Verilog HDL
Ad

Similar to 4 bit Binary to Gray converter using XOR (20)

PPT
Unit-4_Bus_Encoding_Part_1.ppt
PDF
H5243740
PDF
G5243336
PPTX
ATT SMK.pptx
PPTX
Encoder and decoder
PDF
Digital Principles and computer Organisation important 2 mark Questions
PPTX
Combinational circuit
PPT
STLD-Combinational logic design
PDF
PDF
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
PDF
Design and Implementation of Low Power High Speed Symmetric Decoder Structure...
PDF
Combinational circuits
PDF
Combinational Circuits - II (Encoders, Decoders, Multiplexers & PIDs).pdf
PDF
D5242023
PPTX
Encoder-and-decoder.pptx
PPTX
Lecture2- Smart Parking Assistant using Arduino
PDF
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
PPT
Chapter 4 combinational circuit
PPT
11.ppt
Unit-4_Bus_Encoding_Part_1.ppt
H5243740
G5243336
ATT SMK.pptx
Encoder and decoder
Digital Principles and computer Organisation important 2 mark Questions
Combinational circuit
STLD-Combinational logic design
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Design and Implementation of Low Power High Speed Symmetric Decoder Structure...
Combinational circuits
Combinational Circuits - II (Encoders, Decoders, Multiplexers & PIDs).pdf
D5242023
Encoder-and-decoder.pptx
Lecture2- Smart Parking Assistant using Arduino
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
Chapter 4 combinational circuit
11.ppt
Ad

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Lesson notes of climatology university.
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Computing-Curriculum for Schools in Ghana
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Microbial diseases, their pathogenesis and prophylaxis
Anesthesia in Laparoscopic Surgery in India
Lesson notes of climatology university.
Pharma ospi slides which help in ospi learning
Pharmacology of Heart Failure /Pharmacotherapy of CHF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Computing-Curriculum for Schools in Ghana
2.FourierTransform-ShortQuestionswithAnswers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Renaissance Architecture: A Journey from Faith to Humanism
102 student loan defaulters named and shamed – Is someone you know on the list?
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
VCE English Exam - Section C Student Revision Booklet
TR - Agricultural Crops Production NC III.pdf
GDM (1) (1).pptx small presentation for students
Microbial diseases, their pathogenesis and prophylaxis

4 bit Binary to Gray converter using XOR

  • 1. Members: ARIF, Md. Nazrul Islam NIZAM, Shakib Bin AHMED, Tanveer ALIMUZZAMAN, Mohammad 4-Bit BINARY TO GRAY CONVERSION
  • 2. Introduction  The BINARY to GRAY CODE CONVERTER is a digital circuit that is used to convert the binary input into the corresponding equivalent gray code at its output.  The circuit is a simple digital circuit which employs the use of Ex-OR gate IC for its operation. The output of the circuit (Gray code)finds various practical applications
  • 3. Theory and Methodology  Gray Code: The most important feature of grey code is that it exhibits only a single bit change from one code to the next. Its also known as the Reflected Binary Code. Its named after “Frank Gray”.  Like binary numbers the Gray code can have any numbers of bits. For instance in going from decimal 3 to 4,the Gray Code changes from 0010 to 0110 whole the binary code changes from 0011 to 0100 a change of 3bits.The only bit change is in the third bit from the right in the gray code; the other remains the same.
  • 4. XOR Operation  The output of an XOR is HIGH only when the two inputs are at opposite logic level. It means output X is HIGH when input A is LOW ,B is HIGH and when A is HIGH B is low Output is LOW.
  • 5. The table shows the Binary code and its corresponding Gray code
  • 6. CONVERTING BINARY TO GRAY  1)The most significant bit(MSB) in GRAY and BINARY code is similar.  2) Other bits are obtained by XOR operation of two Adjacent binary bits.
  • 7. EQUIPMENTS  Trainer Board  Switch 4 pc  Register 8 pc ( 270 ohm)  LED 8 pc (4 green,4 red)  XOR gate (SN74HC86N) 1 pc  7805v Regulator  Connecting Wire
  • 9. IMPLEMENTED CIRCUIT YouTube link: www.youtube.com/watch?v=xKQrupWHDLk
  • 10. Applications  Gray codes are useful in situations where analog information is being converted to digital information or vice versa.  The Gray code was originally designed to prevent spurious output from electromechanical switches. Today, Gray codes are widely used to facilitate error correction in digital communications such as in television and some cable TV systems.  Gray codes are used in labeling the axes of Karnaugh maps.
  • 11. Conclusion  The circuit is very compact and handy and has wide applications. It finds its application mostly in the communication field.  The simple design and low manufacturing cost are the added advantage.
  • 12. COST ANALYSIS  Breadboard =230tk  Switch -4pc = 20tk  Register -8pc =15tk  LED 8pc =10tk  XOR gate(SN74HC86N) 1Pc=10 tk  7805v regulator =10tk  Total cost for the project is 300tk approximately.