How to use multiple i2c devices on the same bus with the Arduino

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 40

  • @pietchavalala7351
    @pietchavalala7351 Год назад +2

    Thanks. This is exactly what I needed. (Note: pull up resistors its already there) .

  • @berniemukonesi2684
    @berniemukonesi2684 2 года назад +5

    This is the video I've been looking for!!
    Thanks

  • @myinfo7114
    @myinfo7114 5 лет назад +2

    Use the photon-pixel coupling method, it is a new approach in science for reading an unlimited number of sensors in parallel. Maybe you can do it with an Arduino. From what I know it supports a cam.

  • @beacdc
    @beacdc 6 месяцев назад

    nice video! I was searching for this as I'm also going to use an RTC i2c with a i2c LCD. BTW, just wanted to point out that most of the i2c devices boards already have the pull-up resistors on them so no need to wire that.

    • @mansirajput4224
      @mansirajput4224 3 месяца назад

      I also i wanted to do same but does Arduino uno board comes with pull-up resistors ? I really didnt understand how to do this whole shit. It would be really helpful if you give me a short summary for connecting multiple i2c device rtc module and a display

  • @ecsyntric
    @ecsyntric 2 месяца назад

    since SCL and SDA are supposed to be common to all devices why not put the yellow and blue wires into the open power rail on the other side? unless both power rails are already connect together internally

  • @sashidharanp.m.sreeadharan9129
    @sashidharanp.m.sreeadharan9129 5 лет назад +4

    Straight and simple.

  • @TheRealMoviePastor
    @TheRealMoviePastor 4 года назад +1

    Awesome. I also need to connect a display and rtc for a project. Now I know how. Thanks!

  • @AJDJ108
    @AJDJ108 7 месяцев назад

    Thanks sir for explaining better 🙏

  • @Ian-Threaded
    @Ian-Threaded 5 лет назад +5

    I’m trying to use two of the exact same sensor. Have you ever done that?

    • @Ian-Threaded
      @Ian-Threaded 5 лет назад +1

      Great video by the way. Thanks for making it

  • @neerajhebbar7313
    @neerajhebbar7313 5 лет назад +4

    We dont need pull up resistors its already their on the modules i think

  • @upcycleengineer7825
    @upcycleengineer7825 Год назад

    so I am frying displays, is it because I am not using pull up resistors?

    • @torchwork8651
      @torchwork8651 11 месяцев назад

      I would guess no. The resistors are for signals I think.

  • @qzorn4440
    @qzorn4440 2 года назад

    very very nice. 😎 a wonderful 1st or refresher I2C video. 🥳 thanks a lot 🙂🏋‍♂🐦🌲

  • @caribbeanchild
    @caribbeanchild 4 года назад

    Why do you need pullup resistors?.... when you can do it with code.... "pinMode(PIN,INPUT_PULLUP)"

  • @wayneswan3092
    @wayneswan3092 2 года назад

    I'm sorry, I'm hard of hearing. What size resistors did you say you were using for pull up resistors?

    • @Lukasz420
      @Lukasz420 Год назад

      two 10K value resistors

  • @dhruvruparelia3361
    @dhruvruparelia3361 5 лет назад +2

    can you please send the code

  • @H2ON_MEA
    @H2ON_MEA Год назад

    Thank you for share that great information

  • @tristunalekzander5608
    @tristunalekzander5608 5 лет назад +1

    What kind of resistors are those?

    • @tristunalekzander5608
      @tristunalekzander5608 5 лет назад

      This would have been a great tutorial if you had just explained the resistors.

    • @paolomaster18
      @paolomaster18 4 года назад +3

      @@tristunalekzander5608 10k ohm

  • @ezeprojects5425
    @ezeprojects5425 5 лет назад

    The OLED is really flickering. I've used OLED before, singly, and no flicker like that. Suppose it's because it's sharing the I2C? Probably so.

    • @taufanali3170
      @taufanali3170 4 года назад

      @Garan Carter-Woodgate That OLED works at 3.3V no? Hooking it with 5 V supply would wreck it no?

  • @mantanitchannel
    @mantanitchannel 3 года назад

    can you share the codes ?

  • @amirhoseinaz1969
    @amirhoseinaz1969 4 года назад

    Thanks

  • @3d_idea800
    @3d_idea800 5 лет назад

    Good video :)

  • @rolandberendonck3900
    @rolandberendonck3900 5 лет назад

    Great :)

  • @Benmaluco9
    @Benmaluco9 4 года назад

    Obrigado

  • @caribbeanchild
    @caribbeanchild 4 года назад

    Maybe you shouldn't be doing this if you don't know what a pull-up resistor does! Doesn't give much confidence that you actually know what you are doing.

    • @garagegeekguy
      @garagegeekguy  4 года назад +17

      You do it then. Starting a RUclips channel is free. Do it

  • @CodeXBro
    @CodeXBro 5 лет назад

    thanks