Digital Encoder

Digital Encoder is a Digital Device that uses binary number of n bit to represent a number of base ten . Binary number of n bit is called Binary Coded Decimal (BCD), a coding scheme used in digital to encode informations
If there are two control lines A and B , we can have 4 4-bit-binary-numbers a3a2a1a0 which can be used to represent a number of base ten from 0 to 3

A B a3 a2 a1 a0 Decimal Number
0 0 0 0 0 0 0
0 1 0 0 0 1 1
1 0 0 0 1 0 2
1 1 0 0 1 1 3

Binary Coded Decimal - BCD

n order to encode decimal number from 0 - 9 using Binary Coded Decimal Scheme , 10 4-bit-Binary-numbers are used

A B a3210 a a a Decimal Number
0 0 0 0 0 0 0
0 1 0 0 0 1 1
1 0 0 0 1 0 2
1 1 0 0 1 1 3
1 1 0 1 0 0 4
1 1 0 1 0 1 5
1 1 0 1 1 0 6
1 1 0 1 1 1 7
1 1 1 0 0 0 8
1 1 1 0 0 1 9

ASCII

ASCII , America Coding Information Interchange , is a coding scheme used in Noth America to encode informations using 7-bit-binary-numbers .
a6 a5 a4 a3 a2 a1 a0 Information
0 0 0 0 0 0 0 a
0 0 0 0 0 0 1 b
0 0 0 0 1 1 1 c


0 0 0 0 1 0 0 d
0 0 0 0 1 0 1 e
0 0 0 0 1 1 0 f
0 0 0 0 1 1 1 g

 

 

0 komentar:

Post a Comment

Related Posts with Thumbnails
GiF Pictures, Images and Photos