I2C Part 1 - Using 2 Arduinos

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ •

  • @TalkingGIJoe
    @TalkingGIJoe 4 роки тому +18

    If my shop was this clean, I'd never get any work done... I'd just sit there and stare at how beautiful it is! Nice video too...

  • @devikwolf
    @devikwolf 2 роки тому +7

    I've been playing with circuits and microcontrollers for a couple decades at this point... but thanks to your videos, a lot of things which I had previously learned to do 'by rote' I now have a better fundamental understanding of. You importantly explain not only the 'how' but also the 'why' when you do something, and that 'why' is what really allows ME to engage my own creativity!

    • @afah6850
      @afah6850 Рік тому

      hey im doing my diploma in computer engineering but what job could i get if im really good at this circuits and microcontrollers, Im really interested in them

  • @erinasimpson4289
    @erinasimpson4289 Рік тому

    I have no idea who you are, but I would like you to know that you have saved my life

  • @whitefields5595
    @whitefields5595 5 років тому +55

    Very professional, perfect pace, top quality presentation.

  • @AgeingBoyPsychic
    @AgeingBoyPsychic 5 років тому +34

    Just started with Arduino recently and this channel is a godsend! Clear, concise and really well produced. Thank you for making these!

  • @r1273m
    @r1273m 5 років тому +88

    Excellent video as always. The quality of your production is unsurpassed. I am really looking forward the follow up videos. Bob

    • @Slimey117
      @Slimey117 Рік тому

      as much as i agree with you, GreatScott is better

  • @JerryEricsson
    @JerryEricsson 4 роки тому +3

    Thanks a billion, I have been using and loving the I2C for years now, but never really understood how it worked, I just knew it did and loved the way it did. Now I have a much better understanding of the history and actions capable using the bus, it all makes much more sense now.

  • @michaellove7912
    @michaellove7912 3 роки тому

    People like you make the world a better place

  • @xy-pl7gg
    @xy-pl7gg 3 роки тому +1

    I2C helps keep your code simplified as well. I use several arduinos to run a watering program for each of 8 garden boxes and a separate arduino to display whats going on. That way, 1 arduino only controls the display and each of the other controllers control 2 garden boxes each. The display controller just sends a status request and gets what it needs from each of the controllers. I could do all of this with 1 arduino and no I2C but the coding would be much more complicated. Also, I use a push button on the display controller (master) to toggle through the status requests. That way it only sends a request when I require it. Thank you for your video(s). I've learned alot.

    • @xiaoxue4635
      @xiaoxue4635 3 роки тому

      Can I ask what method do you use to do the status requests? Your setup sounds very well-organized!

  • @rungeon83
    @rungeon83 3 роки тому +1

    This guy! He explains things just perfect for my brain.

  • @dwsan1tx
    @dwsan1tx 2 роки тому +3

    Thank you. It’s evident you have put a lot of effort to document your presentation and present it very well. Bravo sir!

  • @MrBanzoid
    @MrBanzoid 4 роки тому

    Top class video as usual. Thanks very much. I've just taken my box of Arduino bits'n'bobs out of retirement and following your vids from the start trying all the experiments that I have the modules for.

  • @hedalen001
    @hedalen001 Рік тому +1

    a very great video, i learned a lot of this, but i still wonder, how i can let the master send commands to make some ports of the slave high or low

  • @andrewparker2751
    @andrewparker2751 2 роки тому

    That was the best description & explanation of I2C I've found. Excellent work, and thanks for the video!

  • @amnesie6615
    @amnesie6615 5 років тому +2

    This is the best video I found on the web! Thank you very much, exactly what I was looking for, because I am running out of pins on my arduino, with this master-slave via I2C I could "expand" my pins via another arduino! GREAT!

  • @renaldsurpris115
    @renaldsurpris115 4 роки тому

    You are the best teacher I have ever seen. Fantastic job. Love it

  • @estar4480
    @estar4480 3 роки тому

    It is one of the best videos I have seen when it comes to explaining anything related to electronics. EXCELLENT WORK!!

  • @one-TETSUO
    @one-TETSUO 4 роки тому

    perfect ... i had a lot of examples passing by, but your clip gives a little hope. just think of the pinout of each esp32, that is droped on a pcb, but with different wireing .... have a good day ...

  • @RastaJediX
    @RastaJediX 3 роки тому +3

    Wonderful video. Thank you so much!
    I've never heard the clock line referred to as "SDC", only "SCL".

  • @grayfox_yt
    @grayfox_yt 2 роки тому +1

    You make learning about i2c simple. Love it.

  • @irgski
    @irgski 5 років тому +8

    Good example, good editing and a clean and organized lab!

  • @LtShifty
    @LtShifty Рік тому

    Thanks so much for this video, ots exactly what i wanted to learn. Im looking to build a home cockpit and one of my requirements is to use a single USB (or a max of 3) for the entire thing.
    This looks perfect to wire up all of thr switches and controls on micro pros and then run them all from just one or two masters. The coding for this is remarkably simple as well.

  • @anonymous.youtuber
    @anonymous.youtuber 4 роки тому +5

    Thank you so much . You truly have the gift of teaching. Respect. 🙏🏻

  • @digihz_data
    @digihz_data 5 років тому

    Very nice of you to do I2c tutorial.
    Cable length can be a problem as you mentioned. I tried 3meters, and that hangs the arduino. Then I tried with 2 meters and that is OK in my project. So if your projects hangs, it might be because of cable length.
    You mentioned pull up resistors for sda and scl, but you did not use any in the practical example here.
    It might work for some projects, but you might need pull up resistors between 2,2kOhm and 10kOhm.(trial and error).
    Keep in mind that most i2c sensors already have pull up resistors.
    And keep in mind that using many sensors on the same i2c bus might need to be complemented with higher pull up resistors.
    Example:2 mpu6050 gyro/acceloremeter with internal pull up resistors at 2,2kOhm will make the pull up resistors of a value of 1,1kOhm. That should be complemented with additional external pull up resistors, so that the total resistans lands on about 2,2kOhm and 10kOhm.

    • @josefaschwanden1502
      @josefaschwanden1502 5 років тому

      I2c isnt made for use with wires, its intended for using it in a pcb.

  • @DDA40Xman
    @DDA40Xman 5 років тому +4

    Thanks for the video, I'm learning
    I²C so great timing. I bought a
    I²CDriver monitor board to help understand signaling and commands.

  • @espenbgh2540
    @espenbgh2540 5 років тому +9

    Very excellent video, calm voice and pace, as it's easy to follow - keep up the god work.

  • @davidfarning8246
    @davidfarning8246 5 років тому

    Fantastic Series. I am currently familiarizing myself with Arm Cortex M Microprocessors using a TI Launchpad. For the last several weeks I have been watching your Arduino videos to learn the concepts and then figure out how to implement them on the launchpad.

  • @tomdilen7062
    @tomdilen7062 5 років тому

    best teacher of the universum, thanx sir

  • @jirkabendl
    @jirkabendl 10 місяців тому

    Díky!

  • @inayathussain9236
    @inayathussain9236 5 років тому +1

    wait is over.... i was waiting for this topic since a couple of months

    • @vonries
      @vonries 5 років тому

      Hold on to your hat; you're in for a ride. This is a multi- part series so more is coming down the road. Plus if you're not a long time viewer, you can always go back and watch his previous I2C videos. Sadly I did not see a playlist, but he did say at the beginning of the videos which devices he has already covered that use I2C. You might be able to find them that way. Good luck, and have a great week waiting for the next video.

    • @inayathussain9236
      @inayathussain9236 5 років тому

      @@vonries thanks. I've seen every video of dronebot workshop. i remember first video was IR sensor

  • @paulvanwagoner7273
    @paulvanwagoner7273 3 роки тому

    Excellent demo of using I2c, exactly what I was looking for

  • @Javier_Corado
    @Javier_Corado 5 років тому +2

    Loved the video, cant wait for the video where you explain the integration of i2c with a normal sensor

  • @ericgrante7043
    @ericgrante7043 4 роки тому

    Bonjour,
    Excellent vidéo, langage clair et agréable. Merci pour tes video.
    bonne journée

  • @liukaiyu683
    @liukaiyu683 3 роки тому +1

    Thank you, professional and clear explanations! EXCELLENT!!!

  • @SimonsRandomRants
    @SimonsRandomRants 4 роки тому

    Love your videos. Thank you. I use cheap Chinese Arduino UNO's. I had to put in the pull up resistors to 5V before communications could work. Thank you.

  • @bluescream7463
    @bluescream7463 5 років тому +7

    Wow, This is an eye opener for me. Thanks for this clear presentation. Appreciation to your work ! Many Thanks !

  • @guyd6
    @guyd6 4 роки тому

    Another time against, it's excellent. We need someone like you. Thanks

  • @northshorepx
    @northshorepx 5 років тому +1

    excellent tutorial. I now get how to do both sides of the Wire protocol.

  • @MartinBgelund
    @MartinBgelund 5 років тому +1

    Hi, yeah, it's me again...
    Another interesting subtopic of I2C is how to communicate numbers larger than one byte, e.g. 16 bit integers, floats, etc.
    I hope you will take up this topic as well.

    • @helms6561
      @helms6561 5 років тому

      Did you ever figure this problem out?

  • @geoffwade8144
    @geoffwade8144 4 роки тому +1

    I enjoyed this lesson and found it very helpful, thank you.

  • @patrickmclaughlin6013
    @patrickmclaughlin6013 4 роки тому

    Thanks Bill. Very thorough introduction.

  • @MartinBgelund
    @MartinBgelund 5 років тому

    GREAT choice of topic(s)!!!
    This is a perfect match with what I'm fiddling with on my robot, and there's a lot to take into account and many choices to make, so I am very excited about you taking up I2C on your channel.

  • @PLanBBeaTZ
    @PLanBBeaTZ Рік тому

    Very clear to the point video! Thanks for uploading

  • @moinshaikh6684
    @moinshaikh6684 4 роки тому

    Excellent tutorials sir, became a fan!

  • @cschmitz
    @cschmitz 5 років тому +3

    This was a fantastic video and explanation. Def looking forward to part 2!!

  • @peterevans7480
    @peterevans7480 5 років тому +1

    Great Vid. I tried to slave an esp8266 hazzuh no luck as a slave will only work as the master. Keep up the good work.

  • @DailyCakeSlice
    @DailyCakeSlice 5 років тому +1

    I literally JUST started a project where I wanted to use this! Perfect timing, thanks! :)

    • @Jdozjsnwj783
      @Jdozjsnwj783 5 років тому

      What a coincidence, me as well

  • @josephotieno898
    @josephotieno898 5 років тому +2

    Great job and Excellent explanations as usual. Can’t be more clear...

  • @Jkinnj
    @Jkinnj 5 років тому +4

    Thanks for all the hard work you do. Just wanted to let you know that the example code on the website for the LED slave example has some extra code included, there are two setup() code blocks.

  • @Nick-ye5kk
    @Nick-ye5kk 3 роки тому

    Please keep making these excellent videos.

  • @VoltXSystems
    @VoltXSystems 3 роки тому +1

    Can you please make a video on RS485 communication, it would be great topic and also not much videos about it out there.

  • @matthieuvanderbugh9749
    @matthieuvanderbugh9749 4 роки тому

    I am from Holland and I injoy all what I see here Thank you Smile2U

  • @hc1770
    @hc1770 5 років тому

    Very informative and clear explanation. Can’t wait for the up coming videos!

  • @paulwright4765
    @paulwright4765 5 років тому +3

    As always, another great video. Thank you!

  • @gasko2762
    @gasko2762 5 років тому +1

    Thank you so much for this tutorial. Very excellent video.

  • @dieterrahn2720
    @dieterrahn2720 4 роки тому

    Many thanks for sharing your expirience with us!

  • @ModestMaker
    @ModestMaker 4 роки тому

    Thanks for the code and the tutorial which helped me solve a challenging problem. Your information is acknowledged in code and information I've posted on my own channel; most helpful!

  • @rickcook5335
    @rickcook5335 5 років тому +1

    Great video. Really helped me with my arduino adventure

  • @p.g.pg38
    @p.g.pg38 5 років тому +1

    Thanks a lot for this video (and for the futures) and thank you for the full article which is essential for those whose English is not the native language.😜

  • @Christoph1888
    @Christoph1888 3 роки тому

    Your just such a good teacher!

  • @khulekanindlovu2773
    @khulekanindlovu2773 4 роки тому

    Good video, quality and thoroughness

  • @patrickmaartense7772
    @patrickmaartense7772 5 років тому

    very good video idneed
    I have used i2c using two times a 10ft cable without any issue.
    I am using now several devices all connected via in total 6x 1 FT cable

  • @PhG1961
    @PhG1961 5 років тому

    Excellent video and crystal clear explained ! Well done !

  • @3nagib
    @3nagib 5 років тому +1

    Another great video.thanks again
    Waiting for the next one

  • @retronexusnet
    @retronexusnet 5 років тому +1

    Great Series!!! Please continue the great work!!

  • @BluCasper
    @BluCasper 5 років тому

    wow. amazing. the best video on i2C. sir please make a video on SPI. waiting for your new videos

  • @moritzhekeler2839
    @moritzhekeler2839 4 роки тому

    Hey,
    Great Video, but i don`t understand the sketch shown in 22:25.
    There isn`t anything in the loop, changing the value of rd, so rd (and br) would have the value, it got in the setup?
    Sorry for my english, hope you can help me (:

  • @hadireg
    @hadireg 5 років тому +1

    Great teaching skills & content quality! 👍👍 jus a tiny detail: NXP, Philips has a single L...
    Thank you sir!

  • @SHANUSHAH
    @SHANUSHAH 5 років тому +1

    Well presented again , cool video.

  • @thecraftsman8083
    @thecraftsman8083 4 роки тому

    Best tutor online!

  • @matztron1872
    @matztron1872 4 роки тому

    Good pacing and great introduction into I2C. Thanks!

  • @Ninjamstrboy
    @Ninjamstrboy 5 років тому +2

    Great work! Thank you for the beautiful video.

  • @nalinux
    @nalinux 4 роки тому

    Thanks, it's very clear and easy to understand.

  • @tazcurrier2193
    @tazcurrier2193 4 роки тому +1

    Very good video! I am just getting in to the I2C buss usage, and I have a few questions, you MAY already have a video on Now, I am somewhat a beginner, so pardon my ignorance. My question is, I want to use a longer distance between masters, and slaves. What chip set(LINE DRIVERS), to facilitate this?
    Many thanks, and I look forward to your answer!
    Taz...

  • @mtalhakhalid1679
    @mtalhakhalid1679 3 роки тому

    Best videos ever sir keep that awosm work❣💓

  • @oussamathedjfreeman
    @oussamathedjfreeman 3 роки тому

    youtube should change thumbs up with heart only for you::: thank you very much::: need more about arduino

  • @peterkrause7700
    @peterkrause7700 Місяць тому

    Hi. Great video, Well explained. Thank you. Should there be pullup resistors for stability of the I2C? i.e 4k7 to +5V?

  • @MyJaniu
    @MyJaniu 2 роки тому

    Wielkie dzięki za konkretną informację . Pozdrawiam.

  • @zebratangozebra
    @zebratangozebra 5 років тому

    Very cool and excellently demonstrated.

  • @chigypt
    @chigypt 5 років тому

    Niice Video again, very good work DroneBot

  • @terrybailey2769
    @terrybailey2769 3 роки тому +3

    Thank you for the great videos. Everything explained in great detail but nice and simply. Can I ask what software do you use for drawing your diagrams with the nice animation of the lines representing connection being drawn. Thanks again.

  • @Lorenzo0077
    @Lorenzo0077 5 років тому +1

    your videos are really interesting and well explain, thanks !

  • @ahajet3450
    @ahajet3450 3 роки тому

    thank you for your effort , It is a wonderful video

  • @dsbohra
    @dsbohra 2 роки тому

    Excellent explanation.

  • @marknailis
    @marknailis 2 роки тому

    Excellent explanation

  • @pituspete
    @pituspete 4 роки тому +1

    Never heard anyone refer to I²C as "I two C" - to me it was always an "I squared C" - and "I too C" that you've mentioned it in your video ;)

    • @frankcole3196
      @frankcole3196 4 роки тому

      I2C; IsquaredC; TTL; TsquaredL - how you say it depends upon who taught it to you and preferences. It has hitherto been ItwoC to me when I worked in private enterprise but now I work for a University the preference there is IsquaredC ... and I'm thinking that maybe this is a pedagogical preference ... certainly sounds more scientific when you put a 'squared' into a sentence doesn't it? Anyhow I'm going with the flow and either moniker will do for me.

    • @pituspete
      @pituspete 4 роки тому

      @@frankcole3196 Personally, I don't know what the gain is from using 2 instead of a second I, as in IIC?
      And I'v only used TTL as Transistor-Transistor Logic ... maybe a bit as Time To Live ... never seen it as T2L with or with a superscript but there are so many possible phrases abbreviated to TTL that I may have missed a ton ;)

  • @Kingzila2
    @Kingzila2 5 років тому +2

    Excellent video! Thank you so much for making this tutorial, it really helped me!

  • @JonBck
    @JonBck 4 роки тому

    Nice video. Exactly what I was looking for. Thanks!!!

  • @newburypi
    @newburypi 5 років тому

    Great one! Clearified some questions I had on using wire. Thanks.

  • @GAURON123
    @GAURON123 4 роки тому

    Better than my private university micro controller teacher

  • @gordonhope9219
    @gordonhope9219 4 роки тому +1

    I realize I am seeing this video long after it was produced, but nonetheless, an excellent video! You cover the essentials and calmly explain why things are done the way they are - very good style for passing along information :-)

  • @AhmadAsmndr
    @AhmadAsmndr 4 роки тому

    thank you very much your Videos are the best.

  • @bigheat86
    @bigheat86 5 років тому

    nice one. always wanted to know more about I2C

  • @marcofe82
    @marcofe82 4 роки тому

    Really excellent video! Great job and thank you so much!

  • @anibalvilelarj
    @anibalvilelarj 5 років тому

    Congratulations ! It is a very useful video for me. I would like to communicate 4 Arduinos by I2C. One master, e three slaves. The master will send 4 bytes(the same bytes), for all 3 slaves, and then, it will request 2 bytes form each slave. They will be at 50cm longer at the maximum distance. I would like to use I2C @ 400Hz, if it is possible. I heard about a way to broadcast those 4 bytes for all 3 slaves at once time. I loved this video. It is my first step on that direction. Thank you !

  • @turanyasar3375
    @turanyasar3375 3 роки тому

    Ur literally a legend.

  • @educlub4u
    @educlub4u 4 роки тому +1

    please make a tutorial on spi communication

  • @vistaoussama
    @vistaoussama 3 роки тому +1

    how you did open 2 serial monitor at the same time

  • @electronic7979
    @electronic7979 5 років тому +1

    Useful video 👍 very good

  • @ukwerna
    @ukwerna 5 років тому

    Hope all is well, thanks, as always!