SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Communication
Protocols
www.pantechsolutions.net
Communication
ProtocolsOutline
RS232/422/485
1-wire, I2C, SPI, Microwire
Bluetooth, Zigbee
RFid
Ethernet
Communication
ProtocolsParallel Bus..
Advantages
• High speed
• High throughput: Several bits
are transmitted
• on one clock transition
• Low cost
Disadvantages
• Large number of microcontroller
pins that needed for
implementing the parallel bus
Consists of multiple digital inputs/outputs.
 4-bit
 8-bit ( e.g. Centronics )
 16-bit ( e.g. ISA )
 32-bit ( e.g. PCI )
Communication
ProtocolsParallel Bus
Example LCD Interface – 4-bit
Example LCD Interface – 8-bit
Communication
Protocols
Asynchronous
• 1-wire
• RS232
• RS422/485
• Ethernet
Synchronous
• 2-wire(I2C
• 4-wire(SPI,
Microwire)
Serial Bus
Communication
Protocols1-Wire
Originated by Dallas Semiconductor ( now part of MAXIM ) to address a variety of peripherals,
sensors, and memory chips from a single wire interface ( DATA and Ground ).
One signal wire carries both operating power and signal.
Usually the network is built using a wire pair where one wire carries the signal and power and
the other wire is ground. The system is sensitive to the right timing to operate well.
Communication
Protocols1-wire
Advantages
• Multiple slave devices can be accessed with only 2 wires
• Low-cost
• Implemented in hardware or software
• Ease to implement, many examples
• Relatively long distance. Theoretically 300 meters
• but this is limited in practice due to noise and cable capacitance
Disadvantages
• Slow speed
• 1-wire slave devices typically has to come from one source: Dallas
Semiconductor
Communication
ProtocolsRS-232
Advantages
• Popular interface with many examples
• Many compatible legacy devices
• Relatively long distance, 50 feet maximum for low baud rates although
longer distances work in practice, with low baud rates and error
correction
• Immune to noise due to +/-5 Volts or higher voltage levels for logic “0”
and “1”
Communication
ProtocolsRS-232
Disadvantages
• More suitable for system to system communications, not so much for
chip to chip or chip to sensor
• Low speed for long distance, 115200 baud can be achieved with small
microcontrollers using short distances
• Requires transceiver chips which add to system cost ( TTL/CMOS level
RS232 can be used without transceiver chips ).
• Single master/single slave
Communication
ProtocolsUART – ARM7(LPC21xx)
RxDn
UART n
Interface
Maximum possible speed of the UART
3.75 Mbps
CTS
RTS
UART 1
Interface
DTR
DCD
DTR
RI
TxD1
Modem
Interface
signals
RxD1
UART 3 on
LPC2300/2400
has IrDA mode
Communication
ProtocolsRS-232
Communication
Protocols
Advantages
• Very long distance, thousands
of feet
• Widely used in industrial
automation
• Higher speeds beyond 115200
baud
Disadvantages
• More suitable for system to
system communications, not so
much for chip to chip or chip to
sensor
• Requires transceiver chips and
twisted pair cable with
terminating resistors which add
to system cost.
RS 485
Any station can communicate with any other station,
but not at the same time.
Communication
ProtocolsEthernet
Advantages
• Very high speed ( 10Mbit to 100Mbit/s )
• Very long distance, hundreds of feet can be achieved, more with hubs and
switches, Immune to noise
• Widely used in industrial automation due to noise immunity
Disadvantages
• Cost
• More suitable for system to system comm.,, not so much for chip to chip/sensor
• Requires Ethernet chipset, transformer, jack, special cabling that add to system
cost.
• Complicated to implement
• High code footprint
Communication
ProtocolsEthernet – 10 Mbit Networking
Communication
Protocols
4-wire interface with one master and multiple slaves.
Signals: DATA IN, DATA OUT, CLOCK, CS( Chip Select )
Originated by Motorola, SPI bus is a relatively simple
synchronous serial interface for connecting low speed
external devices using minimal number of wires.
SPI is full duplex: Data is simultaneously transmitted
and received.
SPI
Communication
ProtocolsSPI
Advantages
• Multiple slave devices can
be accessed with only few
wires
• Low-cost
• Implemented in hardware
or software
• Ease to implement, many
examples
• Can be high speed
(e.g.4MHz or higher if
implemented in hardware)
Disadvantages
• Short distance
• Data and clock lines can be
shared but each device
requires a separate Chip
Select
• Signal, limiting the number
of devices in
• limited I/O systems
Communication
ProtocolsSPI
Communication
Protocols
MISO
MOSI
SPICLK
SS
SPI
Interface
Maximum possible speed of the SPI
7.5 Mbits/sec
SPI – ARM7(LPC21xx)
Communication
ProtocolsI2C
2-wire interface with one master and multiple slaves ( multi-
master configurations possible ).
Originated by Philips Semiconductor in the early 80’s to
connect a microcontroller to peripheral devices in TV sets.
Communication
ProtocolsI2C
Advantages
• Multiple slave devices can
be accessed with only 3
wires
• Low-cost to implement
• Implemented in hardware
or software
• Ease to implement, many
examples
• Supports multi-master
configuration
Disadvantages
• Short distance
• Slow speed: 100 KHz
although 400 KHz and 1
MHz slave devise exist.
These can not coexist
with slower devices.
• Limited device addresses
Communication
Protocols
SDA
SCL
I2C
Interface1
Maximum possible speed of the I2C
400Kbits/sec
SDA
SCL
I2C
Interface n
Some devices
have multiple
I2C interfaces
IIC Interfaces
Communication
Protocols

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Line coding
Line codingLine coding
Line coding
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Amba bus
Amba busAmba bus
Amba bus
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
SoC Design
SoC DesignSoC Design
SoC Design
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Modbus protocol
Modbus protocolModbus protocol
Modbus protocol
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data Communication
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Uart
UartUart
Uart
 
Rs 232 interface
Rs 232 interfaceRs 232 interface
Rs 232 interface
 
VLSI subsystem design processes and illustration
VLSI subsystem design processes and illustrationVLSI subsystem design processes and illustration
VLSI subsystem design processes and illustration
 
I2C
I2CI2C
I2C
 
Controller Area Network(CAN)
Controller Area Network(CAN)Controller Area Network(CAN)
Controller Area Network(CAN)
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
 
Pcie basic
Pcie basicPcie basic
Pcie basic
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Lambda design rule
Lambda design ruleLambda design rule
Lambda design rule
 

Andere mochten auch

Serial Communication
Serial CommunicationSerial Communication
Serial CommunicationRashmi
 
communication-protocols
 communication-protocols communication-protocols
communication-protocolsAli Kamil
 
Sereial com. ppt
Sereial com. pptSereial com. ppt
Sereial com. pptgaurav5345
 
Interfacing rs232
Interfacing rs232Interfacing rs232
Interfacing rs232PRADEEP
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer schemerockymani
 
Communication protocol presentation
Communication protocol presentationCommunication protocol presentation
Communication protocol presentationGopi A
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
Emi cathode ray oscilloscope
Emi cathode ray oscilloscopeEmi cathode ray oscilloscope
Emi cathode ray oscilloscopeyssb91
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clockNallapati Anindra
 
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
 

Andere mochten auch (15)

Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
 
Sereial com. ppt
Sereial com. pptSereial com. ppt
Sereial com. ppt
 
Interfacing rs232
Interfacing rs232Interfacing rs232
Interfacing rs232
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer scheme
 
Communication protocol presentation
Communication protocol presentationCommunication protocol presentation
Communication protocol presentation
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Data transferschemes
Data transferschemesData transferschemes
Data transferschemes
 
Emi cathode ray oscilloscope
Emi cathode ray oscilloscopeEmi cathode ray oscilloscope
Emi cathode ray oscilloscope
 
mourad 2eme
mourad 2ememourad 2eme
mourad 2eme
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clock
 
16f84a datasheet
16f84a   datasheet16f84a   datasheet
16f84a datasheet
 
Synchronous and asynchronous (1)
Synchronous and asynchronous (1)Synchronous and asynchronous (1)
Synchronous and asynchronous (1)
 
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
 

Ähnlich wie Communication protocols

Embedded networking
Embedded networkingEmbedded networking
Embedded networkingArul Kumar
 
zigbee technology
zigbee technology zigbee technology
zigbee technology N.CH Karthik
 
Kordik fundamental guidtoindustrialnetworking -v_imp
Kordik fundamental guidtoindustrialnetworking -v_impKordik fundamental guidtoindustrialnetworking -v_imp
Kordik fundamental guidtoindustrialnetworking -v_impamsubramanyam
 
Hyper Transport Technology
Hyper Transport TechnologyHyper Transport Technology
Hyper Transport TechnologyRohan Khude
 
IOT Protocols
IOT  Protocols IOT  Protocols
IOT Protocols Nagesh Rao
 
Multimax HSPA+ Dual Port M2M Router - Maxon Solutions
Multimax HSPA+ Dual Port M2M Router - Maxon SolutionsMultimax HSPA+ Dual Port M2M Router - Maxon Solutions
Multimax HSPA+ Dual Port M2M Router - Maxon SolutionsMaxon Data Communications
 
educational content educational content educational content
educational content educational content  educational contenteducational content educational content  educational content
educational content educational content educational contentOlajide Kuku
 
Educational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-ContentEducational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-ContentOlajide Kuku
 
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...Nishmi Suresh
 
Wireless_Connectivity_BASIC_Linkedin
Wireless_Connectivity_BASIC_LinkedinWireless_Connectivity_BASIC_Linkedin
Wireless_Connectivity_BASIC_LinkedinRobert Russell
 
Bluetooth - Comprehensive Presentation
Bluetooth - Comprehensive PresentationBluetooth - Comprehensive Presentation
Bluetooth - Comprehensive PresentationMuhammed Afsal Villan
 
Zigbee intro v5
Zigbee intro v5Zigbee intro v5
Zigbee intro v5rajrayala
 

Ähnlich wie Communication protocols (20)

Embedded networking
Embedded networkingEmbedded networking
Embedded networking
 
zigbee technology
zigbee technology zigbee technology
zigbee technology
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Kordik fundamental guidtoindustrialnetworking -v_imp
Kordik fundamental guidtoindustrialnetworking -v_impKordik fundamental guidtoindustrialnetworking -v_imp
Kordik fundamental guidtoindustrialnetworking -v_imp
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
 
Hyper Transport Technology
Hyper Transport TechnologyHyper Transport Technology
Hyper Transport Technology
 
IoT & M2M Modules - CASCADEMIC Solutions
IoT & M2M Modules - CASCADEMIC SolutionsIoT & M2M Modules - CASCADEMIC Solutions
IoT & M2M Modules - CASCADEMIC Solutions
 
Zigbee
ZigbeeZigbee
Zigbee
 
IOT Protocols
IOT  Protocols IOT  Protocols
IOT Protocols
 
Multimax HSPA+ Dual Port M2M Router - Maxon Solutions
Multimax HSPA+ Dual Port M2M Router - Maxon SolutionsMultimax HSPA+ Dual Port M2M Router - Maxon Solutions
Multimax HSPA+ Dual Port M2M Router - Maxon Solutions
 
educational content educational content educational content
educational content educational content  educational contenteducational content educational content  educational content
educational content educational content educational content
 
Educational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-ContentEducational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-Content
 
serial.ppt
serial.pptserial.ppt
serial.ppt
 
serial.ppt
serial.pptserial.ppt
serial.ppt
 
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
 
Batch 25(a)
Batch 25(a)Batch 25(a)
Batch 25(a)
 
Blue tooth
Blue toothBlue tooth
Blue tooth
 
Wireless_Connectivity_BASIC_Linkedin
Wireless_Connectivity_BASIC_LinkedinWireless_Connectivity_BASIC_Linkedin
Wireless_Connectivity_BASIC_Linkedin
 
Bluetooth - Comprehensive Presentation
Bluetooth - Comprehensive PresentationBluetooth - Comprehensive Presentation
Bluetooth - Comprehensive Presentation
 
Zigbee intro v5
Zigbee intro v5Zigbee intro v5
Zigbee intro v5
 

Mehr von Pantech ProLabs India Pvt Ltd

Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system designPantech ProLabs India Pvt Ltd
 

Mehr von Pantech ProLabs India Pvt Ltd (20)

Registration process
Registration processRegistration process
Registration process
 
Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system design
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Electric Vehicle Design using Matlab
Electric Vehicle Design using MatlabElectric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
 
Image processing application
Image processing applicationImage processing application
Image processing application
 
Internet of Things using Raspberry Pi
Internet of Things using Raspberry PiInternet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
 
Internet of Things Using Arduino
Internet of Things Using ArduinoInternet of Things Using Arduino
Internet of Things Using Arduino
 
Brain controlled robot
Brain controlled robotBrain controlled robot
Brain controlled robot
 
Brain Computer Interface-Webinar
Brain Computer Interface-WebinarBrain Computer Interface-Webinar
Brain Computer Interface-Webinar
 
Development of Deep Learning Architecture
Development of Deep Learning ArchitectureDevelopment of Deep Learning Architecture
Development of Deep Learning Architecture
 
Future of AI
Future of AIFuture of AI
Future of AI
 
Gate driver design and inductance fabrication
Gate driver design and inductance fabricationGate driver design and inductance fabrication
Gate driver design and inductance fabrication
 
Brainsense -Brain computer Interface
Brainsense -Brain computer InterfaceBrainsense -Brain computer Interface
Brainsense -Brain computer Interface
 
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
 
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
 
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSPWaveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
 
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
 
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSPSwitch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
 
Led blinking using TMS320C6745
Led blinking using TMS320C6745Led blinking using TMS320C6745
Led blinking using TMS320C6745
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 

Communication protocols