< Digital Electronics

Digital Encoder Introduction

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

ABa3a2a1a0Decimal Number
0000000
0100011
1000102
1100113

Digital Encoder Types

BCD - Binary Coded Decimal

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

ABa3a2a1a0Decimal Number
0000000
0100011
1000102
1100113
1101004
1101015
1101106
1101117
1110008
1110019

ASCII Code

ASCII stands for American Standard Communication Information Interchange is the first standard introduced in North America for Information exchange . ASCII uses 7 bits Binary numbers to represent information in human language

  1. Number from 0 to 9
  2. Capital A to Z
  3. Common a to z


Code 0x20 (hexadecimal), the space character, denotes the space between words, as produced by the space-bar of a keyboard. The space character is considered an invisible graphic rather than a control character. Codes 0x21 to 0x7E, known as the printable characters, represent letters, digits, punctuation marks, and a few miscellaneous symbols.

BinaryOctDecHexGlyph
010 00000403220space
010 00010413321!
010 00100423422"
010 00110433523#
010 01000443624$
010 01010453725%
010 01100463826&
010 01110473927'
010 10000504028(
010 10010514129)
010 1010052422A*
010 1011053432B+
010 1100054442C,
010 1101055452D-
010 1110056462E.
010 1111057472F/
011 000006048300
011 000106149311
011 001006250322
011 001106351333
011 010006452344
011 010106553355
011 011006654366
011 011106755377
011 100007056388
011 100107157399
011 1010072583A:
011 1011073593B;
011 1100074603C<
011 1101075613D=
011 1110076623E>
011 1111077633F?
BinaryOctDecHexGlyph
100 00001006440@
100 00011016541A
100 00101026642B
100 00111036743C
100 01001046844D
100 01011056945E
100 01101067046F
100 01111077147G
100 10001107248H
100 10011117349I
100 1010112744AJ
100 1011113754BK
100 1100114764CL
100 1101115774DM
100 1110116784EN
100 1111117794FO
101 00001208050P
101 00011218151Q
101 00101228252R
101 00111238353S
101 01001248454T
101 01011258555U
101 01101268656V
101 01111278757W
101 10001308858X
101 10011318959Y
101 1010132905AZ
101 1011133915B[
101 1100134925C\
101 1101135935D]
101 1110136945E^
101 1111137955F_
BinaryOctDecHexGlyph
110 00001409660`
110 00011419761a
110 00101429862b
110 00111439963c
110 010014410064d
110 010114510165e
110 011014610266f
110 011114710367g
110 100015010468h
110 100115110569i
110 10101521066Aj
110 10111531076Bk
110 11001541086Cl
110 11011551096Dm
110 11101561106En
110 11111571116Fo
111 000016011270p
111 000116111371q
111 001016211472r
111 001116311573s
111 010016411674t
111 010116511775u
111 011016611876v
111 011116711977w
111 100017012078x
111 100117112179y
111 10101721227Az
111 10111731237B{
111 11001741247C|
111 11011751257D}
111 11101761267E~

Reference

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.