SlideShare a Scribd company logo
DIGITAL ELECTRONICS PROJECT
BINARY TO GRAY & GRAY TO BINARY
CONVERTER USING XOR
(SUBMITTED BY)
SECTION – E1513A
 D.DINESH - (11502811)
 P.BABU RAO - (11506764)
 M.SAI - (11507762)
 P.MOHAN KRISHNA - (11507237)
(SUBMITTED TO)
shri. ABHINAV VISHNOI
ASSISTANT PROFESSOR
LOVELY PROFESSIONAL UNIVERSITY
INTRODUCTION
WHAT IS BINARY CODE :-
BINARY code is a way of representing the text
or the data generated by the computers and other devices .
In binary coding the text or the data is represented in a stream of bits of 1's and
0's.
that is weighted as ......8,4,2,1 . so for forming 7 , you just need 111.similar
computation for other decimal numbers .
WHAT ARE GRAY CODES:-
GRAY CODES are non weighted codes , that is
they can’t be provided a weight to calculate their equivalent in decimal . Gray
codes are often called reflected binary code , the reason is clear if you compare
the column of gray code with the binary code . gray Code is a symbolic
representation of discrete information. Codes are of different types. Gray Code
is one of the most important codes. It is a non-weighted code which belongs to a
class of codes called minimum change codes. In this codes while traversing
from one step to another step only one bit in the code group changes. In case of
Gray Code two adjacent code numbers differs from each other by only one bit.
The idea of it can be cleared from the table given below.
HOW GRAY CODES ARE CALCULATED :-
Here D is the M.S.B ( most significant bit ) and A is the LSB (least significant
bit ). The MSB is written as it is .for writing the other digits we XOR the inputs
binary bits to obtain the output gray code bits .
FOR example -
If I want to calculate the gray code of 0110. the following steps are performed-
1) the M.S.B is written as it is , that is 0.
2) then the M.S.B and the digit and right side of it is XOR'ed to obtain the next
digit in gray code . 0 is XOR'ed with 1, so the output next digit is 1 .
3) similarly other digits are XORed to obtain the gray code
GRAY TO BINAY CIRCUIT:-
COMPONENTS USED
1.BREAD BOARD
2.CONNCETING WIRES.
3.LEDS
4.IC7486(XOR).
5.RESISTORS.
6.PUSH BUTTON SWITCHES.
7.BATTERY POWER SUPPLY.
The 7486 IC package contains four independent positive logic XOR GATES.
Pins 14 and 7 provide power for all four logic gates.
Outputs of one gate can be connected to inputs of another within the same chip
or to another chip as long as they share the same ground. The figure to the left
illustrates a basic circuit showing how to wire inputs and using LEDs to display
outputs.
Use caution when wiring chip and be sure to check which pins are outputs and
inputs!
XOR GATE Logic-Rules:
The output is HIGH when one OR the other input is HIGH, but NOT both. If
both inputs are high output will be LOW.
Circuit diagram:-
1)TO pin number 14 Of IC 7486 Vcc is applied & pin number 7 is grounded .
2)Assemble the circuit on bread board, as per above diagram.
3) Give the logical inputs and check for the proper output, as per the truth table.
USES:
Binary - gray Code and gray-binary Converter is an online tool used in
digital computation to convert either Binary code into its equivalent gray code
or gray code to its equivalent Binary code. From the above, this calculator is
comprises of two converters namely Binary to gray Code Converter and gray to
Binary Code Converter and it is separated by the respective radio button.
2.the gray coding is meant for minimizing bit errors bycausing adjacent words
to only be one bit off from their neighbours. That
way, a bit of noise that's only enough to push the received signal over
by one spot in the constellation only causes a single bit error.
Contrast that with what would happen if you put '0111' next to '1000',
'0000' next to '1111', '0011' next to '1100', etc.
CONCLUSION
Integrating features of all the hardware components used have been developed
in it. Using highly advanced IC’s with the help of growing technology, the
project has been successfully implemented. Thus the project has been
successfully designed and tested.
THANKYOU

More Related Content

What's hot

3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
Unsa Shakir
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
Rajendra Kumar
 
Real Life Application of Digital Electronics
Real Life Application of Digital ElectronicsReal Life Application of Digital Electronics
Real Life Application of Digital Electronics
Taslima Yasmin Tarin
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
Praveen Kumar
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
Ashutosh Jaiswal
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
Eng Ahmed Salad Osman
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
swaminath kanhere
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
vikram rajpurohit
 
Demultiplexer
DemultiplexerDemultiplexer
Demultiplexer
Puru Dutt Sharma
 
PAL And PLA ROM
PAL And PLA ROMPAL And PLA ROM
PAL And PLA ROM
RONAK SUTARIYA
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
DrSonali Vyas
 
Digital Components
Digital ComponentsDigital Components
Digital Components
lalithambiga kamaraj
 
Digital electronics
Digital electronicsDigital electronics
Multiplexers
MultiplexersMultiplexers
Multiplexers
Saloni Jain
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
Pantech ProLabs India Pvt Ltd
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
Hemant Chetwani
 
full subtractor
full subtractorfull subtractor
full subtractor
Amodh Pandey
 

What's hot (20)

3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Real Life Application of Digital Electronics
Real Life Application of Digital ElectronicsReal Life Application of Digital Electronics
Real Life Application of Digital Electronics
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
Demultiplexer
DemultiplexerDemultiplexer
Demultiplexer
 
PAL And PLA ROM
PAL And PLA ROMPAL And PLA ROM
PAL And PLA ROM
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
 
full subtractor
full subtractorfull subtractor
full subtractor
 

Similar to Binary to gray converter using xor

BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
MagedAldhaeebi
 
Binary codes
Binary codesBinary codes
Binary codes
GargiKhanna1
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdf
UmerKhan147799
 
The decoder
The decoderThe decoder
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
Er. Nawaraj Bhandari
 
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEMEFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
elelijjournal
 
Digital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptxDigital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptx
ASVKVinayak
 
G5243336
G5243336G5243336
G5243336
IOSR-JEN
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
VandanaPagar1
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
MahiboobAliMulla
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
shubhangisonawane6
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
srinu247
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.ppt
KelvinSerimwe
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptx
tlap4412
 
Digital electronics digital coders decoder encoder adder
Digital electronics digital coders decoder encoder adderDigital electronics digital coders decoder encoder adder
Digital electronics digital coders decoder encoder adder
Nilesh Bhaskarrao Bahadure
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
Paurav Shah
 
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
IJERA Editor
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
NazmulHasan854383
 
Octal to binary and octal to hexa decimal conversions
Octal to binary and octal to hexa decimal conversionsOctal to binary and octal to hexa decimal conversions
Octal to binary and octal to hexa decimal conversions
Afrasiyab Haider
 

Similar to Binary to gray converter using xor (20)

BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
 
Binary codes
Binary codesBinary codes
Binary codes
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdf
 
The decoder
The decoderThe decoder
The decoder
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEMEFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
 
Digital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptxDigital Logic-Lecture19.pptx
Digital Logic-Lecture19.pptx
 
G5243336
G5243336G5243336
G5243336
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
 
Conclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.pptConclusion in this titty tittle 106_1.ppt
Conclusion in this titty tittle 106_1.ppt
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptx
 
Digital electronics digital coders decoder encoder adder
Digital electronics digital coders decoder encoder adderDigital electronics digital coders decoder encoder adder
Digital electronics digital coders decoder encoder adder
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
 
Octal to binary and octal to hexa decimal conversions
Octal to binary and octal to hexa decimal conversionsOctal to binary and octal to hexa decimal conversions
Octal to binary and octal to hexa decimal conversions
 

More from DINESH DEVIREDDY

Project on digital vlsi design
Project on digital vlsi designProject on digital vlsi design
Project on digital vlsi design
DINESH DEVIREDDY
 
Marketing and the psychology of persuasion
Marketing and the psychology of persuasionMarketing and the psychology of persuasion
Marketing and the psychology of persuasion
DINESH DEVIREDDY
 
PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
 PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
DINESH DEVIREDDY
 
Microcontroller project
Microcontroller projectMicrocontroller project
Microcontroller project
DINESH DEVIREDDY
 
matlab functions
 matlab functions  matlab functions
matlab functions
DINESH DEVIREDDY
 
WATER RESOURCES IN INDIA
WATER RESOURCES IN INDIAWATER RESOURCES IN INDIA
WATER RESOURCES IN INDIA
DINESH DEVIREDDY
 
Narration concepts ppt
Narration concepts  pptNarration concepts  ppt
Narration concepts ppt
DINESH DEVIREDDY
 

More from DINESH DEVIREDDY (7)

Project on digital vlsi design
Project on digital vlsi designProject on digital vlsi design
Project on digital vlsi design
 
Marketing and the psychology of persuasion
Marketing and the psychology of persuasionMarketing and the psychology of persuasion
Marketing and the psychology of persuasion
 
PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
 PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
PSYCHOMETRICS INDIVIDUAL AND GROUP TESTS
 
Microcontroller project
Microcontroller projectMicrocontroller project
Microcontroller project
 
matlab functions
 matlab functions  matlab functions
matlab functions
 
WATER RESOURCES IN INDIA
WATER RESOURCES IN INDIAWATER RESOURCES IN INDIA
WATER RESOURCES IN INDIA
 
Narration concepts ppt
Narration concepts  pptNarration concepts  ppt
Narration concepts ppt
 

Recently uploaded

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Binary to gray converter using xor

  • 1. DIGITAL ELECTRONICS PROJECT BINARY TO GRAY & GRAY TO BINARY CONVERTER USING XOR (SUBMITTED BY) SECTION – E1513A  D.DINESH - (11502811)  P.BABU RAO - (11506764)  M.SAI - (11507762)  P.MOHAN KRISHNA - (11507237) (SUBMITTED TO) shri. ABHINAV VISHNOI ASSISTANT PROFESSOR LOVELY PROFESSIONAL UNIVERSITY
  • 2. INTRODUCTION WHAT IS BINARY CODE :- BINARY code is a way of representing the text or the data generated by the computers and other devices . In binary coding the text or the data is represented in a stream of bits of 1's and 0's. that is weighted as ......8,4,2,1 . so for forming 7 , you just need 111.similar computation for other decimal numbers . WHAT ARE GRAY CODES:- GRAY CODES are non weighted codes , that is they can’t be provided a weight to calculate their equivalent in decimal . Gray codes are often called reflected binary code , the reason is clear if you compare the column of gray code with the binary code . gray Code is a symbolic representation of discrete information. Codes are of different types. Gray Code is one of the most important codes. It is a non-weighted code which belongs to a class of codes called minimum change codes. In this codes while traversing from one step to another step only one bit in the code group changes. In case of Gray Code two adjacent code numbers differs from each other by only one bit. The idea of it can be cleared from the table given below. HOW GRAY CODES ARE CALCULATED :-
  • 3. Here D is the M.S.B ( most significant bit ) and A is the LSB (least significant bit ). The MSB is written as it is .for writing the other digits we XOR the inputs binary bits to obtain the output gray code bits . FOR example - If I want to calculate the gray code of 0110. the following steps are performed- 1) the M.S.B is written as it is , that is 0. 2) then the M.S.B and the digit and right side of it is XOR'ed to obtain the next digit in gray code . 0 is XOR'ed with 1, so the output next digit is 1 . 3) similarly other digits are XORed to obtain the gray code
  • 4. GRAY TO BINAY CIRCUIT:- COMPONENTS USED 1.BREAD BOARD 2.CONNCETING WIRES. 3.LEDS 4.IC7486(XOR). 5.RESISTORS. 6.PUSH BUTTON SWITCHES. 7.BATTERY POWER SUPPLY. The 7486 IC package contains four independent positive logic XOR GATES. Pins 14 and 7 provide power for all four logic gates. Outputs of one gate can be connected to inputs of another within the same chip or to another chip as long as they share the same ground. The figure to the left illustrates a basic circuit showing how to wire inputs and using LEDs to display outputs. Use caution when wiring chip and be sure to check which pins are outputs and inputs! XOR GATE Logic-Rules: The output is HIGH when one OR the other input is HIGH, but NOT both. If both inputs are high output will be LOW.
  • 5. Circuit diagram:- 1)TO pin number 14 Of IC 7486 Vcc is applied & pin number 7 is grounded . 2)Assemble the circuit on bread board, as per above diagram. 3) Give the logical inputs and check for the proper output, as per the truth table.
  • 6. USES: Binary - gray Code and gray-binary Converter is an online tool used in digital computation to convert either Binary code into its equivalent gray code or gray code to its equivalent Binary code. From the above, this calculator is comprises of two converters namely Binary to gray Code Converter and gray to Binary Code Converter and it is separated by the respective radio button. 2.the gray coding is meant for minimizing bit errors bycausing adjacent words to only be one bit off from their neighbours. That way, a bit of noise that's only enough to push the received signal over by one spot in the constellation only causes a single bit error. Contrast that with what would happen if you put '0111' next to '1000', '0000' next to '1111', '0011' next to '1100', etc. CONCLUSION Integrating features of all the hardware components used have been developed in it. Using highly advanced IC’s with the help of growing technology, the project has been successfully implemented. Thus the project has been successfully designed and tested. THANKYOU