BE Lab Manual Experiment 4
Experiment 4
Aim:-To study Binary to Gray Code Converter Circuit.
Apparatus: - Binary to Gray Code Converter kit, digital multimeter, patch chords.
Theory: - Code converter is a digital system that converts code from one form to another. Many a time’s data or information is available in one form and we require the data in another form. For such purpose a “Code Converter” is used. Binary to Gray Code Converter is one the type of Code Converter.
Binary Number System:-
The number system with base (or Radix) two is called a Binary number System. There are only two Symbols used in this system they are 0 & 1. These are known as bits. It is a Positional system. i.e. every position assigned a specific weight.
Gray Codes:-
The Gray Code is an unweighted Code, which means the position in the code groups do not have any specific weight assigned to them because of this, Gray Code is not suited for arithmetic operations. But it is used to reduce error while transmitting digital information from one place to another. The major advantage of the Gray Code is, only a single bit changes its logic when a decimal number changes from proceeding number to next number.
Conversion from Binary to Gray Code:-
Copy the MSB of the binary number as it is.
Add the MSB of binary with the next bit and record the sum ignoring the carry if
generated.
Continue the addition of one bit to the next till the LSB of the Binary number and
record the sum.
The following table shows the 4 bit equivalent of the 4-bit binary number.
Procedure:-
- Study the circuit provided on the front panel of the kit.
- Switch ‘ON’ the power supply.
- Note down the voltage at D0 to D3 for logic 1 & logic 0.
- Apply the logic to the B3 to B0 from logic input using patch chords.
- Connect the output’s G3 to G0 to logic output indicator using patch chords.
- Verify and note down the Gray equivalent of binary no.
Result:-
The Binary to Gray Code Converter Circuit is studied and the Truth table is verified.
Comments
Post a Comment