No video

How I2C Communication Works and How To Use It with Arduino

  Рет қаралды 1,522,164

How To Mechatronics

How To Mechatronics

Күн бұрын

howtomechatronics.com/tutoria... ► Find more details, circuit schematics and source codes here.
If you enjoy and find the content that I make useful, please consider supporting me on Patreon: / howtomechatronics
In this tutorial we will learn how the I2C communication protocol works and also we will make a practical example of it with the Arduino Board and a sensor which uses this protocol. You can watch the following video or read the written tutorial below.
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
► / howtomechatronics
Add me on Google+:
►plus.google.com/+Howtomechatr...
Music: Aduro by Jens Kiilstofte (machinimasound.com/music)

Пікірлер: 495
@rahulfromkerala
@rahulfromkerala 5 жыл бұрын
2 hours of reading and then here comes this video where everything is well explained in under 10 minutes... You tube is spoiling me...
@thesauceboss5995
@thesauceboss5995 2 жыл бұрын
This is one of the only videos I've found that explains how pull up resistors can affect the speed at which data can travel on the SDA line. Fantastic video that explains how I2C works. Great job.
@mark879
@mark879 7 жыл бұрын
Awesome video! I especially appreciated the protocol/packet breakdown. Thanks very much!
@vijaykumar-hc6jz
@vijaykumar-hc6jz 4 жыл бұрын
The bit sequence was so well explained that I had to print the screenshot of it for future reference.
@kiranbs5057
@kiranbs5057 3 жыл бұрын
Watched many videos on this protocol I was never able to grab the concept clearly and I found your tutorial and it made my life simple . Thanks man u have explained and visualised the concept neatly .
@kamuizero
@kamuizero 7 жыл бұрын
What a great video! Very clear explanation and simple demonstration on how to use it. Thank you very much.
@nobodyspecial313
@nobodyspecial313 8 жыл бұрын
Sweet tutorial! Really like the illustrations that went along with your explanation. After looking at a few cool project videos where people are using Arduinos and other microcontrollers, it makes me wish my college had a class on these!
@iancorcoran7560
@iancorcoran7560 7 жыл бұрын
Dejan Nedelkovski
@Gupatik
@Gupatik 6 ай бұрын
it's been 8 years now or so, are you still alive bud, and did you learn this arduino and microcontrollers stuff. Anyways, hope you are doing good
@RamswaroopSorencool
@RamswaroopSorencool 7 жыл бұрын
This is so beginner friendly! Thank you so much. I used the same illustrations to make few students understand the same. :)
@elonmuskmtmt886
@elonmuskmtmt886 5 жыл бұрын
This is by far the most thorough and yet still concise explanation I have found! Awesome video!
@HowToMechatronics
@HowToMechatronics 5 жыл бұрын
Thank you!
7 жыл бұрын
Very useful for beginner like me, thank you! :)
@AliHSyed
@AliHSyed 6 жыл бұрын
OMG thank you so much, I've been so lost with i2c until I watched this video!
@GetElectronics
@GetElectronics 5 жыл бұрын
I always like tutorials that show how to use sensores without relying on 3rd party libraries other than the wire one. Very useful for learning.
@PhDFernandoCoach
@PhDFernandoCoach 7 жыл бұрын
Thank you very much for this video, Dejan! The information is clear, well organized and dynamically illustrated!
@morgard211
@morgard211 6 жыл бұрын
Thanks! I didn't want to memorize it, but to understand it and it worked! :)
@markconger8049
@markconger8049 3 жыл бұрын
Thank you for this tutorial! I knew the overview of how i2c works but not the specifics. It looks similar to packets in TCP/IP.
@fleshTH
@fleshTH 7 жыл бұрын
This was extremely well done! Good job! It was very clear and now i'm off to do some new projects.
@danielrufenacht3722
@danielrufenacht3722 8 жыл бұрын
Hello Dejan Many thanks for your time to spend in order to explain us these very clear tutorials. Daniel from Switzerland
@omaralharran
@omaralharran 2 жыл бұрын
You are the best. Thank you for taking the time to explain I2C on such indepth level.
@mohanmanoharan1387
@mohanmanoharan1387 8 жыл бұрын
super, really appreciate for the tutorial. Request similar other Serial protocols SPI explanation. CAN, UART. thanks
@MrJeppeholt
@MrJeppeholt 6 жыл бұрын
OMG dude that was perfect. I have been struggeling with i2c for a while now but this made it click. THANKS! :D
@nalorin
@nalorin 2 жыл бұрын
SUPER helpful tutorial! Thank you so much! I have an ALS31313, and all the code examples I could find online (including the manufacturer's website) don't work. Your tutorial makes things SO much clearer and I managed to get my magnetometer working within 15 minutes of watching your video! THANK YOU!!!
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad to hear it, cheers!
@maxpolaris99
@maxpolaris99 3 жыл бұрын
Your examples are very helpful for us slow pokes with little to no insight. Good Job.
@ronimine
@ronimine 7 жыл бұрын
Very clear and instructive. Well done. Thank you !
@stevetobias4890
@stevetobias4890 4 жыл бұрын
Excellent explanation. Also helps me in a project where I will be using breakout boards for the first time. Thank you
@MkmeOrg
@MkmeOrg 8 жыл бұрын
This is fantastic! Sharing on Mondays live show. Great vid. Cheers!
@minanovkiril
@minanovkiril 7 жыл бұрын
дејан секоја чест! браво за споделеното знаење! сеа дознав за твојот канал, ќе разгледам што си споделил со задоволство.
@mitkopetrovik259
@mitkopetrovik259 7 жыл бұрын
Nice, it is desirable in the following tutorials to explain the I2S protocol and what is exactly the difference with I2C
@ExtantFrodo2
@ExtantFrodo2 8 жыл бұрын
I now understand what I could not understand previously. Thank you.
@chasenjohnson797
@chasenjohnson797 5 жыл бұрын
Great description of I2C. Thanks:)
@naboulsikhalid7763
@naboulsikhalid7763 5 жыл бұрын
Hi, Mentor. What to say, thank you won't be enough. great, detailed video.
@alexpelagaggi
@alexpelagaggi 6 жыл бұрын
Dejan Nedelkovski, you are the best. Thank you very much for making this video.
@michaelvogt7787
@michaelvogt7787 8 жыл бұрын
Dejan, I was looking through youtube for a decent tutorial about the I2C bus as implemented on the Arduino. I have a class of high school students who could use a good demo. I didnt expect to find your EXCELLENT tutorial, one that would be useful even to professional electronics engineers. I wanted to let you know you did a nice job, and it was appreciated. Dr. Michael Vogt - North American Robotics
@templocal
@templocal 2 жыл бұрын
You explain things very accurately! Thank you!
@aubreydebliquy8051
@aubreydebliquy8051 3 жыл бұрын
Thank you for a clear explanation. I used only SPI to date but now I know how to use I2C ... thanks...
@mrcamperon
@mrcamperon 8 жыл бұрын
thank you Dejan. great tutorials, very well done the clip too
@clearwavepro100
@clearwavepro100 8 жыл бұрын
Thank you! This is really well done, clear and interesting!
@iiDougieii
@iiDougieii 5 жыл бұрын
Thank you for this video. I needed a refresh of what I already learnt in the past. Good work !!
@HowToMechatronics
@HowToMechatronics 5 жыл бұрын
Thanks!
@fahadmubeen6272
@fahadmubeen6272 4 жыл бұрын
To the point, simple and clear, well done! which most people struggle to explain. ~This is coming from a Professional Embedded engineer.
@HowToMechatronics
@HowToMechatronics 4 жыл бұрын
Glad to hear it, thanks!
@devarajan2291
@devarajan2291 7 жыл бұрын
excellent. thanks a lot. you helped me in my interview preparation.
@IRgEEK
@IRgEEK 6 жыл бұрын
Great and informative video! Thanks so much!
@HowToMechatronics
@HowToMechatronics 3 жыл бұрын
I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
@Scudmaster11
@Scudmaster11 3 жыл бұрын
I know you can get composite video out of it or something
@druggles1
@druggles1 7 жыл бұрын
Nice presentation along with a great explanation. Thank you, for sharing, Dejan!!
@pietrotosoratti799
@pietrotosoratti799 3 жыл бұрын
Thank you for this useful video !! You explained the topic in such a clear way !!
@pacokun1
@pacokun1 8 жыл бұрын
Thanks, I understand how it's work now :D It's will really help me :D
@chinhcd
@chinhcd 8 жыл бұрын
It saved me so much time and hassle. Good job!
@LaurinusPonpon
@LaurinusPonpon 3 жыл бұрын
I watched a few videos and this is the BEST explanation for I2C. Thanks
@HowToMechatronics
@HowToMechatronics 3 жыл бұрын
Glad it was helpful!
@michaelliles6755
@michaelliles6755 8 жыл бұрын
Finally someone who knows what he's talking about ! Thank you! Not one person on the Arduino site or any other place online have suggested hooking up scl to scl and sda to sda . Everyone says hook it up to A4 and A5 . I bought two units so far thinking that either I broke it or it was doa. well turns out that both work fine. why is this info missing from the arduino site?? anyway thank you very much!
@lan5053
@lan5053 5 жыл бұрын
So easy to understand. Thank you!
@spbains1966
@spbains1966 6 жыл бұрын
Excellent tutorial bringing out the details very clearly
@EmciGad
@EmciGad 2 жыл бұрын
Very good and clear explanations! well done!
@harshatechvideos1859
@harshatechvideos1859 5 жыл бұрын
Nice work and thank you very much for providing these quality videos.
@henearkrip
@henearkrip 4 жыл бұрын
Nice Work! Very clear and simple explanation!!
@glikar1
@glikar1 5 жыл бұрын
Thanks, very good in depth tutorial!
@totalnewbie8619
@totalnewbie8619 5 жыл бұрын
This was an informative and helpful video. I also liked how you explained with graphics. It made things easier to understand.Thank you and please keep doing more videos like this for beginners like me. Best regards.
@HowToMechatronics
@HowToMechatronics 5 жыл бұрын
Thanks, I'm glad to hear that!
@miguelluisrodrigues3704
@miguelluisrodrigues3704 4 жыл бұрын
Thank you brother, you help me a lot in my projects
@thtr9647
@thtr9647 7 жыл бұрын
Omg, this is so good animation. Appreciate !
@PiCoVienna
@PiCoVienna 6 жыл бұрын
Excellent, easy to understand, very precise!
@Patrick-ky7ez
@Patrick-ky7ez 4 жыл бұрын
Amazing video. SOO many hours of reading pdfs with unnecessary tech jargon. You explained it perfectly.
@victorchan8685
@victorchan8685 8 жыл бұрын
Appreciate for your excellent video, you speak very clear and explain in detail! You are wonderful! Help a lot!
@krozareq
@krozareq Жыл бұрын
Good to know how all this works. I've used the Linux i2c and SMbus userspace tools, but never really knew the hardware functionality behind it. GPU lighting is generally i2c and motherboard controllers use SMbus (both very similar though). Knew just enough to be dangerous and change RGB colors or monitor temps with a very light shell script and even shell functions. The OpenRGB project has the addresses for most hardware, including USB (mouse, keyboards, and some mobos use USB for communication to controllers).
@excite236
@excite236 8 жыл бұрын
saved me so much time working gy-80 thanks man
@igorradevski9147
@igorradevski9147 8 жыл бұрын
Thanks Dejan for this great tutorial. It helps me a lot! :)
@reydus6651
@reydus6651 4 жыл бұрын
superb video mate. Explained it very easily.
@arvydasstankevicius5277
@arvydasstankevicius5277 5 жыл бұрын
So well explained!!! Thanks. Subscribed.
@andremendes5116
@andremendes5116 8 жыл бұрын
Nice explanation... the protocol I2c is very usefull, fast and need... Thank's for your time and information.
@ramazans8114
@ramazans8114 6 жыл бұрын
Thanks, really very clear explanation and very effective.
@andrebernardmennicken4685
@andrebernardmennicken4685 6 жыл бұрын
Verywell explained, clear, direct to the point, Thank you...
@user-yw5yr4mk2c
@user-yw5yr4mk2c 5 жыл бұрын
Good explanation of the protocols' packet. thanks
@mikelemon5109
@mikelemon5109 8 жыл бұрын
Awesome tutorial thanks a lot where have you been where I didn't understand that communication at all.
@simplynilsw
@simplynilsw 7 жыл бұрын
You said 124 devices instead of 1024 devices (0:52 min), but great video it helped me alot, thanks :))
@erichertsens
@erichertsens 8 жыл бұрын
thanks, appreciated from the Dominican Republic
@skeeveskeeve
@skeeveskeeve 3 жыл бұрын
Best video I have seen on the subject.
6 жыл бұрын
This is an amazing tutorial. Thank you very much.
@thomasalexander1563
@thomasalexander1563 7 жыл бұрын
Great Tutorial,,, Make more .. Absolutely waiting for all your tutorials,,
@abdelrhmansafwat6191
@abdelrhmansafwat6191 6 жыл бұрын
Thank you very much buddy for your great illustrations :)
@youseebruce5426
@youseebruce5426 5 жыл бұрын
A very clean and neat explanation... I understood clearly... Thank you very much.
@jackm416
@jackm416 4 жыл бұрын
Great job of explanation ! Good graphics and clear explanation of the timing !
@HowToMechatronics
@HowToMechatronics 4 жыл бұрын
Thank you!
@suzesiviter6083
@suzesiviter6083 6 жыл бұрын
To clarify; the I2C lines are either high impedance or 0, you never drive the bus line high directly; that is achieved by de-asserting the '0' and letting the internal pull up resistors tie it to Vcc. The high impedance or low state on the bus prevents bus contention; that is a ground connecting to Vcc directly causing a short between any masters or slaves.
@iconofsin1043
@iconofsin1043 7 жыл бұрын
Very well explained, thank you very much!
@expectropetronus
@expectropetronus 8 жыл бұрын
Simple and lucid explanation... Thank you
@poojithaborra1650
@poojithaborra1650 6 жыл бұрын
Clear explanations... Tnx
@junaidasim1021
@junaidasim1021 5 жыл бұрын
Accurate and up to the mark explanation thank you so much
@collenfisher3635
@collenfisher3635 7 ай бұрын
Brilliant, and exceptional narration.
@astudyspace7272
@astudyspace7272 3 жыл бұрын
Thank you very much for this detailed explanation. You made this topic easy to absorb. 🐣
@Syria..
@Syria.. 3 жыл бұрын
amazingggggg you did save me after reading datasheet for days
@rahazandifar5596
@rahazandifar5596 3 жыл бұрын
Thanks for this concise refresher video
@narendravasu6607
@narendravasu6607 6 жыл бұрын
Thank you sir Your explanation very simple and clearly. Very useful to me . onces again thank you sir
@alterguy4327
@alterguy4327 3 жыл бұрын
This channel never gets old
@leuc2475
@leuc2475 Жыл бұрын
Thank you. It's simple to comprehend
@alentech6091
@alentech6091 7 жыл бұрын
Amazingly well explained!
@erniea5843
@erniea5843 Ай бұрын
this video is still providing value after all these years!
@HowToMechatronics
@HowToMechatronics Ай бұрын
Happy to hear it!
@jokopribadi6462
@jokopribadi6462 3 жыл бұрын
easier to understand in this video. Thanks
@ksawery6568
@ksawery6568 5 жыл бұрын
Great tutorial, thank you!
@SathishKumarbalu
@SathishKumarbalu 8 жыл бұрын
Nice ! Now i got a clear idea what is I2C.
@Gereon_
@Gereon_ 4 жыл бұрын
Very good explanation! Thank you very much.
@clirimmurati6183
@clirimmurati6183 5 жыл бұрын
AHH such explanations, love it
@mohamedabdalla-es6ll
@mohamedabdalla-es6ll Жыл бұрын
Thank you very much for the clear explanation.
@KunalGautam
@KunalGautam 7 жыл бұрын
Thanks, it helped me a lot to understand how I2C works.
@warsini5386
@warsini5386 3 жыл бұрын
Wayagkulot
@Taran72
@Taran72 5 жыл бұрын
great Tutorial! thanks!!
@narekisaghulyan
@narekisaghulyan 6 жыл бұрын
amazing tutorial, thank you!!!
What is I2C, Basics for Beginners
18:30
nandland
Рет қаралды 163 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 6 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 33 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
MOSFETs and How to Use Them |  AddOhms #11
7:46
AddOhms
Рет қаралды 3,7 МЛН
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
Can You Forge Tungsten?
16:14
Alec Steele
Рет қаралды 570 М.
Basics of I2C communication | Hardware implementation of I2C bus
6:48
Foolish Engineer
Рет қаралды 77 М.
Solving I2C Address Conflicts - TCA9548A I2C Multiplexer
24:29
DroneBot Workshop
Рет қаралды 102 М.
CAN Bus: Serial Communication - How It Works?
11:25
Electronoobs
Рет қаралды 217 М.
I2C and SPI on a PCB Explained!
15:34
Altium Academy
Рет қаралды 143 М.
Connecting Arduino with multiple I2C devices
6:22
BlueDot
Рет қаралды 191 М.
Understanding SPI
11:50
Rohde Schwarz
Рет қаралды 79 М.
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 6 МЛН