I2C Protocol Tutorial | How I2C Protocol works

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2018
  • Please subscribe my channel TechvedasLearn for latest update.
    Fundamentals08 I2C Protocol Tutorial or How I2C Protocol works
    Friends welcome to this video series on Embedded System. In this lecture we are going to understand everything what we need to know about I2C protocol. We will start with the highlights of I2C Protocol and then we will try to understand open drain or open collector concepts, I2C frame structure, Arbitration and clock starching and finally Advantages and Disadvantages of I2C communication.
    #TechVedasLearn
    #EmbeddedSystem
    #EmbeddedSystemTutorial
    #SerialCommunication
    #I2CProtocol
    #InterIntegratedCircuit
    #EmbeddedSystemPlaylist
    #EmbeddedSystemVideoLacture
    Video tutorial playlist link
    Unified modeling language
    www.youtube.com/watch?v=4Gcgg...
    Pointers in C
    www.youtube.com/watch?v=QHHbx...
    Embedded System
    www.youtube.com/watch?v=nccWu...
    Python Programming tutorial
    Will be updated soon.
    Contact- techvedas.learn@gmail.com

ความคิดเห็น • 129

  • @TechVedas
    @TechVedas  5 ปีที่แล้ว +7

    Complete playlist link for: Embedded System videos
    th-cam.com/video/nccWuB5ypxI/w-d-xo.html

  • @msbanda2123
    @msbanda2123 4 ปีที่แล้ว +10

    The clarity that no one has ever given. You have described it very clearly.

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว +4

      Hi, that's the great feedback. Thanks for appreciating the work.😊

  • @harsh100able
    @harsh100able 5 ปีที่แล้ว +5

    Complete information given Thanks

  • @TechVedas
    @TechVedas  5 ปีที่แล้ว +1

    Complete playlist link for: Unified Modeling Language (UML) videos
    th-cam.com/video/4GcggYQYrXU/w-d-xo.html

  • @bozotheclown935
    @bozotheclown935 3 ปีที่แล้ว +1

    Nice Video.
    Thumbs up...

  • @dikshitadesai
    @dikshitadesai ปีที่แล้ว

    Thank you for the video, the transistor sections were helpful

  • @TechVedas
    @TechVedas  5 ปีที่แล้ว +1

    Complete playlist link for: Pointers in C
    th-cam.com/video/QHHbxvi4dpI/w-d-xo.html

  • @desmondteo855
    @desmondteo855 3 ปีที่แล้ว

    Thank you so much, this video is clear and awesome.

  • @alwattsj
    @alwattsj 3 ปีที่แล้ว +1

    Great information. Keep up the good work.

  • @bharathip9012
    @bharathip9012 5 ปีที่แล้ว +5

    Tq sir its very helpful for embedded systems learners. Good explanation . U covered important topics

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Thanks Bharathi for appreciating the work..:)

  • @kuldeepbhadoria6472
    @kuldeepbhadoria6472 5 ปีที่แล้ว +4

    Very Good channel, All useful things for Embedded is present in this channel

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Kuldeep, thanks for the great feedback. I am really glad to hear that. Thanks once again..

  • @hassan-ix-vii8126
    @hassan-ix-vii8126 5 ปีที่แล้ว +5

    this video has been very helpful, very cool Kanye!

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Good to know thanks for the great feedback 👍

  • @nandakishore7720
    @nandakishore7720 4 ปีที่แล้ว +1

    Too good information sir... Thank u so much...

  • @melodyfyre2670
    @melodyfyre2670 7 หลายเดือนก่อน

    helpful and to the point thank you!

  • @01MeuCanal
    @01MeuCanal 4 ปีที่แล้ว +2

    Thanks for all your videos! All of them are useful!

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Hello Sergio Magalhaes, Thanks for appreciating the work..:)

  • @moinshaikh6684
    @moinshaikh6684 3 ปีที่แล้ว +1

    Excellent explanation!

  • @TalkingGIJoe
    @TalkingGIJoe 2 ปีที่แล้ว

    Thanks... really well done video!

  • @malcolmhodgson7540
    @malcolmhodgson7540 4 ปีที่แล้ว +2

    Yes that was helpful and very clear. Thank You

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว +1

      Hello Malcolm Hodgson, Thanks for appreciating the work..:)

  • @Mrkn528
    @Mrkn528 4 ปีที่แล้ว +13

    Very good presentation. Few things missing in the video.
    1) Start bit/condition: SDA high to low when SCL is high.
    2) Stop bit/condition: SDA low to high when SCL is high.
    3) Data change on SDA is only allowed when SCL is low except start/stop conditions.
    Agree?
    Thank you..

  • @anjalipawar280
    @anjalipawar280 2 ปีที่แล้ว

    very heplfull.....all needed information is in this video

  • @rasikashinde2776
    @rasikashinde2776 4 ปีที่แล้ว +2

    very well explained.......so deep ...thanku for the efforts

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Hello Rasika, thanks you for the great feedback and appreciating the work 👍

  • @jatag100
    @jatag100 ปีที่แล้ว

    Excellent thank you!

  • @krishna_o15
    @krishna_o15 4 ปีที่แล้ว +2

    Nice , clear and short that's what I want Ina TH-cam tutorial

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Hello Krishna Oza, Thanks for appreciating the work.

  • @madhutamilnadu8663
    @madhutamilnadu8663 2 ปีที่แล้ว

    very nice. good job. thank you, sir.

  • @subratkumarsahoo3633
    @subratkumarsahoo3633 5 ปีที่แล้ว +10

    You describe all such important things in a short time,thanks for that and Please make a video on CAN protocol.

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว +3

      Hi Subrat, thanks for the great comment. Definately, CAN protocol is next in my list.

  • @RajkumarRajkumar-iq1zf
    @RajkumarRajkumar-iq1zf 4 ปีที่แล้ว +2

    Upload more bro too much helpful

  • @mittakolavaishnavi2166
    @mittakolavaishnavi2166 2 หลายเดือนก่อน

    Very clear thank u😊

  • @ahmedelbanna8618
    @ahmedelbanna8618 4 ปีที่แล้ว +2

    AMAZING and illustration in easy way

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว +1

      Hello Ahmed, thanks for appreciating the work 👍

  • @zarrarhassan6377
    @zarrarhassan6377 5 ปีที่แล้ว +2

    Very well explained...keep up the good work...!

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Zarrar Hassan, thanks for appreciating the work

  • @bhaskarjyotidutta3253
    @bhaskarjyotidutta3253 4 ปีที่แล้ว +2

    Good and important explanation. Thanks and subscribed.

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Hello Bhaskar, thanks for the appreciation and subscribing my channel.

  • @senthil834
    @senthil834 5 ปีที่แล้ว +2

    Excellent, Simply great...

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Senthil, Thank you for the great feedback.

  • @dileepkandoju7885
    @dileepkandoju7885 4 ปีที่แล้ว +1

    Tq sir for valuable information

  • @shadyengineer1988
    @shadyengineer1988 5 ปีที่แล้ว +1

    Very nice tutorial. Thanks for sharing

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Thank you..:) Also check out the new video uploaded on I2C Driver Development guide.

  • @harshalsable6935
    @harshalsable6935 5 ปีที่แล้ว +4

    Thanks sir for making good videos.
    Please make some practical examples on the same topics

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Harshal, Thanks for the feedback. Currently I am trying to arrange the setup.

  • @chandusubash5996
    @chandusubash5996 4 ปีที่แล้ว +1

    Explanation about how a master takes control could be made, little bit more clear. The rest are very good.Thank you.

  • @abhishekm1903
    @abhishekm1903 5 ปีที่แล้ว +2

    Excellent video....Brilliant explaination

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Abhishek, thanks for the great feedback and appreciation

  • @potibundakay1664
    @potibundakay1664 4 ปีที่แล้ว +1

    Bro please make a video on JTAG....

  • @MrNaishadh
    @MrNaishadh 5 ปีที่แล้ว +2

    Thanks a lot

  • @surbhishrimal2502
    @surbhishrimal2502 5 ปีที่แล้ว +2

    Excellent video... Thanks

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Thank you for the great feedback.

  • @zubaidatariq6286
    @zubaidatariq6286 4 ปีที่แล้ว +1

    Nice tutorial.. Very helpful... You describes well

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Thanks for the feedback and appreciating the work 👍

  • @syncpoint
    @syncpoint 3 ปีที่แล้ว +1

    I studied rust lang and doing practice but still it is helpful to work on peripherals and registers.

  • @venkateshravuri6011
    @venkateshravuri6011 4 ปีที่แล้ว

    Yes , helpful tq...

  • @artiyadav9191
    @artiyadav9191 10 หลายเดือนก่อน

    Very helpful

  • @pashahassan720
    @pashahassan720 8 หลายเดือนก่อน

    Excellent

  • @dipa.k4T
    @dipa.k4T 5 ปีที่แล้ว +1

    Yahhhh......got cmplt inf. in ur video.....thanks a lot

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Dipa, Thanks a lot for the great feedback. Happy learning...

  • @prakhyathmunna254
    @prakhyathmunna254 2 ปีที่แล้ว

    Thnk you sir !❤️

  • @rameshhuded2961
    @rameshhuded2961 5 ปีที่แล้ว +1

    Thank You

  • @kongyuebanshan6400
    @kongyuebanshan6400 4 ปีที่แล้ว +3

    In general, I2C communication is the mutual communication between ICs and ICs on the board. If there is IC and IC communication between boards, what are the advantages and disadvantages? How stable is the communication?

  • @rejithretnan8365
    @rejithretnan8365 5 ปีที่แล้ว +2

    Thanks a lot sir !

  • @egorkrapovnitskiy997
    @egorkrapovnitskiy997 3 ปีที่แล้ว

    Nice beats at the beginning

  • @RajkumarRajkumar-iq1zf
    @RajkumarRajkumar-iq1zf 4 ปีที่แล้ว +1

    Good video bro

  • @rajshinde4319
    @rajshinde4319 2 ปีที่แล้ว

    Thanks🙏

  • @chandrakantsahu1424
    @chandrakantsahu1424 3 ปีที่แล้ว

    nice video

  • @tydengr
    @tydengr ปีที่แล้ว

    The video I need.

  • @rupaknath6900
    @rupaknath6900 5 ปีที่แล้ว +2

    Shukriya

  • @RohitchavanRohitchavan
    @RohitchavanRohitchavan 5 ปีที่แล้ว +2

    well explained boss.................... ;-)

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Rohit, Thanks for the appreciation...

  • @amarbanglaamarbharat8739
    @amarbanglaamarbharat8739 ปีที่แล้ว +1

    Thanks

  • @bhavanisana2256
    @bhavanisana2256 4 ปีที่แล้ว +1

    Nice video...thanks

  • @ajaynikkam1801
    @ajaynikkam1801 5 ปีที่แล้ว +8

    Sir theoretically it's good but can you make one video on i2c in that video i want to learn coding about i2c (Master and slave)

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว +1

      I will definitely cover coding videos for UART, I2C and SPI

    • @ajaynikkam1801
      @ajaynikkam1801 5 ปีที่แล้ว

      @@TechVedas ok i will wait for that

  • @SureshKumar-nk2ok
    @SureshKumar-nk2ok 4 ปีที่แล้ว +1

    very simple explanation to understand better especially transistor concept,sir how can i practically implement this

  • @monimonish302
    @monimonish302 2 ปีที่แล้ว +1

    Can u ans me for this question ⁉️
    Question is how to choose the mode in i2c I meant "fast mode ultra fast mode" these modes.
    All people said depends on application,that I knw but I want CLR explanation for what kinda of application I have to choose respective modes?????

  • @georgevengal
    @georgevengal 4 ปีที่แล้ว +1

    very helpful

    • @TechVedas
      @TechVedas  4 ปีที่แล้ว

      Hi georgevengal, Good to know.. Thanks..:)

  • @jancenj2218
    @jancenj2218 4 ปีที่แล้ว

    In basic serial communication, does it send the start bit first then the MSB then LSB then the stop bit. ?

  • @shubhampatil4666
    @shubhampatil4666 5 ปีที่แล้ว +2

    Thanks a lot Sir and please make a video on RS232

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      RS232 is the line driver used for UART communication for the devices operating at different voltage levels. I will try to cover UART hardware and software in the next video.

  • @ajitgawade5648
    @ajitgawade5648 5 ปีที่แล้ว +2

    Thanks for this informative video. Can you explain with an example such as MCP 3426.

    • @TechVedas
      @TechVedas  5 ปีที่แล้ว

      Hi Ajit, I have already made videos on UART, I2C, SPI and their configuration on STM32F4 microcontroller. You can check this series which consist of all videos: th-cam.com/video/GjMW1zqyTOk/w-d-xo.html

  • @kranthikumarreddy245
    @kranthikumarreddy245 5 ปีที่แล้ว +4

    Hi,please let me know how to decide whether to use pull up or pull down resistors?
    How to find the resistance values for different communication protocols?

  • @aejazbasha5397
    @aejazbasha5397 4 ปีที่แล้ว

    Can you explain what is the repaired start concept and what is the use of that

  • @saisrikargollamudi7892
    @saisrikargollamudi7892 4 ปีที่แล้ว

    7:09 Sir, Master 2 should lose arbitration after LSB itself as it sent a 1. Am I right?

  • @rahulshettinaik8854
    @rahulshettinaik8854 3 ปีที่แล้ว +1

    😍😍😍

  • @rahulsutar9042
    @rahulsutar9042 4 ปีที่แล้ว

    Please make video on ddr,ddr2,ddr3

  • @axramar7743
    @axramar7743 3 ปีที่แล้ว

    Can you help me with i2C coding with MS51FB9AE and MLX90614 ???
    MLX90614'S Default Slave address is 0x5A
    Address to read Ambient temperature is 0X06
    Tried to code on it using KEIL but it's not working, but I am keep on getting 255, what might be the solution for this problem ??
    If I use 0x00 instead of 0x5A for same Ta = 0x6A, I am getting some values like
    173,29
    174,30 etc, (I'm reading two byte data)
    Please Help here !

  • @rezaashrafip.5650
    @rezaashrafip.5650 4 ปีที่แล้ว

    7:35 master ...? Didnt get the word! Overally it was a good tutorial for beginners like me

  • @somashekarswamy8509
    @somashekarswamy8509 4 ปีที่แล้ว +1

    11. Write a Verilog code to implement the I2C protocol.

  • @thezombieguy426
    @thezombieguy426 3 ปีที่แล้ว

    What if all the Masters are sending at the same time to a single slave which obviously had the same address? Which master wins in this case?

  • @ArchanaSingh-pu8ch
    @ArchanaSingh-pu8ch 4 ปีที่แล้ว +1

    Can you explain how second master win..even though it send 1 at the start.

    • @paragsangtani3544
      @paragsangtani3544 3 ปีที่แล้ว

      I think winning master will be master-1 because the information that is provided in NXP i2c manual(UM10204) it is clearly written that if master will try to send one and detects zero then it losses bus control so at 5th bit master-3 losses bus and though master-2 losses control in starting bit only. If in whole they transmit same bit then transmission happens without an error.

  • @rajeshkumarvanteru4958
    @rajeshkumarvanteru4958 4 ปีที่แล้ว

    what is test case of i2c protocol

  • @Legendsgoku123
    @Legendsgoku123 4 ปีที่แล้ว

    can you please share a code for interfacing mcp23018 to pic 16f877a which is i2c communication

  • @govindkrishnag2477
    @govindkrishnag2477 4 ปีที่แล้ว

    7:03 Master two should lose arbitration in 1st bit? Am I Right or Wrong

    • @architjoshi2199
      @architjoshi2199 4 ปีที่แล้ว

      I think he is considering the signals from right to left. That is why master 3 loses the access followed by master 1.

  • @sahibalam401
    @sahibalam401 5 ปีที่แล้ว

    data framing is incomplete. internal registers address is missing in the frame

  • @KeithMakank3
    @KeithMakank3 5 ปีที่แล้ว

    DAT intro music

  • @kongyuebanshan6400
    @kongyuebanshan6400 4 ปีที่แล้ว

    Can you add subtitles?

  • @karuppasamym9616
    @karuppasamym9616 2 ปีที่แล้ว

    Bro there is small correction....for 7 bit addressing....it supports 2⁷ - 1 = 127 slaves. Similarly for 10 bit 2¹⁰ - 1 = 1023 slaves....becoz 128 represent the 8th bit, similarly 1024 represent 11th bit

    • @mdmustaq6960
      @mdmustaq6960 ปีที่แล้ว

      In the video he meant devices with address 0 to 127 implies, total 128 devices. You might wanna rethink your logic !

    • @ninjaassasin6388
      @ninjaassasin6388 11 หลายเดือนก่อน

      2^7 = 128,
      We take 127 when we include '0' too, but here we are not considering 0.
      We are counting from 1.
      Therefore, it's 128 devices that can be connected.
      However, out of these , 8 are already reserved, so we can actually connect 120 devices.

  • @jackevans2386
    @jackevans2386 2 ปีที่แล้ว +1

    Description is in English, but he narration is done by Apu from the Simpsons.

  • @kavanpuranik98
    @kavanpuranik98 4 ปีที่แล้ว

    So ... It's an isekai?

  • @aravindpalat7673
    @aravindpalat7673 2 ปีที่แล้ว

    what will happen if we dont use pull up resistors ?

    • @RwP223
      @RwP223 ปีที่แล้ว

      Voltage signal will float low causing headaches, there needs to be a small amount of V potential via the pull up resistors to hold the signal high.

  • @BBRR442
    @BBRR442 3 ปีที่แล้ว

    uh feel like there is a lot of missing information

  • @kenawykenawy
    @kenawykenawy 3 ปีที่แล้ว

    it was invented in 1982!! check your facts man

  • @kongyuebanshan6400
    @kongyuebanshan6400 4 ปีที่แล้ว +3

    In general, I2C communication is the mutual communication between ICs and ICs on the board. If there is IC and IC communication between boards, what are the advantages and disadvantages? How stable is the communication?

    • @wayland7150
      @wayland7150 ปีที่แล้ว

      It's usually communication in the same enclosure. It's only 3.3v so not for long distance. A typical 2nd board would be a small display like LCD or OLED.

  • @danmyself5341
    @danmyself5341 5 ปีที่แล้ว +1

    Thanks