Section 2 - RS 232 Flashcards
RS 232 voltage levels
+5 to +15V = 0
-5 to -15V = 1
RS 232 characteristics
unbalanced, unterminated, single ended, point to point (one sender, one receiver), max speed = ~20 kB/s @ 50ft, max distance = 2.4kB/s @ 300ft
RS 422 characteristics
Differential signal, terminated, balanced, terminating resistors @ end of bus, can be connected to up to 10 devices, connected devices are only receivers, -2 to -6 = 1 and 2 to 6v = 0, max speed = 10 MB/s @40ft, max distance = 100kB/s @ 4000ft
RS 485 characteristics
Differential signal, most common in industry, terminated, balanced, terminating resistors @ end of bus, can connect 32 devices, devices can transmit and receive, -1.5 to -6 = 1 and 1.5 to 6v = 0, tri-state output (0, 1 or no signal), max speed = 10 MB/s @40ft, max distance = 100kB/s @ 4000ft
Longitudinal redundancy checking (LRC)
a parity is sent with each bit to verify if it is correct or wrong but only works with an odd number of errors and not even
Logical checksums
The data is added together and the result is sent as a data byte at the end (only LSB)
Cyclic redundancy checking (CRC)
A block of data is sent and a code is sent (typically 16 bits). Good chance of catching any errors (99.9%+). One of the most popular methods although its calculation is difficult.