Это видео недоступно.
Сожалеем об этом.
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...
Your videos are really great! Keep up this awesome work.
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
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.
Informative video! Good work mate!
Love these hardware type videos 😁
Is it possible to get data from the bus? Like temperature, load, voltages, etc.
Nicely explained, thanks.
You can use vga port also. Thanks for sharing :)
Thanks for the tip :) I will try it.
You are Welcome.
And DVI and HDMI
@@benargee yes you right
@@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.
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 :)
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 ;)
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
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? ;)
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
Directly connecting to I2C lines is dangerous for the motherboard. We need a buffer between the I2C inside the PC and external I2C devices!
For example Hot-Swap I2C Buffer TCA4307. Or PCA9515A Dual Bidirectional I2C Bus/SMBus Repeater Module.
Can you bring videos about reading i2c of mpu9250
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.
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 ;)
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.
@@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.
Cool
can I use USB to mini pcie?
You might as well use a usb to gpio then
Dont short wire any Woltages
This is always a good tip, but here it can mean a fried mainboard :p That's why I am using an old PC ;)
Hello good, what is your email? I would like to ask you some questions that I have
You can find it in my Website: gnu-linux.rocks It is: johannes@gnu-linux.rocks
@@johannes4gnu_linux96 you've misspelled liNux in link ;)
@@lis6502 thank you, I have corrected my comment.