Это видео недоступно.
Сожалеем об этом.

Tutorial: Access the I2C Bus on any Desktop PC (The SMBus)

Поделиться
HTML-код
  • Опубликовано: 4 май 2022
  • #Tutorial #GNU #Linux #I2C #Programming
    In this video I will show you how to access I2C devices from a Desktop PC with a PCIe slot running GNU/Linux. Enjoy!
    Here is a video where I show how you can access the I2C bus with a C program:
    • Tutorial: Access the I...
    Here you can find the code:
    github.com/Joh...
    You want to support my work? You can buy me a coffee here: www.buymeacoff...
    If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
    Here is the link to the sources:
    github.com/Joh...

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

  • @husnifaiz656
    @husnifaiz656 2 года назад +2

    Your videos are really great! Keep up this awesome work.

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

    ur videos are super interesting, keep up the good work !
    I bought you a coffee but forgot the message ^^ so here it is
    also it would be super nice if u just ran your audio through an anti static noise filter like u can find on many audacity plugins to make it way cleaner

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  2 года назад +2

      Thank you for the coffee and te tip with the audio. :) Maybe I will try it next time. Normally I just upload the video as they were after recording without any cutting or audio improvements. But I guess, I should give it a try.

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

    Informative video! Good work mate!

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

    Love these hardware type videos 😁

  • @jonayamaha3215
    @jonayamaha3215 Год назад +1

    Is it possible to get data from the bus? Like temperature, load, voltages, etc.

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

    Nicely explained, thanks.

  • @foo2hp
    @foo2hp 2 года назад +2

    You can use vga port also. Thanks for sharing :)

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

      Thanks for the tip :) I will try it.
      You are Welcome.

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

      And DVI and HDMI

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

      @@benargee yes you right

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

      @@foo2hp I heard that VGA and HDMI use GMBus which is again a protocol derived from I2C. So we have to probe the GMBus module. Correct me if I'm wrong.

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

    wunderbar! beste grusse aus Polen :)
    okay, my german sucks ;p
    I guess you've found nice nieche, there are plenty of lowspec obscure devices (like thin clients aka terminals) which could easily serve rpi's purposes for fraction of price :)

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

      Danke, Dir!
      No, the sentence above was 100% correct ;)
      It is always great to find ways to recycle old hardware and with GNU/Linux you can easily access the Hardware. So, you are right, often they can be used as cheap replacements for RPis. But when it comes to power consumption, a RPi is still better ;)

  • @ffff-gx7tn
    @ffff-gx7tn Год назад

    I was able to access the i2c bus on my laptop (with Intel integrated GPU) by cutting up an HDMI cable and wiring the 5v, ground, and DDC pins

  • @logipilot
    @logipilot 5 месяцев назад

    My mainboard has an SMBus header on the board. I want to do the opposite: check the pc hardware/health with an arduino and plott it on an lcd. Where do i start? ;)

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  5 месяцев назад +1

      You need to implement an I2C Master on your Arduino. Then you can access the slave devices. Then depending on the hardware you can get information. For example if you detect an SPD (EEPROM with information about the PC's RAM), you can take a look the its content like described here: en.wikipedia.org/wiki/Serial_presence_detect

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

    Directly connecting to I2C lines is dangerous for the motherboard. We need a buffer between the I2C inside the PC and external I2C devices!

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

      For example Hot-Swap I2C Buffer TCA4307. Or PCA9515A Dual Bidirectional I2C Bus/SMBus Repeater Module.

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

    Can you bring videos about reading i2c of mpu9250

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

    Not all motherboards have the SMbus connected to PCIe connectors. Usually on workstation and server boards it it connected, but consumer boards might not have it.

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  2 года назад +2

      Yes, you are right. Once I saw a computer, where you had to add 0Ohm Resistors to connect the SMBus to the PCIe connectors. But from 4 computers I have checked, on 3 the SMBus was availble ;)

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

      Boards with socketed RAM will have SMBus to read the SPD-EEPROM data which is defined in the JEDEC standards. You can use a RAM breakout board to expose the bus.

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

      @@johannes4gnu_linux96 Also I think it's common to have SMBus connected to the M.2 slots. I think it's non-optional for M and B key.

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

    Cool

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

    can I use USB to mini pcie?

    • @lavacat720
      @lavacat720 5 месяцев назад

      You might as well use a usb to gpio then

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

    Dont short wire any Woltages

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  Год назад +1

      This is always a good tip, but here it can mean a fried mainboard :p That's why I am using an old PC ;)

  • @JuanGomez-bu4bm
    @JuanGomez-bu4bm 2 года назад +1

    Hello good, what is your email? I would like to ask you some questions that I have

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

      You can find it in my Website: gnu-linux.rocks It is: johannes@gnu-linux.rocks

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

      @@johannes4gnu_linux96 you've misspelled liNux in link ;)

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

      @@lis6502 thank you, I have corrected my comment.