SlideShare a Scribd company logo
MICROCONTROLLER BASED SYSTEM DESIGN
“I2C BUS COMMUNICATION”
V. KALAIRAJAN M.E;
ASSISTANT PROFESSOR,
ELECTRICAL AND ELECTRONICS ENGINEERING,
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY.
1KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
VIEWS:
 I2C BUS:(INTER-INTEGRATED CIRCUIT BUS.
 FEATURES OF I2C BUS.
 BLOCK DIAGRAM OF I2C BUS.
 COMMUNICATION OF I2C BUS.
 OPERATING MODES.
 TRANSMITTER.
 RECEIVER.
 MASTER.
 SLAVE.
 MULTI-MASTER.
 ARBITRATION.
 SYNCHRONIZATION.
 ADDRESSING OF I2C DEVICES.
 CONCLUSION.
 REFERENCES.
2KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
I2C BUS:(INTER-INTEGRATED CIRCUIT BUS)
 An Inter-IC bus is used to communicate the Master and slave
 devices. For this a primer on the protocol is used.
FEATURES OF I2C BUS:
 It is a simple, low-bandwidth, short-distance protocol.
 Most available I2C devices operate at speeds up to 400Kbps.
 The standard mode for data transfer is up to 100 Kbps.
 Here master is microcontroller like PIC16CXX.
 Slave is any interfacing devices like ADC,DAC, and LCD display.
 In the I2C interface protocol each master and slave device has an
address, when multi-master and multi-slave is used.
3KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
BLOCK DIAGRAM OF I2C BUS:
COMMUNICATION OF I2C BUS:
4KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
OPERATING MODES :
 Master-transmitter and Slave-receiver.
 Slave-transmitter and Master-receiver.
TRANSMITTER:
 It is the device which transfer the data to the bus.
RECEIVER:
 It is the device which receives the data from the bus.
MASTER:
 It is the CPU or computer which start the data transmission.
 Generates the clock signal.
 Stop the data transfer.
5KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
SLAVE:
 it is the device addressed by master to transfer the data.
MULTI-MASTER:
 Here more than one master devices are used to control the
complex process. Only one master can transfer the data at a
time.
ARBITRATION:
 it is the procedure which maintain only one mater in active at
a time.
SYNCHRONIZATION:
 it is used to synchronize two are more clock signals.
6KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
ADDRESSING OF I2C DEVICES:
Two address formats are used.
 7-bit address format with a R/W bit.
 10-bit address with a R/W bit.
7-bit address format with a R/W bit:
 It is used for simple process.
7KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
10-bit address with a R/W bit:
 It is used for simple process.
8KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
“I2C BUS COMMUNICATION”
CONCLUSION:
 In this above presentation we can learn about basic concept of I2C
bus , block diagram, addressing the slave devices, and purpose of
I2C bus clearly.
REFERENCES:
 Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny
causey Printice Hall of India, 2007.
 Ravichandran,C., and Arulaalan,M., “Microcontroller Based
System Design”, Suchitra Publications, Ist edition,2016.
 Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based
System Design”, Megnus Publications, Ist edition,2016.
 Online wikipedia search.
 https://goo.gl/images/Zvtq1K.
9KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION

More Related Content

DOC
circuit diagram
PDF
Gagan_Resume
PPT
My profile
DOC
sirishamadishetty
DOCX
Zhengkai_qualcomm
DOC
Yadhav cover letter
PPTX
wireless charging of an electrical vechicle 3
PPT
HMC5843 3-Axis Electronic Compass
circuit diagram
Gagan_Resume
My profile
sirishamadishetty
Zhengkai_qualcomm
Yadhav cover letter
wireless charging of an electrical vechicle 3
HMC5843 3-Axis Electronic Compass

What's hot (10)

PDF
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
PDF
Basics for pdn pcb designers
PPTX
Advanced automatic railway system to avoid different train accidents
PDF
Design and Implementation of Low Power 3-Bit Flash ADC Using 180nm CMOS Techn...
PDF
BFunsten_Overall_Resume
PPTX
Electronics counter
PPTX
Line follower using Arduino Uno
DOC
Information sheet/Kertas Penerangan
PPTX
Electronics Matlab Projects Research Assistance
PPTX
wireless charging of an electrical vechicle 4
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
Basics for pdn pcb designers
Advanced automatic railway system to avoid different train accidents
Design and Implementation of Low Power 3-Bit Flash ADC Using 180nm CMOS Techn...
BFunsten_Overall_Resume
Electronics counter
Line follower using Arduino Uno
Information sheet/Kertas Penerangan
Electronics Matlab Projects Research Assistance
wireless charging of an electrical vechicle 4
Ad

Similar to I2 c bus communication (20)

PDF
An Implementation of I2C Slave Interface using Verilog HDL
PDF
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
PDF
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
PDF
I2 c devices
DOCX
project 3 full report
PDF
PDF
Am044253258
PDF
COVERAGE DRIVEN VERIFICATION OF I2C PROTOCOL USING SYSTEM VERILOG
PPTX
Poster_example
PDF
ijseas20150367
PDF
Mobile robotic platform to gathering real time sensory data in wireless perso...
PDF
Final Year Report (6bits DACs)
DOC
Resume for Embedded Engineer_1
PDF
Design issues in cc2530 znp multi hop sensor networks
PPTX
EXIDE PPT TEMPLATE.pptx
PDF
Asic implementation of i2 c master bus
DOCX
Power Measurement with IoT
PDF
IEEE Paper A SystemC AMS Model of an I2C Bus Controller
PPTX
EMBEDDED SYSTEM BASICS
PDF
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture12
An Implementation of I2C Slave Interface using Verilog HDL
DESIGN AND IMPLEMENTATION OF I2C AND UART BLOCK IMPLEMENTATION FOR RISC-V SOC
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
I2 c devices
project 3 full report
Am044253258
COVERAGE DRIVEN VERIFICATION OF I2C PROTOCOL USING SYSTEM VERILOG
Poster_example
ijseas20150367
Mobile robotic platform to gathering real time sensory data in wireless perso...
Final Year Report (6bits DACs)
Resume for Embedded Engineer_1
Design issues in cc2530 znp multi hop sensor networks
EXIDE PPT TEMPLATE.pptx
Asic implementation of i2 c master bus
Power Measurement with IoT
IEEE Paper A SystemC AMS Model of an I2C Bus Controller
EMBEDDED SYSTEM BASICS
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture12
Ad

More from v Kalairajan (15)

PPTX
Speed governig system derivation
PPT
Protection schemes
PPTX
Methods of voltage control
PPTX
Load on power system
PPTX
Electric power system operation.
PPTX
Timer 2 concept
PPTX
Timer 0 concept
PPTX
Pipeline concepts of 16 c6x
PPTX
Pic16cxx instruction set
PPTX
Interrupts in pic
PPTX
Arm programmer's model
PPTX
Arm assembly language programming
PPTX
Arm architechture
PPTX
Architecture of 16C6X
PPTX
Economics of Generation
Speed governig system derivation
Protection schemes
Methods of voltage control
Load on power system
Electric power system operation.
Timer 2 concept
Timer 0 concept
Pipeline concepts of 16 c6x
Pic16cxx instruction set
Interrupts in pic
Arm programmer's model
Arm assembly language programming
Arm architechture
Architecture of 16C6X
Economics of Generation

Recently uploaded (20)

PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
composite construction of structures.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Well-logging-methods_new................
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Sustainable Sites - Green Building Construction
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Geodesy 1.pptx...............................................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
composite construction of structures.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
UNIT 4 Total Quality Management .pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Well-logging-methods_new................
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
Foundation to blockchain - A guide to Blockchain Tech
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CH1 Production IntroductoryConcepts.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Sustainable Sites - Green Building Construction

I2 c bus communication

  • 1. MICROCONTROLLER BASED SYSTEM DESIGN “I2C BUS COMMUNICATION” V. KALAIRAJAN M.E; ASSISTANT PROFESSOR, ELECTRICAL AND ELECTRONICS ENGINEERING, KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY. 1KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 2. “I2C BUS COMMUNICATION” VIEWS:  I2C BUS:(INTER-INTEGRATED CIRCUIT BUS.  FEATURES OF I2C BUS.  BLOCK DIAGRAM OF I2C BUS.  COMMUNICATION OF I2C BUS.  OPERATING MODES.  TRANSMITTER.  RECEIVER.  MASTER.  SLAVE.  MULTI-MASTER.  ARBITRATION.  SYNCHRONIZATION.  ADDRESSING OF I2C DEVICES.  CONCLUSION.  REFERENCES. 2KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 3. “I2C BUS COMMUNICATION” I2C BUS:(INTER-INTEGRATED CIRCUIT BUS)  An Inter-IC bus is used to communicate the Master and slave  devices. For this a primer on the protocol is used. FEATURES OF I2C BUS:  It is a simple, low-bandwidth, short-distance protocol.  Most available I2C devices operate at speeds up to 400Kbps.  The standard mode for data transfer is up to 100 Kbps.  Here master is microcontroller like PIC16CXX.  Slave is any interfacing devices like ADC,DAC, and LCD display.  In the I2C interface protocol each master and slave device has an address, when multi-master and multi-slave is used. 3KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 4. “I2C BUS COMMUNICATION” BLOCK DIAGRAM OF I2C BUS: COMMUNICATION OF I2C BUS: 4KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 5. “I2C BUS COMMUNICATION” OPERATING MODES :  Master-transmitter and Slave-receiver.  Slave-transmitter and Master-receiver. TRANSMITTER:  It is the device which transfer the data to the bus. RECEIVER:  It is the device which receives the data from the bus. MASTER:  It is the CPU or computer which start the data transmission.  Generates the clock signal.  Stop the data transfer. 5KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 6. “I2C BUS COMMUNICATION” SLAVE:  it is the device addressed by master to transfer the data. MULTI-MASTER:  Here more than one master devices are used to control the complex process. Only one master can transfer the data at a time. ARBITRATION:  it is the procedure which maintain only one mater in active at a time. SYNCHRONIZATION:  it is used to synchronize two are more clock signals. 6KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 7. “I2C BUS COMMUNICATION” ADDRESSING OF I2C DEVICES: Two address formats are used.  7-bit address format with a R/W bit.  10-bit address with a R/W bit. 7-bit address format with a R/W bit:  It is used for simple process. 7KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 8. “I2C BUS COMMUNICATION” 10-bit address with a R/W bit:  It is used for simple process. 8KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION
  • 9. “I2C BUS COMMUNICATION” CONCLUSION:  In this above presentation we can learn about basic concept of I2C bus , block diagram, addressing the slave devices, and purpose of I2C bus clearly. REFERENCES:  Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny causey Printice Hall of India, 2007.  Ravichandran,C., and Arulaalan,M., “Microcontroller Based System Design”, Suchitra Publications, Ist edition,2016.  Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based System Design”, Megnus Publications, Ist edition,2016.  Online wikipedia search.  https://goo.gl/images/Zvtq1K. 9KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY I2C BUS COMMUNICATION