I2C Protocol - How to program any I2C device without libraries | Arduino and MPR121

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

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

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

    If you guys have any trouble understanding, or problem with using your I2C device. Join my discord server so we can discuss on it.
    discord.gg/TpUg6dMVE8

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

    This is exactly what I want to have. Thank you

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

    This was very helpful. I was able to actually control an audio chip! Thanks!

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

      Glad to be of help! Btw, may i know what kind of audio project were you working on?

  • @abhinilbose24
    @abhinilbose24 2 года назад +1

    Thanks for the video. I am going to use it for shrinking my SHT35 humidity and temperature sensor project to ATtiny85

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

    Автор видео мололец. Благодаря этому я смог таки разобратся в управлении с mpr121.

  • @filipesiegrist
    @filipesiegrist 3 месяца назад +1

    Thanks for the tutorial but, when I read "without libraries" on the title i was tricked thinking you would use arduino internal I2C registers

  • @mohammadqayyum4981
    @mohammadqayyum4981 Месяц назад

    Hi, I bought a distance sensor from china which communicates through I2C. There is not internal arduino library for the sensor so I just use the wire library. The seller claims that there is no need for any external library and just Direct communication to arduino microcontroller. It does not give the reading that I require. Could you help to identify the problem

  • @kingtamil82
    @kingtamil82 2 года назад +1

    Awesome tutorial and especially helpful for those branching out of Adruino's hobby kits. I have one question though, how do you do bit shifting, when the LSB is read before the MSB when you do a Wire.requestFrom?

    • @syahrulzahwan
      @syahrulzahwan  2 года назад +1

      34:13 is an example of that, since the first wire.read() is the LSB according to the register map, you don't have to shift it. When you merge it with the second wire.read() (the MSB) with OR (|)... so you include the shifting operation (

    • @kingtamil82
      @kingtamil82 2 года назад +1

      @@syahrulzahwan thanks alot...this is very easy to understand...

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

    Thx for the video

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

      No prob, great to know its helpful.

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

      ​@@syahrulzahwanDonate me ur Graal Era account

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

    very informative video, thanks a lot. could you do one for SPI protocol without library as well please?

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

      I will try... Got any suggestion for the device to use?

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

      @@syahrulzahwan MPU9250 would be a good example imo

    • @Omar-ic3wc
      @Omar-ic3wc 2 года назад

      Arduino nano

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

    You have a discord??