SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
Code conversion
Code conversionCode conversion
Code conversion
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Binary to Gray & Gray to Binary CC
Binary to Gray & Gray to Binary CCBinary to Gray & Gray to Binary CC
Binary to Gray & Gray to Binary CC
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
module1:Introduction to digital electronics
module1:Introduction to digital electronicsmodule1:Introduction to digital electronics
module1:Introduction to digital electronics
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Bcd
BcdBcd
Bcd
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic families
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Binary adder
Binary adderBinary adder
Binary adder
 

Semelhante a Binary to gray converter using xor

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
 
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
 

Semelhante a 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
 
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
 
Comparators_and_Code_Convertersv.pptx.ppt
Comparators_and_Code_Convertersv.pptx.pptComparators_and_Code_Convertersv.pptx.ppt
Comparators_and_Code_Convertersv.pptx.ppt
 

Mais de 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
 

Último

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Último (20)

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 

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