









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Code Table of Binary Number system
Typology: Study notes
1 / 16
This page cannot be seen from the preview
Don't miss anything!










YOU ARE HERE: HOME / NUMBER SYSTEMS / DIFFERENT TYPES OF BINARY CODES
JANUARY 28, 2015 BY ADMINISTRATOR — 2 COMMENTS
The rst successful system of electrical communication was the telegraph, which was invented by Samuel F.B. Morse in the year 1832. The telegraph operators used a code of clicks to send the messages. If the key pressed for a short time it is the Morse code called ‘dot’ and if the key pressed for a long-time it is ‘Dash’. A sample Morse code is shown below:
HOME PROJECTS MINI PROJECTS FREE CIRCUITS TUTORIALS SYMBOLS DIY PROJECT KITS COURSES CONTACT US
If it is observed logically, various innumerable combinations of dots and dashes of any kind of words (even sentences) can be written utilizing the above code. In the same binary digits also be utilized to make such various innumerable combinations. These may be considered as binary codes.
Other than the 8421 code or BCD code, 2421 code, 5211 code, re ective code, sequential code, non-weighted code, excee-3 code and Grey code are some of the codes which were popularized.
BACK TO TOP
Weighted Binary Systems The values assigned to consecutive places in the decimal system which is a place value system are 10⁴, 10³, 10², 10¹, 10⁰, 10⁻¹, 10⁻², 10⁻³… from left to right. It is easily can be understood that the weight of digit of the decimal system is ‘10’.
As per the above expression all the decimal numbers written in the 4 Bit binary code in the form of 8421 and this is called as 8421 Code and also as Binary coded decimal BCD.
As this is a straight code, any Decimal number can be expressed easily because the weights of the positions are straight for easy conversion into this 8421 code.
There are other forms of codes which are not so popular but rather confusing. They are 2421 code, 5211 code, re ective code, sequential code, non- weighted coded, excess-3 code and Grey code. They are having their own importance for some of the exclusive applications and may be useful for some of the typical applications.
BACK TO TOP
This code also a 4 bit application code where the binary weights carry 2, 4, 2, 1 from left to right.
This code is also a 4 bit application code where the binary weights carry 5, 4, 2, 1 from left to right.
DECIMAL NUMBER BINARY NUMBER 5211 CODE 0 0 0000 1 1 0001 2 10 0011 3 11 0101 4 100 0111
8421 code is not a re ective code.
BACK TO TOP
Sequential codes are the codes in which 2 subsequent numbers in binary representation di er by only one digit. The 8421 and Excess-3 codes are examples of sequential codes. 2421 and 5211 codes do not come under sequential codes.
DECIMAL NUMBER BINARY NUMBER 8421 CODE EXCESS- 0 0 0000 0011 1 1 0001 0100 2 10 0010 0101 3 11 0011 0110 4 100 100 0111 5 101 0101 1000 6 110 0110 1001 7 111 0111 1010 8 1000 1000 1011 9 1001 1001 1100 BACK TO TOP
Non-Weighted Codes Some of the codes will not follow the weights of the sequence binary numbers these are called
as non-weighted codes. ASCII code and Grey code are some of the examples where they are coded for some special purpose applications and they do not follow the weighted binary number calculations.
BACK TO TOP
As mentioned above, some of the codes will not follow the binary weights, Excee-3 code is an example of it and it is an important 4 bit code. The excess – 3 code of a decimal number is achieved by adding the number 3 to the 8421 code.
For example to convert 15 to an excess-3 code, rst 3 to be added to each digit as shown below.
d 7 will become 5, 6 and 10 respectively. These 5, 6 and 10 decimals have to be converted into binary form and the result is 010101101010.
10
10
FILED UNDER: NUMBER SYSTEMS
Comments
Vaibhav says OCTOBER 29, 2017 AT 2:38 AM Nicely explain ….good job Reply
Swarnakamal Mishra says DECEMBER 26, 2017 AT 8:51 AM Really helpful. Thanks Reply
Leave a Reply Your email address will not be published. Required elds are marked * Comment
Name *
Suggest A Topic [or] Project
KITS Best Drone Kits [12] 3D Printer Kits [12] Best Robot Vacuum Clears [14]
GENERAL Tutorials Symbols Courses Calculator Contact
PROJECTS Electrical Electronics Embedded Power Robotics ARM IOT
PROJECTS Mini projects Microcontroller Arduino Solar Free circuits Home Automation Seminar Topics Electronics Questions
TUTORIALS Capacitors Resistors Filters Diodes Transistors
TUTORIALS Ampli ers IO Devices Thyristors DC Circuits Number System
FOLLOW US Instagram Youtube Facebook Google Plus Twitter
Copyright © 2018 Electronicshub.org