SlideShare a Scribd company logo
Local Asynchronous
Communications
Asynchronous Transmission
• One definition of asynchronous: transmitter and receiver do not
explicitly coordinate each data transmission
Transmitter can wait arbitrarily long between transmissions
for example, when transmitter such as a keyboard may not always
have data ready to send
• Asynchronous may also mean no explicit information about where
data bits begin and end
E.g. when we send individual ASCII characters
Bitwise Data Transmission
Transmission requires:
– Encoding bits as energy
– Transmitting energy through medium
– Decoding energy back into bits
• Energy can be electric current, radio, infrared, light, smell, etc.
• Transmitter and receiver must agree on encoding scheme and
transmission timing.
Using Electric Current to Send Bits
• Simple idea ‐ use varying voltages to represent 1s and 0s
• One common encoding use negative voltage for 1 and positive voltage
for 0
• In following figure, transmitter puts positive voltage on line for 0 and
negative voltage on line for 1
Transmission Timing Problems
• Encoding scheme leaves several questions unanswered:
– How long will voltage last for each bit?
– How soon will next bit start?
– How will the transmitter and receiver agree on timing?
• Later : Self‐clocking codes (e.g. Manchester Encoding)
• Standards specify operation of communication systems
• Devices from different vendors that adhere to the standard can
interoperate
• Example organizations:
– International Telecommunications Union (ITU)
– Electronic Industries Association (EIA)
– Institute for Electrical and Electronics Engineers (IEEE)
RS‐232
• Standard for transfer of characters across copper wire
• Produced by EIA
• Full name is RS‐232‐C
• RS‐232 defines serial, asynchronous communication
– Serial ‐ bits are encoded and transmitted one at a time (as
opposed to parallel transmission)
– Asynchronous ‐ characters can be sent at any time and bits
are not individually synchronized
Transmission Rates
• Baud rate measures number of signal changes per second
• Bits per second measures number of bits transmitted per second
• In RS‐232, each signal change represents one bit, so baud rate and
bits per second are equal
• If each signal change represents more than one bit, bits per second
may be greater than baud rate
– This is the case with modems nowadays
– More on this when we look at modulation
Framing
• Start and stop bits represent framing of each character
• If transmitter and receiver are using different speeds, stop bit will
not be received at the expected time – framing error occurs
• Framing error also occurs transmitter’s and receiver’s voltage do
not agree
• RS‐232 devices may send an intentional framing error called a
BREAK – reset wire to zero state
Duplex asynchronous communication
• Two endpoints may send data simultaneously
‐ full duplex communication
– Requires an electrical path in each direction
• If only one endpoint may send data half‐duplex communications
only one direction - simplex
– Pin 2 ‐ Receive (RxD)
– Pin 3 ‐ Transmit (TxD)
– Pin 4 ‐ Ready to send (RTS)
– Pin 5 ‐ Clear to send (CTS)
– Pin 7 ‐ Ground
Effect of Noise
• In practice, noise (interference) limits maximum data
transmission rate to less than maximum allowed by Nyquist
sampling theorem
• Claude Shannon Max data rate (taking noise into consideration):
C= Blog 2 (1 +S/N);
B : Bandwidth;
S: Average Signal power;
N: Average Noise power
less interference (noise) means a higher data transmission rate
higher capacity (C) if signal-to-noise ratio
(S/N) is higher Sometime expressed as 10log 10 (S/N);
Nyquist - absolute limitation

More Related Content

Similar to unit 1 section 5.pptx

8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
DCCN S1.ppt
DCCN S1.pptDCCN S1.ppt
DCCN S1.ppt
abdulkadirmohamed29
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
faisalahmed441
 
8251 a basic
8251 a basic8251 a basic
Lecture set 2
Lecture set 2Lecture set 2
Lecture set 2
Gopi Saiteja
 
Chap4 d t-d conversion
Chap4 d t-d conversionChap4 d t-d conversion
Chap4 d t-d conversion
arslan_akbar90
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
Lecture notes eng - Line Coding New.ppt
Lecture notes eng  - Line Coding New.pptLecture notes eng  - Line Coding New.ppt
Lecture notes eng - Line Coding New.ppt
JumanneChiyanda
 
Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
mekind
 
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication ProtocolsRaspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Mohamed Abdallah
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encoding
Josh Street
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding
Josh Street
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
Anurag Tomar
 
Lec 5
Lec 5Lec 5
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniques
Syaiful Ahdan
 
Ch03 2
Ch03 2Ch03 2
CS553_ST7_Ch06-DigitalDataComm.ppt
CS553_ST7_Ch06-DigitalDataComm.pptCS553_ST7_Ch06-DigitalDataComm.ppt
CS553_ST7_Ch06-DigitalDataComm.ppt
AnandaSaikia1
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
Syed Zaid Irshad
 
Modes of Transmission
Modes of TransmissionModes of Transmission
Modes of Transmission
Anushiya Ram
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
Gopi Saiteja
 

Similar to unit 1 section 5.pptx (20)

8251 USART
8251 USART8251 USART
8251 USART
 
DCCN S1.ppt
DCCN S1.pptDCCN S1.ppt
DCCN S1.ppt
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
Lecture set 2
Lecture set 2Lecture set 2
Lecture set 2
 
Chap4 d t-d conversion
Chap4 d t-d conversionChap4 d t-d conversion
Chap4 d t-d conversion
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Lecture notes eng - Line Coding New.ppt
Lecture notes eng  - Line Coding New.pptLecture notes eng  - Line Coding New.ppt
Lecture notes eng - Line Coding New.ppt
 
Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication ProtocolsRaspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication Protocols
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encoding
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Lec 5
Lec 5Lec 5
Lec 5
 
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniques
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
CS553_ST7_Ch06-DigitalDataComm.ppt
CS553_ST7_Ch06-DigitalDataComm.pptCS553_ST7_Ch06-DigitalDataComm.ppt
CS553_ST7_Ch06-DigitalDataComm.ppt
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
 
Modes of Transmission
Modes of TransmissionModes of Transmission
Modes of Transmission
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
 

More from mani651780

chapter-8-lan-technologies-and-network-topology.ppt
chapter-8-lan-technologies-and-network-topology.pptchapter-8-lan-technologies-and-network-topology.ppt
chapter-8-lan-technologies-and-network-topology.ppt
mani651780
 
networktopology.pptx
networktopology.pptxnetworktopology.pptx
networktopology.pptx
mani651780
 
csmacd.pptx
csmacd.pptxcsmacd.pptx
csmacd.pptx
mani651780
 
concepts-of-computer.ppt
concepts-of-computer.pptconcepts-of-computer.ppt
concepts-of-computer.ppt
mani651780
 
unit 1 section 7.pptx
unit 1 section 7.pptxunit 1 section 7.pptx
unit 1 section 7.pptx
mani651780
 
ARP.pptx
ARP.pptxARP.pptx
ARP.pptx
mani651780
 
db appraoch.pptx
db appraoch.pptxdb appraoch.pptx
db appraoch.pptx
mani651780
 
interface.pptx
interface.pptxinterface.pptx
interface.pptx
mani651780
 
section1.1.pptx
section1.1.pptxsection1.1.pptx
section1.1.pptx
mani651780
 

More from mani651780 (9)

chapter-8-lan-technologies-and-network-topology.ppt
chapter-8-lan-technologies-and-network-topology.pptchapter-8-lan-technologies-and-network-topology.ppt
chapter-8-lan-technologies-and-network-topology.ppt
 
networktopology.pptx
networktopology.pptxnetworktopology.pptx
networktopology.pptx
 
csmacd.pptx
csmacd.pptxcsmacd.pptx
csmacd.pptx
 
concepts-of-computer.ppt
concepts-of-computer.pptconcepts-of-computer.ppt
concepts-of-computer.ppt
 
unit 1 section 7.pptx
unit 1 section 7.pptxunit 1 section 7.pptx
unit 1 section 7.pptx
 
ARP.pptx
ARP.pptxARP.pptx
ARP.pptx
 
db appraoch.pptx
db appraoch.pptxdb appraoch.pptx
db appraoch.pptx
 
interface.pptx
interface.pptxinterface.pptx
interface.pptx
 
section1.1.pptx
section1.1.pptxsection1.1.pptx
section1.1.pptx
 

Recently uploaded

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 

Recently uploaded (20)

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 

unit 1 section 5.pptx

  • 2. Asynchronous Transmission • One definition of asynchronous: transmitter and receiver do not explicitly coordinate each data transmission Transmitter can wait arbitrarily long between transmissions for example, when transmitter such as a keyboard may not always have data ready to send • Asynchronous may also mean no explicit information about where data bits begin and end E.g. when we send individual ASCII characters
  • 3. Bitwise Data Transmission Transmission requires: – Encoding bits as energy – Transmitting energy through medium – Decoding energy back into bits • Energy can be electric current, radio, infrared, light, smell, etc. • Transmitter and receiver must agree on encoding scheme and transmission timing.
  • 4. Using Electric Current to Send Bits • Simple idea ‐ use varying voltages to represent 1s and 0s • One common encoding use negative voltage for 1 and positive voltage for 0 • In following figure, transmitter puts positive voltage on line for 0 and negative voltage on line for 1
  • 5. Transmission Timing Problems • Encoding scheme leaves several questions unanswered: – How long will voltage last for each bit? – How soon will next bit start? – How will the transmitter and receiver agree on timing? • Later : Self‐clocking codes (e.g. Manchester Encoding) • Standards specify operation of communication systems • Devices from different vendors that adhere to the standard can interoperate • Example organizations: – International Telecommunications Union (ITU) – Electronic Industries Association (EIA) – Institute for Electrical and Electronics Engineers (IEEE)
  • 6. RS‐232 • Standard for transfer of characters across copper wire • Produced by EIA • Full name is RS‐232‐C • RS‐232 defines serial, asynchronous communication – Serial ‐ bits are encoded and transmitted one at a time (as opposed to parallel transmission) – Asynchronous ‐ characters can be sent at any time and bits are not individually synchronized
  • 7. Transmission Rates • Baud rate measures number of signal changes per second • Bits per second measures number of bits transmitted per second • In RS‐232, each signal change represents one bit, so baud rate and bits per second are equal • If each signal change represents more than one bit, bits per second may be greater than baud rate – This is the case with modems nowadays – More on this when we look at modulation
  • 8. Framing • Start and stop bits represent framing of each character • If transmitter and receiver are using different speeds, stop bit will not be received at the expected time – framing error occurs • Framing error also occurs transmitter’s and receiver’s voltage do not agree • RS‐232 devices may send an intentional framing error called a BREAK – reset wire to zero state
  • 9. Duplex asynchronous communication • Two endpoints may send data simultaneously ‐ full duplex communication – Requires an electrical path in each direction • If only one endpoint may send data half‐duplex communications only one direction - simplex – Pin 2 ‐ Receive (RxD) – Pin 3 ‐ Transmit (TxD) – Pin 4 ‐ Ready to send (RTS) – Pin 5 ‐ Clear to send (CTS) – Pin 7 ‐ Ground
  • 10. Effect of Noise • In practice, noise (interference) limits maximum data transmission rate to less than maximum allowed by Nyquist sampling theorem • Claude Shannon Max data rate (taking noise into consideration): C= Blog 2 (1 +S/N); B : Bandwidth; S: Average Signal power; N: Average Noise power less interference (noise) means a higher data transmission rate higher capacity (C) if signal-to-noise ratio (S/N) is higher Sometime expressed as 10log 10 (S/N); Nyquist - absolute limitation