Skip to main content

Binary - Gray Code Conversion and vice-versa

Binary - Gray Code Conversion with Solved Examples

Binary - Gray Code Converter - an online tool to perform binary to grey code or grey code to binary conversion. Truth table & example conversion may useful to understand such operations in digital electronics & communications. Select the radio button to perform the appropriate conversion. Both the conversions can be done by using the below EX-OR gate logic.
                       

Binary to Gray Code Conversion

This conversion method strongly follows the EX-OR gate operation between binary bits . The below steps & solved example may useful to know how to perform binary to grey code conversion.

1. To convert binary to grey code, bring down the most siginificant digit of the given binary number, because, the first digit or most siginificant digit of the grey code number is same as the binary number.
2. To obtain the successive grey coded bits to produce the equivalent grey coded number for the given binary, add the first bit or the most siginificant digit of binary to the second one and write down the result next to the first bit of grey code, add the second binary bit to third one and write down the result next to the second bit of grey code, follow this operation until the last binary bit and write down the results based on EX-OR logic to produce the equivalent grey coded binary.
Solved Example :
The below solved example may useful to understand how to perform binary to grey code conversion.

Problem
Find the equivalent grey code for the binary 111012.

Solution :

Grey Code to Binary Conversion

This conversion method also follows the EX-OR gate operation between grey & binary bits. The below steps & solved example may useful to know how to perform grey code to binary conversion.

1. To convert grey code to binary, bring down the most siginificant digit of the given grey code number, because, the first digit or the most siginificant digit of the grey code number is same as the binary number.
2. To obtain the successive second binary bit, perform the EX-OR operation between the first bit or most siginificant digit of binary to the second bit of the given grey code.
3. To obtain the successive third binary bit, perform the EX-OR operation between the second bit or most siginificant digit of binary to the third MSD (most significant digit) of grey code and so on for the next successive binary bits conversion to find the equivalent.
Solved Example :
The below solved example may useful to understand how to perform grey code to binary conversion.

Problem
Find the equivalent binary number for the grey code 1010.
Solution :
In digital electronics & communications, the conversion between different number systems play vital role to perform various operations. The above solved examples for binary to grey code and grey code to binary conversions may useful to understand how to perform such calculations, however, when it comes to online, this binary - grey code converter may useful to perform such conversions as easy & quick as possible.
















Comments

Popular posts from this blog

Design Engineer at Infineon Bangalore

  Hello Dear Readers, Currently at Infineon Bangalore vacancy for the Design Engineer role. Design analog and mixed-signal modules in CMOS and Smart PowerTechnologies, with a particular focus on achieving high-efficiency power conversion for applications using GaN devices; In your new role you will: Design analog and mixed-signal modules  in CMOS and Smart PowerTechnologies, with a particular focus on achieving high-efficiency power conversion for applications using GaN devices; Design and verify pre-silicon analog/mixed-signal integrated circuit blocks, including incorporating features for testing and quality assurance, and providing support for top-level integration; Assist in defining the requirements  for analog and mixed-signal blocks,aligning them with IP Module architecture, and ensuring compliance with requirements through documentation; Estimate effort and planning design work packages to meet project milestones; Provide essential support to physical design ...

Engineer II - Analog Design Engineering at Microchip

Hello Dear Readers,   Currently at Microchip  vacancy for Engineer II - Analog Design Engineering role. Job Description: The Mixed Signal Development Group is responsible for delivering analog, digital and mixed-signal IP to divisions within Microchip. We work with leading edge CMOS processes to produce analog integrated circuits for wireline applications. From 112Gb/s+ SERDES to high-speed FEC engines, we enable technology that allows Microchip’s products to interface to the outside world.  Job Descriptions: As a member of the Mixed-Signal Development Group, the candidate will be supervised by a team leader/manager, and be engaged in the design of SERDES/DSP blocks, and other high-speed Digital Signal Processing blocks. This will involve taking a design from initial concept to production form. Throughout you will be mentored and coached by experienced engineers and be exposed to Microchip's Best-In-Class engineering practices. Job Responsibilities: Ramping up o...

Analog Design Engineer II at onsemi

Hello Dear Readers,   Currently at onsemi  vacancy for  Analog Design  Engineer II role. JOB DESCRIPTION: An analog design engineer is expected to quickly take an analog design block through all phases of the development process, including design, simulation, and supervision of the layout/verification processes and evaluation/debug of silicon samples. A Senior Analog IC Design Engineer will be responsible for individual block designs using CMOS process. That person will work with the latest Cadence analogue design tools (Virtuoso Composer, Verilog) Spectre and appropriate PC-based tools (MATLAB). The nature of the circuits is Mixed Signal involving blocks such as switched capacitor amplifiers, data converters, charge pumps, references, voltage buffers, IO circuits and digital building blocks. QUALIFICATIONS: Analog engineer is expected to have PhD (no experience) or master’s degree in field of Electrical Engineering/VLSI/Electronics with 0-2 years of experience and w...