Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE) PDF Download

Introduction

BCD code plays an important role in digital circuits. The BCD stands for Binary Coded Decimal Number. In BCD code, each digit of the decimal number is represented as its equivalent binary number. So, the LSB and MSB of the decimal numbers are represented as its binary numbers. There are the following steps to convert the binary number to BCD:

  • First, we will convert the binary number into decimal.
  • We will convert the decimal number into BCD.

Let's take an example to understand the process of converting a binary number into BCD

Example 1: (11110)2
1. First, convert the given binary number into a decimal number.
Binary Number: (11110)2
Finding Decimal Equivalent of the number:
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Decimal number of the Binary number (11110)2 is (30)10

2. Now, we convert the decimal to the BCD
We convert each digit of the decimal number into groups of the four-bit binary number.
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Result:
(11110)2 = (00110000)BCD
Below is the table that contains the BCD code of the decimal and binary number.
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)In the above table, the most significant bit of the decimal number is represented by the bit B4, and the least significant bits are represented by B3, B2, B1, and B0. From the above table, we can express the SOP function for different bits of BCD code are as follows:
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)
The K-maps of the above SOP functions are as follows:
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)

BCD to Binary Conversion

The process of converting BCD code into Binary is opposite to the process of converting Binary code into BCD. There are the following steps to convert the BCD code into Binary:
In the first step, we will convert the BCD number into a decimal by making the four-bit groups and finding the equivalent decimal number for each group.
In the last step, we will convert a decimal number into Binary using the process of converting decimal to binary number.

Example 1: (00101000)BCD
1. Convert BCD to Decimal
Make the groups of 4 digits and find the equivalent decimal number as:
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)The decimal number of the given BCD code is: (28)10
2. Convert Decimal to Binary
Use the long division method to convert the decimal number into a binary number as:
Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)Arrange the remainders in the reverse order. So, the LSB of the binary number is the first remainder, and the MSB of the binary number is the last remainder.
The binary number of the decimal number (18)10 is: (11100)2
Result: (00101000)BCD = (11100)2

The document Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE) is a part of the Electronics and Communication Engineering (ECE) Course Digital Circuits.
All you need of Electronics and Communication Engineering (ECE) at this link: Electronics and Communication Engineering (ECE)
6 videos|76 docs|52 tests

Top Courses for Electronics and Communication Engineering (ECE)

6 videos|76 docs|52 tests
Download as PDF
Explore Courses for Electronics and Communication Engineering (ECE) exam

Top Courses for Electronics and Communication Engineering (ECE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Viva Questions

,

study material

,

past year papers

,

ppt

,

Free

,

MCQs

,

shortcuts and tricks

,

Extra Questions

,

Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)

,

Exam

,

Objective type Questions

,

pdf

,

Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)

,

video lectures

,

Summary

,

Semester Notes

,

Sample Paper

,

mock tests for examination

,

Previous Year Questions with Solutions

,

Important questions

,

practice quizzes

,

Binary to BCD & BCD to Binary Conversion | Digital Circuits - Electronics and Communication Engineering (ECE)

;