Justin Adrian B
Justin Adrian B
Ompoc
BSECT - 301
1.) What is Data Communication Codes?
-It is introduced as the concept of data codes. This refers to the way in which
bits are grouped together to represent different symbols. A coding system used to
abbreviate data; for example, codes for regions, classes, products and status.
2.) Samples of Data Communication Codes.
The Baudot code was used extensively in telegraph systems. It is a five bit code
invented by the Frenchman Emile Baudot in 1870. Using five bits allowed 32
different characters. To accommodate all the letters of the alphabet and
numerals, two of the 32 combinations were used to select alternate character
sets.
Each character is preceded by a start bit, and followed by a stop bit. It is an
asynchronous code, and thus suited for low speed data communication.
Value
3
25
14
9
1
13
26
20
6
11
15
18
28
12
24
22
LTRS shift
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
FIGS shift
?
:
Who are u
3
!
&
#
8
Bell
(
)
.
,
9
0
Value
23
10
5
16
7
30
19
29
21
17
0
31
27
4
8
2
LTRS shift
Q
R
S
T
U
V
W
X
Y
Z
BLANK
LTRS
FIGS
SPACE
CR
LF
FIGS shift
1
4
.
5
7
;
2
/
6
"
BLANK
LTRS
FIGS
SPACE
CR
LF
For instance, lets consider coding the phase "JAMES BOND 007 SAYS HI!"
using the Baudot code. To switch between the LTRs and FIGs requires the use of
a LetterShift or a FigureShift. Once switched, you stay in that mode till you want
to switch back again. So, here is the phrase encoded in Baudot.
J
US T I N
31 11 7 5 16 5 12
AD R I A
3 9 10 6 3
N
O M P O C H I !
12 4 24 28 22 24 14 420 6 27 13
The ASCII code is the most popular code for serial data communications today. It
is a seven bit code (128 combinations), and thus supports upper and lowercase
characters, numeric digits, punctuation symbols, and special codes. The table
below lists the values for each character in the ASCII set.
00 01 02 03 04 05 06 07 08
00 NUL SOH STX ETX EOT ENQ ACK BEL BS
09 0A
TAB LF
0B 0C 0D 0E 0F
VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB
ES
FS GS RS US
C
20
30
40
50
60
70
+
;
K
[
K
{
0
@
P
`
P
!
1
A
Q
A
Q
"
2
B
R
B
R
#
3
C
S
C
S
$
4
D
T
D
T
%
5
E
U
E
U
&
6
F
V
F
V
'
7
G
W
G
W
(
8
H
X
H
X
)
9
I
Y
I
Y
*
:
J
Z
J
Z
,
<
L
\
L
|
=
M
]
M
}
.
>
N
^
N
~
/
?
O
_
O
DEL