SlideShare a Scribd company logo
1 of 17
COMMUNICATION PROTOCOLS
By: Piyush Bhardwaj
VI Sem (Ece)
• Exchange of information from one system to another system
with a medium is called a Communication.
Communication
• A set of rules and regulations is called a Protocol.Protocol
• A set of rules and regulations that allow two electronic devices
to connect to exchange the data with one and another.
Communication Protocol
INTRODUCTION
Communication Protocols
2
Inter System Protocol
Used to communicate
between two different
devices
Intra System Protocol
Used to communicate
between two devices
within the circuit board
TYPES OF ELECTRONIC
COMMUNICATION PROTOCOLS
Communication Protocols
3
The inter system protocol is used to communicate between two different devices.
Eg. Communication between computer and microcontroller kit.
This is achieved through a inter bus system.
INTER SYSTEM PROTOCOL
Communication Protocols
4
UART
Protocol
USART
Protocol
USB
Protocol
Communication Protocols
5
DIFFERENT CATEGORIES OF INTER SYSTEM
PROTOCOL
UART PROTOCOL
 UART stands for UNIVERSAL ASYNCHRONOUS TRANSMITTER
AND RECEIVER. UART Protocol is a serial communication
with two wired protocol. The data cable signal lines are
labeled as Rx and Tx. Serial communication is commonly
used for transmitting and receiving the signal. It transfers
and receives the data serially bit by bit without class pulses.
The UART take bytes of data and send the individual bits in
sequential manner. UART is a half duplex protocol. Half
duplex means transferring and receiving the data but not at
a same time.
 Ex: Emails, SMS, Walkie-talkie.
Communication Protocols
6
USART PROTOCOL
 USART stands for UNIVERSAL SYNCHRONOUS AND
ASYNCHRONOUS TRANSMITTER AND RECEIVER. It is a serial
communication of two wire protocol. The data cable signal lines
are labeled as Rx and Tx. This protocol is used for transmitting
and receiving the data byte by byte along with the clock pulses.
It is a full-duplex protocol means transmitting and receiving data
simultaneously to different board rates. Different devices
communicate with microcontroller to this protocol.
 Ex:-Telecommunications.
Communication Protocols
7
USB PROTOCOL
 USB stands for UNIVERSAL SERIAL BUS. Again it is a serial
communication of two wire protocol. The data cable signal
lines are labeled as ‘D+’ and ‘D-’. This protocol is used to
communicate with the system peripherals. USB protocol is
used to send and receive the data serially to the host and
peripheral devices. USB communication requires a driver
software which is based on the functionality of the system.
USB device can transfer data on the bus without any request
on the host computer.
 Ex: Mouse, Keyboard, Hubs, switches, pen drive.
Communication Protocols
8
DIFFERENCES BETWEEN THE
INTER SYSTEM PROTOCOLS
Communication Protocols
9
INTRA SYSTEM PROTOCOL
 The Intra system protocol is used to communicate the two devices
within the circuit board. While using this intra system protocols,
without going to intra system protocols we will expand the
peripherals of the microcontroller. The circuit complexity and power
consumption will be increased by using intra system protocol. Using
intra system protocols circuit complexity and power consumption
and cost is decreased.
Communication Protocols
10
DIFFERENT CATEGORIES OF INTRA SYSTEM
PROTOCOL
I2C Protocol
SPI Protocol
CAN Protocol
Communication Protocols
11
INTER-INTEGRATED CIRCUIT (i2C)
PROTOCOL
 i2C requires only two wires connecting all peripherals to
microcontroller. i2C requires two wires SDA (serial data line) and
SCL (serial clock line) to carry information between devices. It is a
master to slave communication protocol. Each slave has a unique
address. Master device sends the address of the target slave
device and read/write flag. The address is matched to any slave
device and if that device is ON, remaining slave devices are in
disable mode. Once the address is matched, communication
proceeds between master and that slave device and transmitting
and receiving the data starts. The transmitter sends 8-bit data, the
receiver replies 1-bit of acknowledgement. When the
communication is completed master issues the stop condition. I2C
requires only two wires for connecting all the peripherals to the
microcontroller.
Communication Protocols
12
I2C PULL-UP RESISTORS
Why given the pull-up resisters in I2C SCL
and SDA line.
Both SDA and SCL lines are open drain
drivers.
Its can be drive output low cannot driver it
high.
For the lines to be able to go high you must
provide pull-up resistors
Communication Protocols
13
SPI PROTOCOL
 SPI stands for SERIAL PERIPHERAL INTERFACE. It is one of the
serial communication protocol developed by Motorola.
Some times SPI protocol is also called a 4-wire protocol. It
requires four wires MOSI, MISO, SS, and SCLK. SPI protocol
is used to communicate the master and slave devices. The
master first configures the clock using a frequency. The
master then selects the particular slave device for
communication by pulling the chip select button. That
particular device is selected and starts the communication
between master and that particular slave. The master select
only one slave at a time. It is full duplex communication
protocol.
Communication Protocols
14
CAN PROTOCOL
 CAN stands for CONTROLLER AREA NETWORK. It is a serial
communication protocol. It require two wires CAN High (H+)
and CAN low (H-). It was developed by the Robert bosh
company in 1985 for vehicle networks. It is based on a
message oriented transmission protocol.
Communication Protocols
15
DIFFERENCES BETWEEN
THE INTER SYSTEM PROTOCOLS
Communication Protocols
16
Communication Protocols
17

More Related Content

What's hot (20)

UART
UARTUART
UART
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Uart
UartUart
Uart
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
UART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPTUART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPT
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data Communication
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Rs 232 interface
Rs 232 interfaceRs 232 interface
Rs 232 interface
 
OMAP
OMAPOMAP
OMAP
 
Modbus protocol
Modbus protocolModbus protocol
Modbus protocol
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
CMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURESCMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURES
 
UART
UART UART
UART
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolI2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication Protocol
 
Introduction to ARM LPC2148
Introduction to ARM LPC2148Introduction to ARM LPC2148
Introduction to ARM LPC2148
 
Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOC
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 

Viewers also liked

Communication protocol presentation
Communication protocol presentationCommunication protocol presentation
Communication protocol presentationGopi A
 
Interfacing rs232
Interfacing rs232Interfacing rs232
Interfacing rs232PRADEEP
 
Emi cathode ray oscilloscope
Emi cathode ray oscilloscopeEmi cathode ray oscilloscope
Emi cathode ray oscilloscopeyssb91
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer schemerockymani
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clockNallapati Anindra
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfacesanishgoel
 
Serial Communication
Serial CommunicationSerial Communication
Serial CommunicationRashmi
 
Synchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferSynchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferAnuj Modi
 
Asynchronous and synchronous
Asynchronous and synchronousAsynchronous and synchronous
Asynchronous and synchronousAkhil .B
 
communication-protocols
 communication-protocols communication-protocols
communication-protocolsAli Kamil
 

Viewers also liked (16)

Communication protocol presentation
Communication protocol presentationCommunication protocol presentation
Communication protocol presentation
 
Interfacing rs232
Interfacing rs232Interfacing rs232
Interfacing rs232
 
16f84a datasheet
16f84a   datasheet16f84a   datasheet
16f84a datasheet
 
mourad 2eme
mourad 2ememourad 2eme
mourad 2eme
 
Emi cathode ray oscilloscope
Emi cathode ray oscilloscopeEmi cathode ray oscilloscope
Emi cathode ray oscilloscope
 
RS 232
RS 232RS 232
RS 232
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer scheme
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Data transferschemes
Data transferschemesData transferschemes
Data transferschemes
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clock
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfaces
 
Synchronous and asynchronous (1)
Synchronous and asynchronous (1)Synchronous and asynchronous (1)
Synchronous and asynchronous (1)
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Synchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transferSynchronous and-asynchronous-data-transfer
Synchronous and-asynchronous-data-transfer
 
Asynchronous and synchronous
Asynchronous and synchronousAsynchronous and synchronous
Asynchronous and synchronous
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
 

Similar to Communication protocols

EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxNaveenK365392
 
Serial Communication Interface with Error Detection
Serial Communication Interface with Error DetectionSerial Communication Interface with Error Detection
Serial Communication Interface with Error Detectioniosrjce
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfGandhibabu8
 
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdf
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdfSYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdf
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdfshubhangisonawane6
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data CommunicationDesty Rahayu
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionIJCERT
 
Basic networking in power point by suprabha
Basic networking in power point by suprabhaBasic networking in power point by suprabha
Basic networking in power point by suprabhaSuprabha Sahoo
 
Fpga implementation of multi protocol data
Fpga implementation of multi protocol dataFpga implementation of multi protocol data
Fpga implementation of multi protocol dataeSAT Publishing House
 
Network system on Ahsanullah University of Science & Technology
Network system on Ahsanullah University of Science & TechnologyNetwork system on Ahsanullah University of Science & Technology
Network system on Ahsanullah University of Science & TechnologyManas Saha
 
BluetoothPPT.pdf
BluetoothPPT.pdfBluetoothPPT.pdf
BluetoothPPT.pdfPpupu
 
Design and Verification of the UART and SPI protocol using UVM
Design and Verification of the UART and SPI protocol using UVMDesign and Verification of the UART and SPI protocol using UVM
Design and Verification of the UART and SPI protocol using UVMIRJET Journal
 

Similar to Communication protocols (20)

EXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptxEXIDE PPT TEMPLATE.pptx
EXIDE PPT TEMPLATE.pptx
 
Serial Communication Interface with Error Detection
Serial Communication Interface with Error DetectionSerial Communication Interface with Error Detection
Serial Communication Interface with Error Detection
 
M010617376
M010617376M010617376
M010617376
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
 
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdf
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdfSYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdf
SYBSC(CS)_WCIOT_Sem-II-Unit 2 short range .pdf
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data Communication
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault Detection
 
Basic networking in power point by suprabha
Basic networking in power point by suprabhaBasic networking in power point by suprabha
Basic networking in power point by suprabha
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Fpga implementation of multi protocol data
Fpga implementation of multi protocol dataFpga implementation of multi protocol data
Fpga implementation of multi protocol data
 
Network system on Ahsanullah University of Science & Technology
Network system on Ahsanullah University of Science & TechnologyNetwork system on Ahsanullah University of Science & Technology
Network system on Ahsanullah University of Science & Technology
 
BluetoothPPT.pdf
BluetoothPPT.pdfBluetoothPPT.pdf
BluetoothPPT.pdf
 
Design and Verification of the UART and SPI protocol using UVM
Design and Verification of the UART and SPI protocol using UVMDesign and Verification of the UART and SPI protocol using UVM
Design and Verification of the UART and SPI protocol using UVM
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Acr5 dcb
Acr5 dcbAcr5 dcb
Acr5 dcb
 
Bluetooth technology
Bluetooth technologyBluetooth technology
Bluetooth technology
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
A010610109
A010610109A010610109
A010610109
 

Recently uploaded

Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 

Recently uploaded (20)

Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 

Communication protocols

  • 1. COMMUNICATION PROTOCOLS By: Piyush Bhardwaj VI Sem (Ece)
  • 2. • Exchange of information from one system to another system with a medium is called a Communication. Communication • A set of rules and regulations is called a Protocol.Protocol • A set of rules and regulations that allow two electronic devices to connect to exchange the data with one and another. Communication Protocol INTRODUCTION Communication Protocols 2
  • 3. Inter System Protocol Used to communicate between two different devices Intra System Protocol Used to communicate between two devices within the circuit board TYPES OF ELECTRONIC COMMUNICATION PROTOCOLS Communication Protocols 3
  • 4. The inter system protocol is used to communicate between two different devices. Eg. Communication between computer and microcontroller kit. This is achieved through a inter bus system. INTER SYSTEM PROTOCOL Communication Protocols 4
  • 6. UART PROTOCOL  UART stands for UNIVERSAL ASYNCHRONOUS TRANSMITTER AND RECEIVER. UART Protocol is a serial communication with two wired protocol. The data cable signal lines are labeled as Rx and Tx. Serial communication is commonly used for transmitting and receiving the signal. It transfers and receives the data serially bit by bit without class pulses. The UART take bytes of data and send the individual bits in sequential manner. UART is a half duplex protocol. Half duplex means transferring and receiving the data but not at a same time.  Ex: Emails, SMS, Walkie-talkie. Communication Protocols 6
  • 7. USART PROTOCOL  USART stands for UNIVERSAL SYNCHRONOUS AND ASYNCHRONOUS TRANSMITTER AND RECEIVER. It is a serial communication of two wire protocol. The data cable signal lines are labeled as Rx and Tx. This protocol is used for transmitting and receiving the data byte by byte along with the clock pulses. It is a full-duplex protocol means transmitting and receiving data simultaneously to different board rates. Different devices communicate with microcontroller to this protocol.  Ex:-Telecommunications. Communication Protocols 7
  • 8. USB PROTOCOL  USB stands for UNIVERSAL SERIAL BUS. Again it is a serial communication of two wire protocol. The data cable signal lines are labeled as ‘D+’ and ‘D-’. This protocol is used to communicate with the system peripherals. USB protocol is used to send and receive the data serially to the host and peripheral devices. USB communication requires a driver software which is based on the functionality of the system. USB device can transfer data on the bus without any request on the host computer.  Ex: Mouse, Keyboard, Hubs, switches, pen drive. Communication Protocols 8
  • 9. DIFFERENCES BETWEEN THE INTER SYSTEM PROTOCOLS Communication Protocols 9
  • 10. INTRA SYSTEM PROTOCOL  The Intra system protocol is used to communicate the two devices within the circuit board. While using this intra system protocols, without going to intra system protocols we will expand the peripherals of the microcontroller. The circuit complexity and power consumption will be increased by using intra system protocol. Using intra system protocols circuit complexity and power consumption and cost is decreased. Communication Protocols 10
  • 11. DIFFERENT CATEGORIES OF INTRA SYSTEM PROTOCOL I2C Protocol SPI Protocol CAN Protocol Communication Protocols 11
  • 12. INTER-INTEGRATED CIRCUIT (i2C) PROTOCOL  i2C requires only two wires connecting all peripherals to microcontroller. i2C requires two wires SDA (serial data line) and SCL (serial clock line) to carry information between devices. It is a master to slave communication protocol. Each slave has a unique address. Master device sends the address of the target slave device and read/write flag. The address is matched to any slave device and if that device is ON, remaining slave devices are in disable mode. Once the address is matched, communication proceeds between master and that slave device and transmitting and receiving the data starts. The transmitter sends 8-bit data, the receiver replies 1-bit of acknowledgement. When the communication is completed master issues the stop condition. I2C requires only two wires for connecting all the peripherals to the microcontroller. Communication Protocols 12
  • 13. I2C PULL-UP RESISTORS Why given the pull-up resisters in I2C SCL and SDA line. Both SDA and SCL lines are open drain drivers. Its can be drive output low cannot driver it high. For the lines to be able to go high you must provide pull-up resistors Communication Protocols 13
  • 14. SPI PROTOCOL  SPI stands for SERIAL PERIPHERAL INTERFACE. It is one of the serial communication protocol developed by Motorola. Some times SPI protocol is also called a 4-wire protocol. It requires four wires MOSI, MISO, SS, and SCLK. SPI protocol is used to communicate the master and slave devices. The master first configures the clock using a frequency. The master then selects the particular slave device for communication by pulling the chip select button. That particular device is selected and starts the communication between master and that particular slave. The master select only one slave at a time. It is full duplex communication protocol. Communication Protocols 14
  • 15. CAN PROTOCOL  CAN stands for CONTROLLER AREA NETWORK. It is a serial communication protocol. It require two wires CAN High (H+) and CAN low (H-). It was developed by the Robert bosh company in 1985 for vehicle networks. It is based on a message oriented transmission protocol. Communication Protocols 15
  • 16. DIFFERENCES BETWEEN THE INTER SYSTEM PROTOCOLS Communication Protocols 16