SlideShare a Scribd company logo
6
Most read
8
Most read
16
Most read
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

PPTX
Communication protocols
PPTX
Serial buses
PPTX
Chapter 3 esy
PDF
I2C-SPI-UART Basics || Embedded System || Hariharan K
PPTX
I2C Protocol
PPTX
PPTX
PPTX
Serial Communication
Communication protocols
Serial buses
Chapter 3 esy
I2C-SPI-UART Basics || Embedded System || Hariharan K
I2C Protocol
Serial Communication

What's hot (20)

PDF
Communication protocols - Embedded Systems
PPT
I2C Protocol
PPTX
Interfacing with peripherals: analog to digital converters and digital to ana...
PPTX
MODEL TRAIN CONTROLLER.pptx
PDF
I2C Bus (Inter-Integrated Circuit)
PPTX
I2C Protocol
PPTX
I2c protocol - Inter–Integrated Circuit Communication Protocol
PPTX
Spread spectrum
PPT
8051 serial communication-UART
PPTX
Communication Protocols
PPTX
Rs 232 interface
PPTX
8051 Microcontroller ppt
PPTX
Introduction to embedded systems
PDF
Communication Protocols (UART, SPI,I2C)
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
PPTX
EC8791 UML-model train controller
PPT
Embedded firmware
PDF
Communication protocol presentation
PPT
Adc interfacing
PDF
Unit 3 mpmc
Communication protocols - Embedded Systems
I2C Protocol
Interfacing with peripherals: analog to digital converters and digital to ana...
MODEL TRAIN CONTROLLER.pptx
I2C Bus (Inter-Integrated Circuit)
I2C Protocol
I2c protocol - Inter–Integrated Circuit Communication Protocol
Spread spectrum
8051 serial communication-UART
Communication Protocols
Rs 232 interface
8051 Microcontroller ppt
Introduction to embedded systems
Communication Protocols (UART, SPI,I2C)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
EC8791 UML-model train controller
Embedded firmware
Communication protocol presentation
Adc interfacing
Unit 3 mpmc
Ad

Viewers also liked (14)

PPT
Interfacing rs232
PDF
16f84a datasheet
PDF
mourad 2eme
PPTX
Emi cathode ray oscilloscope
PPTX
Data transfer scheme
PDF
Synchronous and asynchronous reset
PPT
Data transferschemes
PDF
Synchronous and asynchronous clock
PDF
Serial Communication Interfaces
PPT
Synchronous and asynchronous (1)
PPT
Serial Communication
PPS
Synchronous and-asynchronous-data-transfer
PPTX
Asynchronous and synchronous
PPTX
communication-protocols
Interfacing rs232
16f84a datasheet
mourad 2eme
Emi cathode ray oscilloscope
Data transfer scheme
Synchronous and asynchronous reset
Data transferschemes
Synchronous and asynchronous clock
Serial Communication Interfaces
Synchronous and asynchronous (1)
Serial Communication
Synchronous and-asynchronous-data-transfer
Asynchronous and synchronous
communication-protocols
Ad

Similar to Communication protocols (20)

PPTX
MCES Unit 5 Part for engineering students
PDF
Raspberry Pi - Lecture 3 Embedded Communication Protocols
PPTX
communication protocols in embedded systems.pptx
PPTX
Communication Protocols in Embedded Systems.pptx
PPT
Communication Interface of The Embedded Systems
PPTX
UART SPI and I2C serial Interfaces .pptx
PPTX
COM_BASIC.pptx
PPTX
SERIAL COMMUNICATION .LATHA priya .pptx
PPTX
serial_busses_i2c.pptx
PDF
EJ5I Embedded system chapter 2 of diploma Chapter 3.pdf
PPTX
Serial Busses.pptx
PPTX
Communication_Protocols[2][1].pptx on protocoals
PPTX
Inter intergrated circuits-communication protocol
PPTX
I2C Protocal off chip communication interface.pptx
PPTX
I2c buses
PDF
Embedded Communications Protocols UNIT 3PDF.pdf
PPTX
Embedded networking
PPTX
EXIDE PPT TEMPLATE.pptx
PDF
Serial Communication Interface with Error Detection
PDF
M010617376
MCES Unit 5 Part for engineering students
Raspberry Pi - Lecture 3 Embedded Communication Protocols
communication protocols in embedded systems.pptx
Communication Protocols in Embedded Systems.pptx
Communication Interface of The Embedded Systems
UART SPI and I2C serial Interfaces .pptx
COM_BASIC.pptx
SERIAL COMMUNICATION .LATHA priya .pptx
serial_busses_i2c.pptx
EJ5I Embedded system chapter 2 of diploma Chapter 3.pdf
Serial Busses.pptx
Communication_Protocols[2][1].pptx on protocoals
Inter intergrated circuits-communication protocol
I2C Protocal off chip communication interface.pptx
I2c buses
Embedded Communications Protocols UNIT 3PDF.pdf
Embedded networking
EXIDE PPT TEMPLATE.pptx
Serial Communication Interface with Error Detection
M010617376

Recently uploaded (20)

PPT
Mechanical Engineering MATERIALS Selection
PDF
composite construction of structures.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Construction Project Organization Group 2.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Welding lecture in detail for understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mechanical Engineering MATERIALS Selection
composite construction of structures.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Lecture Notes Electrical Wiring System Components
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Construction Project Organization Group 2.pptx
UNIT 4 Total Quality Management .pptx
Internet of Things (IOT) - A guide to understanding
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Welding lecture in detail for understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf

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